Using exception information
Abstract
A method of using exception information for binary code. The method comprises: receiving exception information relating to an exception occurring during execution of binary code, the exception information including a code reference identifying a function executing while the exception occurred, and a line number for that function. The method also comprises: accessing intermediate code using the code reference and the line number to obtain intermediate code fragments; converting the intermediate code fragments to a source code approximation; and providing the source code approximation and function name to a log for subsequent analysis.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 36 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of using exception information for binary code, the method comprising: compiling an original source code into an intermediate code assembly; generating binary code from the intermediate code assembly; executing the binary code; monitoring, by the operating system, the execution of the binary code; when an exception has occurred, creating, by the binary code, an exception object containing information related to the exception, the information including a code reference identifying a function name and a string representation of a call stack at the time the exception was thrown, wherein
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 (36)
Non-Patent Literature (5)
- Attardi, Giuseppe et al. "CodeBricks: Code Fragments as Building Blocks", Jun. 7, 2003, ACM.
- Cabral, Bruno, et al. "Hidden truth behind. NET's exception handling today." 2007. IET software 1.6: pp. 233-250.
- Dawson, Dylan et al. "Monitoring in Adaptive Systems using Reflection", May 12, 2008, ACM.
- Emmerik, M. V.et al. "Using a decompiler for real-world source recovery." 2004. Reverse Engineering. 11th Working Conference on. IEEE.
- Miecznikowski, Jerome et al. "Decompiling Java using staged encapsulation." 2001. Reverse Engineering. Proceedings. Eighth Working Conference on. IEEE.