Patents
US 10,423,397 B2#61673625 Most CitedActiveUnited States (USPTO)Utility

Systems and/or methods for type inference from machine code

1Forward Citations (#61673625 Global)
0.1/yrCitation Velocity (#40758592 Global)
0.74Citation PageRank (#61673625 Global)
25Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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)

References Cited — Backward Prior Art (25)

PatentTitleYearCitations
US 5,339,419 AANDF compiler using the HPcode-plus compiler intermediate language1994119
US 5,488,727 AMethods to support multimethod function overloading with compile-time type checking199673
US 6,202,202 B1Pointer analysis by type inference for programs with structured memory objects and potentially inconsistent memory object accesses200143
US 2004205742 A1Methods for enhancing flow analysis—14
US 2006005138 A1Template driven type and mode conversion—13
US 2006048095 A1Local type alias inference system and method—40
US 2006242628 A1An extensible type system for representing and checking consistency of program components during the process of compilation—16
US 2008208774 A1Ontology system for context-aware, method thereof, and recording medium storing the same—29
US 2008282238 A1Static type for late binding—37
US 2008320453 A1Type inference and late binding—33
US 2009144690 A1System and method for converting software to a register transfer (rtl) design—34
US 2010169868 A1Unifying Type Checking and Property Checking for Low Level Programs—21
US 2010242017 A1Inferring missing type information for reflection—29
US 2011314459 A1Compiler with user-defined type inference rules—30
US 2012005660 A1Type Inference of Partially-Specified Parameterized Types—34
US 2013205286 A1Runtime optimization using meta data for dynamic programming languages—66
US 8,789,012 B1System and method for automatically generating computer code to obtain data from devices optionally using a web services interface20149
US 2015186116 A1Method, apparatus, and computer program for specializing serializer—4
US 9,135,027 B1Code generation and execution for dynamic programming languages20156
US 2016004548 A1Notification conversion program and notification conversion method—11
US 2016299747 A1Programming system and language for application development—2
US RE46380 EType inference for datalog with complex type hierarchies20173
US 2017131982 A1Type inference optimization—3
US 2017147303 A1Verified compilation of reversible circuits—39
US 2018173506 A1Compiler with type inference—4

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.