Systems and/or methods for type inference from machine code
Abstract
Systems, methods and computer readable medium described herein relate to techniques for automatic type inference from machine code. An example technique includes receiving a machine code of a program, generating an intermediate representation of the machine code, generating a plurality of type constraints from the intermediate representation, generating one or more inferred types based at least upon the plurality of type constraints, converting the generated inferred types to C types, updating the intermediate representation by applying the inferred types to the intermediate representation, and outputting said inferred types, said converted C types, and/or at least a portion of the updated intermediate representation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method performed by at least one processor to infer types from a program, the method comprising: receiving a machine code of the program; generating an intermediate representation of the machine code; generating a plurality of type constraints from the intermediate representation; generating, based at least upon the plurality of type constraints, one or more inferred types; converting the generated inferred types to C types; updating the intermediate representation by applying the inferred types to the intermediate representation; and outputting said inferred types, said converted C types, a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,698,791 B2 | Handling request data with type safety in a remote service | 2020 | 2 |
References Cited — Backward Prior Art (25)
Non-Patent Literature (5)
- “Information Technology—Programming Languages—Technical Report on C++ Library Extensions,” ISO/IEC TR 19768, Nov. 2007, 200 pages.
- “Scalable Variable and Data Type Detection in a Binary Rewriter,” retrieved Dec. 21, 2016, 10 pages.
- Arnaud Carayol et al., “Saturation Algorithms for Model-Checking Pushdowns Systems,” retrieved Dec. 21, 2016, 24 pages.
- Aseem Rastogi et al., “The Ins and Outs of Gradual Type Inference”, [Online], 2012, pp. 481-494, [Retrieved from Interent on Apr. 22, 2019], <http://www.cs.umd.edu/˜aseem/grad_ti.pdf>.
- Asia Slowinska et al., “Howard: A Dynamic Excavator for Reverse Engineering Data Structures,” In Network and Distributed System Security Symposium, retrieved Dec. 21, 2016, 20 pages.