Dynamic call tracking method based on CPU interrupt instructions to improve disassembly quality of indirect calls
Abstract
Embodiments presented herein describe techniques to track and correct indirect function calls in disassembled object code. Assembly language source code is generated from a binary executable object. The assembly language source code may include indirect function calls. Memory addresses associated with the function calls are identified. A central processing unit (CPU) interrupt instruction is inserted in the disassembled source code at each indirect function call. The disassembled source code is executed. When the interrupt at each indirect function call is triggered, the function name of a function referenced by a register may be determined.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for disassembling compiled object code, the method comprising: disassembling a binary executable object to generate assembly language source code, wherein the assembly language source code includes one or more indirect function calls and wherein each indirect function call corresponds to a function dynamically identified using an address identified when executing the assembly language source code; converting one or more of the indirect function calls to one or more central processing unit (CPU) interrupt instructions; executing the assembly language source code; upon reaching the inte
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗