node/lib/metasm/metasm/debug.rb
# called in the context of the target when a bpx is to be initialized
# may (lazily) initialize b.emul_instr for virtual singlestep
called in the context of the target when a bpx is to be initialized
may (lazily) initialize b.emul_instr for virtual singlestep
called in the context of the target when a bpx is to be initialized may ( lazily ) initialize b . emul_instr for virtual singlestep
def init_bpx(b)
		return if b.oneshot and not b.condition
		di = init_bpx_disassemble(b.address)
		b.hash_shared.each { |bb| bb.emul_instr = di }
	end
def init_bpx ( b ) return if b . oneshot and not b . condition di = init_bpx_disassemble ( b . address ) b . hash_shared . each { | bb | bb . emul_instr = di } end
called in the context of the target when a bpx is to be initialized
may (lazily) initialize b.emul_instr for virtual singlestep
called in the context of the target when a bpx is to be initialized may ( lazily ) initialize b . emul_instr for virtual singlestep
# dont bother setting stuff up if it is never to be used # lazy setup of b.emul_instr: delay building emulating lambda to if/when actually needed # we still need to disassemble now and update @disassembler, before we patch the memory for the bpx
b