node/lib/metasm/samples/dbg-plugins/trace_func.rb
def trace_func_add_block(id, blockaddr)
	@trace_func_counter[id] += 1
	if di = disassembler.di_at(blockaddr)
		di.add_comment "functrace #{@trace_func_counter[id]}"
	end
end
# a new block is added to a trace
a new block is added to a trace
a new block is added to a trace
def trace_func_add_block(id, blockaddr)
	@trace_func_counter[id] += 1
	if di = disassembler.di_at(blockaddr)
		di.add_comment "functrace #{@trace_func_counter[id]}"
	end
end
def trace_func_add_block ( id , blockaddr ) @trace_func_counter [ id ] += 1 if di = disassembler . di_at ( blockaddr ) di . add_comment "functrace #{@trace_func_counter[id]}" end end
a new block is added to a trace
a new block is added to a trace
id
blockaddr