System and methods for live debugging of transformed binaries
US11693760B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Dec 21, 2021 |
| Grant date | Jul 4, 2023 |
| Priority date | — |
| Expiry date | Dec 21, 2041 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F11/3628
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method, system, or apparatus to debug software that is reorganized in memory is presented. An interactive debugging session is established with an executable code component corresponding to a packed binary file includes machine code that corresponds to blocks of original source code. A randomly reorganized layout of the machine code is generated in memory based on a transformation defined in a function randomization library. An in-memory object file is created by using a debug data component corresponding to the packed binary file. The debug data component includes symbol table information to debug the blocks of the original source code generated prior to the randomly reorganized layout. The symbol table information is updated based on the randomly reorganized layout of the machine code, and the debugger program is instructed to load the in-memory object file with the updated symbol information to debug the blocks of the original source code.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.