Debugging optimized code using FAT binary
Abstract
Embodiments of the present invention provide a method, computer program product, and system for debugging optimized code. The system includes a FAT binary, wherein the FAT binary comprises a non-optimized native code and an internal representation of a program's source code. An optimus program is configured to transform the internal representation of the program's source code into a fully optimized native code. The system also includes an enhanced loader, wherein the enhanced loader is configured to communicate with a debugger to determine a type of code to load.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for debugging optimized code, the method comprising the steps of: in response to receiving a source code of a program, generating, by one or more processors, a FAT binary, wherein the FAT binary contains a binary and an intermediate code; determining, by one or more computer processors, whether a debugger is enabled; in response to determining that the debugger is not enabled, passing, by one or more computer processors, the intermediate code to a program; in response to passing, by one or more computer processors, the intermediate code to the program, generating, by the program, an o
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (30)
Non-Patent Literature (5)
- "Appendix P: List of IBM Patents or Patent Applications Treated as Related", 2017, pp. 1-2.
- Anand et al, "A Compiler-level Intermediate Representation based Binary Analysis and Rewriting System", ACM, pp. 295-308, 2013.
- Drinic et al, "Code optimization for code compression" IEEE, pp. 315-324, 2003.
- Grimmer et al, "An Efficient Native Function Interface for Java", ACM, pp. 35-44, 2013.
- Hölzle et al., "Debugging Optimized Code with Dynamic Deoptimization", ACM SIGPLAN '92 Conference on Programming Language Design and Implementation, San Francisco, Jun. 1992, pp. 1-12.