Patent ID: 9684492
Date: 2017-06-20
CPC Classifications: G06F

Claim:
1. A computer-implemented method for automatically determining configuration properties of a compiler executable invoked by a build system, the method comprising: receiving an indication of a request by a build system to execute an executable in a first newly created process; determining that the 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, determining a plurality of configuration properties of the compiler called by the build system, 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; configuring a compiler emulator to emulate the behavior of the compiler called by the build system using the determined configuration properties; and providing access to the source code to the compiler emulator configured using the determined configuration properties, wherein the compiler emulator emulates the behavior of the compiler according to the determined configuration properties of the compiler called by the build system to generate a representation of the source code.