search for: bb_entry

Displaying 1 result from an estimated 1 matches for "bb_entry".

Did you mean: rb_entry
2017 Jun 21
2
question about llvmlite
...vex CODE = b"\x55\x48\x8b\x05\xb8\x13\x00\x00"mehran = -100 llvm.initialize()llvm.initialize_native_target()llvm.initialize_native_asmprinter() module = ll.Module()func_ty = ll.FunctionType(ll.VoidType(), [])func = ll.Function(module, func_ty, name='read_instructions')a = func.argsbb_entry = func.append_basic_block('entry')irbuilder = ll.IRBuilder(bb_entry)int_type = ll.IntType(64);irsb = pyvex.block.IRSB(CODE, 0x400400, archinfo.ArchAMD64()) for stmt in irsb.statements: #if isinstance(pyvex.IRStmt.Store): with irbuilder.if_then(stmt, pyvex.IRStmt.Store): t = i...