node/lib/metasm/metasm/cpu/ia32/decode.rb
# returns a DecodedFunction suitable for :default
# uses disassembler_default_bt{for/bind}_callback
returns a DecodedFunction suitable for :default
uses disassembler_default_bt{for/bind}_callback
returns a DecodedFunction suitable for : default uses disassembler_default_bt { for / bind } _callback
def disassembler_default_func
		esp = register_symbols[4]
		cp = new_cparser
		cp.parse 'void stdfunc(void);'
		f = decode_c_function_prototype(cp, 'stdfunc', :default)
		f.backtrace_binding[esp] = Expression[esp, :+, :unknown]
		f.btbind_callback = disassembler_default_btbind_callback
		f.btfor_callback  = disassembler_default_btfor_callback
		f
	end
def disassembler_default_func esp = register_symbols [ 4 ] cp = new_cparser cp . parse 'void stdfunc(void);' f = decode_c_function_prototype ( cp , 'stdfunc' , :default ) f . backtrace_binding [ esp ] = Expression [ esp , :+ , :unknown ] f . btbind_callback = disassembler_default_btbind_callback f . btfor_callback = disassembler_default_btfor_callback f end
returns a DecodedFunction suitable for :default
uses disassembler_default_bt{for/bind}_callback
returns a DecodedFunction suitable for : default uses disassembler_default_bt { for / bind } _callback