node/lib/metasm/metasm/disassemble_api.rb
# yields every InstructionBlock
# returns the list of IBlocks
yields every InstructionBlock
returns the list of IBlocks
yields every InstructionBlock returns the list of IBlocks
def each_instructionblock(&b)
		ret = []
		@decoded.each { |addr, di|
			next if not di.kind_of? DecodedInstruction or not di.block_head?
			ret << di.block
			b.call(di.block) if b
		}
		ret
	end
def each_instructionblock ( & b ) ret = [ ] @decoded . each { | addr , di | next if not di . kind_of? DecodedInstruction or not di . block_head? ret << di . block b . call ( di . block ) if b } ret end
yields every InstructionBlock
returns the list of IBlocks
yields every InstructionBlock returns the list of IBlocks
b