sys.stdout.write("Performing initial analysis... %d\r" % cnt) engine.analyze(_progress) print() #engine.print_address_map() if args.script: for script in args.script: call_script(script) if args.save: saveload.save_state(project_dir) sys.exit() addr_stack = [] if os.path.exists(project_dir + "/session.addr_stack"): addr_stack = saveload.load_addr_stack(project_dir) print(addr_stack) show_addr = addr_stack.pop() else: if ENTRYPOINTS: show_addr = ENTRYPOINTS[0][1] else: show_addr = engine.ADDRESS_SPACE.min_addr() t = time.time() #_model = engine.render() _model = engine.render_partial_around(show_addr, 0, HEIGHT * 2) print("Rendering time: %fs" % (time.time() - t)) #print(_model.lines()) #sys.exit()
sys.stdout.write("Performing initial analysis... %d\r" % cnt) engine.analyze(_progress) print() #engine.print_address_map() if args.script: for script in args.script: call_script(script) if args.save: saveload.save_state(project_dir) sys.exit() addr_stack = [] if os.path.exists(project_dir + "/session.addr_stack"): addr_stack = saveload.load_addr_stack(project_dir) print(addr_stack) show_addr = addr_stack.pop() else: if ENTRYPOINTS: show_addr = ENTRYPOINTS[0][1] else: show_addr = engine.ADDRESS_SPACE.min_addr() t = time.time() #_model = engine.render() _model = engine.render_partial_around(show_addr, 0, HEIGHT * 2) print("Rendering time: %fs" % (time.time() - t)) #print(_model.lines()) #sys.exit()