miasm
Reverse engineering framework
|
Namespaces | |
export_llvm | |
Variables | |
export_llvm.parser = ArgumentParser("LLVM export example") | |
export_llvm.help | |
export_llvm.args = parser.parse_args() | |
export_llvm.loc_db = LocationDB() | |
export_llvm.cont = Container.from_stream(open(args.target, 'rb'), loc_db) | |
export_llvm.machine = Machine(args.architecture if args.architecture else cont.arch) | |
export_llvm.ir = machine.ir(loc_db) | |
export_llvm.dis = machine.dis_engine(cont.bin_stream, loc_db=loc_db) | |
export_llvm.asmcfg = dis.dis_multiblock(int(args.addr, 0)) | |
export_llvm.ircfg = ir.new_ircfg_from_asmcfg(asmcfg) | |
export_llvm.context = LLVMContext_IRCompilation() | |
export_llvm.ir_arch | |
export_llvm.func = LLVMFunction_IRCompilation(context, name="test") | |
export_llvm.ret_type | |
export_llvm.all_regs = set() | |
export_llvm.elem = src.union(set([dst])) | |
dictionary | export_llvm.reg2glob = {} |
export_llvm.data = context.mod.globals.get(str(var), None) | |
export_llvm.initializer | |
export_llvm.value = func.builder.load(data) | |
export_llvm.name | |
export_llvm.append_ret | |