发明名称 AUTOMATIC DETERMINATION OF COMPILER CONFIGURATION
摘要 Methods, systems, and apparatus, including computer programs encoded on computer storage media, for automatically determining configuration properties of a compiler. One of the methods includes determining that an executable of the newly created process is a compiler called by the build system to compile source code of a source code file. In response to the determining, a plurality of configuration properties of the compiler called by the build system are determined, the configuration properties including first properties of a plurality of built-in functions of the compiler, second properties of a plurality of built-in types of the compiler, or both. A compiler emulator is configured to emulate the behavior of the compiler called by the build system using the determined configuration properties. Access to the source code is provided to the compiler emulator configured using the determined configuration properties.
申请公布号 US2017090885(A1) 申请公布日期 2017.03.30
申请号 US201514869334 申请日期 2015.09.29
申请人 SEMMLE LIMITED 发明人 Cawley Peter
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 代理人
主权项 1. A computer-implemented method comprising: initiating a first classification process for a first executable, wherein the first classification process performs a test compilation by invoking the first executable with a test compilation file; intercepting a request to execute a second executable in a second newly created process invoked due to the test compilation being performed by the first classification process; initiating a second classification process for the second executable including invoking the second executable with the test compilation file; determining, by the second classification process for the second executable, that no other classification process recorded an indication that another classification process was invoked during a test compilation performed by the second classification process; in response, classifying the second executable as a compiler; determining, by the second classification process, that the second classification process was invoked with a reference to the test compilation file; in response, recording an indication that the second classification process was invoked with the reference to the test compilation file; determining, by the first classification process, that the second classification process recorded the indication; and in response, classifying the first executable as a wrapper that wraps the compiler.
地址 Oxford GB