Identifying source code used to build executable files
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for identifying source code used to build executable. One of the methods includes determining that a first newly created process is a compiler, the compiler being invoked to compile a source code file; after the compiler exits, generating a first hash value of an object file generated by the compiler; generating an object artifact that identifies the source code file and includes the first hash value of contents of the object file generated by the compiler; determining that the second newly created process is a linker, the linker being invoked to generate an executable file from one or more object files; generating a link artifact that includes respective hash values of each of the one or more object files used to generate the executable file; and providing the link artifact and object artifact to a static analysis system.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of associating an executable file with one or more source code files used to generate the executable file, the method comprising: intercepting a first request to an operating system function, wherein the intercepted first request identifies a first executable to be executed in a first newly created process; determining that the first executable identified by the intercepted first request is a compiler, the compiler being invoked to compile a source code file and generate an object file; invoking the compiler to compile the source code file into the object file; af
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 11,429,383 B2 | Method, device, and program product for managing development job in development environment | 2022 | 0 |
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- “Apache Commons BCEL—Byte Code Engineering Library”, Feb. 18, 2014, retrieved from the Internet on Dec. 23, 2014 at http://commons.apache.org/proper/commons-bcel/manual.html, 17 pages.
- Chapman, Ryan A., “Bypassing snoopy logging”, Apr. 15, 2011, retrieved from the Internet on Dec. 23, 2014 at http://blogschapman.org/post/4921812115/bypassing-snoopy-logging, 5 pages.
- De Shutter, "Automated architectural reviews with Semmle," 2012 28th IEEE International Conference on Software Maintenance (ICSM), Sep. 23, 2012, pp. 557-565, XP032299523.
- European Search Report issued in European Application No. 15200803.3 dated Mar. 30, 2016, 5 pages.
- KRIS DE SCHUTTER: "Automated architectural reviews with Semmle", SOFTWARE MAINTENANCE (ICSM), 2012 28TH IEEE INTERNATIONAL CONFERENCE ON, IEEE, 23 September 2012 (2012-09-23), pages 557 - 565, XP032299523, ISBN: 978-1-4673-2313-0, DOI: 10.1109/ICSM.2012.6405320