disassembly

In python on x86-64, are the first 6 arguments typically passed on registers?

In python on x86-64, are the first 6 arguments typically passed on registers? Question: To the best of my knowledge, in low level languages such as C, it is generally advisable to keep the number of arguments to functions to 6 or lower, since then there is no need to pass arguments on the stack …

Total answers: 1

Clean Angr disassemble output

Clean Angr disassemble output Question: I’m developing a python script for Angr that has to print as output something in the form of: Instruction_disassembled opcode_bytes_of_instruction This is my python script: f = open(sys.argv[2], ‘w’) base_addr = 0x100000 p = angr.Project(sys.argv[1], auto_load_libs = False, load_options = {‘main_opts’:{‘base_addr’: base_addr}}) cfg = p.analyses.CFGFast() cfg.normalize() for func_node in cfg.functions.values(): …

Total answers: 1