Sharding program compilation for large-scale static analysis
Abstract
A system, method, and computer-readable medium for static analysis of large-scale computer programs that uses a compiler to shard the computer programs by source files. Original compilation information is received for one or more groups of source files that reference modules in module containers. The compiler is run to determine a set of modules in the module containers and other source files that are referenced by a source file of the groups of source files. The compilation information is modified on the basis of the source file, the set of modules and the referenced source files. Static analysis is performed on the source file using the modified compilation information. Static analysis is efficiently performed over large-scale computer programs.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method performed by one or more processors, comprising: receiving original compilation information, including one or more groups of source files and a module path that identifies a location of module containers, the one or more groups of source files referencing modules in the module containers; running a compiler to determine a set of modules in the module containers that are referenced by a single source file of the groups of source files and to determine other source files that are referenced by the single source file, the step of running the compiler including: building a modified set of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (30)
Non-Patent Literature (2)
- Stork, Christian H. et al., Compressed Abstract Syntax Trees for Mobile Code, 2001, CiteSeer.
- Zukowski, John, Chapter 8: The Java Compiler API , 2006, Springer.