Heuristic backtracer
Abstract
A heuristic backtracer is described. In one embodiment, a scanner scans a stack of an application for a pointer to a word of a machine code of the application. A preceding byte locator identifies one or more bytes immediately preceding the pointed-to machine code. A parser parses the one or more bytes immediately preceding the pointed-to machine code of the machine code for a call instruction. A return address identifier determines the pointed-to as a return address when the one or more bytes constitute the call instruction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: scanning a stack of an application for pointers into a machine code of the application; upon identifying in the machine code a pointer to a word associated with a function of the application, locating a byte immediately preceding the word in the machine code; parsing the preceding byte for an instruction; determining, via a processing device, whether the instruction in the preceding byte is a call instruction for the function; when the instruction in the preceding byte is not the call instruction for the function, determining that the word is not a return address for the f
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗