Monitoring method and device for multi-compiler hybrid compilation for static analysis
A static analysis and compiler technology, applied in hardware monitoring, code compilation, instrumentation, etc., can solve the problems of no source file distinction, no compiler extraction, and the inability to provide solutions for multi-compiler mixed compilation projects, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] refer to figure 1 , which shows a flow chart of the steps of a static analysis multi-compiler mixed compilation monitoring method provided by an embodiment of the present invention, as shown in figure 1 As shown, the monitoring method for static analysis of multi-compiler mixed compilation may specifically include the following steps:
[0057] Step 101: Obtain the program compilation log corresponding to the program to be analyzed.
[0058] The embodiment of the present invention can be applied in the scenario of performing configurable compilation monitoring on projects compiled by multiple compilers.
[0059]The program to be analyzed refers to the source code program compiled by multiple compilers that needs to be monitored.
[0060] In some examples, the program to be analyzed may be a source code program currently written by business personnel and needs to be compiled by a compiler.
[0061] In some examples, the program to be analyzed may also be a program stor...
Embodiment 2
[0113] refer to figure 2 , which shows a schematic structural diagram of a multi-compiler mixed-compiler monitoring device for static analysis provided by an embodiment of the present invention, as shown in figure 2 As shown, the monitoring device for static analysis of multi-compiler mixed compilation may specifically include the following modules:
[0114] A program compilation log acquisition module 210, configured to acquire a program compilation log corresponding to the program to be analyzed;
[0115] Compilation command identification module 220, used to identify and obtain the compilation command according to the program compilation log;
[0116] The conversion and compilation parameter acquisition module 230 is used to design a general configuration file model according to the compilation command, and map the program compilation log to the configuration file model to obtain converted compilation parameters;
[0117] The compilation information extraction module 240 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


