Generating compilable machine code programs from dynamic language code
Abstract
Methods and systems describe providing a compilable machine code program from dynamic language code. First, the system receives a computer program consisting of code in a dynamic language. For each dynamic instruction within the code, the system: identifies all function calls within the code which may call the dynamic instruction; generates a super slice callgraph for all identified function calls for the dynamic instruction, including dependency relationships for instance variables and static variables within time constraints; and generates a set of slices for the dynamic instruction. The system then compiles and executes each slice to identify one or more values for each dynamic instruction. Next, the system updates the computer program such that each of at least a subset of the dynamic instructions is replaced with machine code instructions based on the corresponding values.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for generating compilable code for a computer program from dynamic language code, comprising: receiving a computer program comprising code in a dynamic language, wherein the code comprises a plurality of dynamic instructions; for each dynamic instruction within the code: identifying all function calls within the code which call the dynamic instruction; generating a super slice callgraph for the identified function calls, wherein the super slice callgraph is a callgraph of the identified function calls extended to include dependency relationships comprising variables and static variabl
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 (26)
Non-Patent Literature (3)
- Andrei Rimsa et al. “Practical dynamic reconstruction of control flow graphs”; Software Practice and Experience—vol. 51, pp. 353-384—Oct. 11, 2020.
- Yun Lin et al. “Break the Dead End of Dynamic Slicing: Localizing Data and Control Omission Bug”; Proceedings of the 2018 33rd ACM/IEEE International Conference on Automated Software Engineering (ASE '18), Sep. 3-7, 2018.
- Zhifei Chen et al. “Dynamic Slicing of Python Programs”; 2014 IEEE 38th Annual International Computers, Software and Applications Conference—2014 IEEE.