node/lib/metasm/metasm/disassemble_api.rb
def di_including(addr)
		return if not addr
		addr = normalize(addr)
		if off = (0...16).find { |o| @decoded[addr-o].kind_of? DecodedInstruction and @decoded[addr-o].bin_length > o }
			@decoded[addr-off]
		end
	end
# returns the DecodedInstruction covering addr
# returns one at starting nearest addr if multiple are available (overlapping instrs)
returns the DecodedInstruction covering addr
returns one at starting nearest addr if multiple are available (overlapping instrs)
returns the DecodedInstruction covering addr returns one at starting nearest addr if multiple are available ( overlapping instrs )
def di_including(addr)
		return if not addr
		addr = normalize(addr)
		if off = (0...16).find { |o| @decoded[addr-o].kind_of? DecodedInstruction and @decoded[addr-o].bin_length > o }
			@decoded[addr-off]
		end
	end
def di_including ( addr ) return if not addr addr = normalize ( addr ) if off = ( 0 ... 16 ) . find { | o | @decoded [ addr - o ] . kind_of? DecodedInstruction and @decoded [ addr - o ] . bin_length > o } @decoded [ addr - off ] end end
returns the DecodedInstruction covering addr
returns one at starting nearest addr if multiple are available (overlapping instrs)
returns the DecodedInstruction covering addr returns one at starting nearest addr if multiple are available ( overlapping instrs )
addr