Code static detection method
A static detection and code technology, applied in the field of giving program variable symbols initial values, can solve problems such as supporting a single language and not being able to handle pointers and aliases well
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0108] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0109] A code static detection method, the steps are as follows:
[0110] (1) Obtain the source code, and convert the source code into an LLVM assembler by preprocessing; that is, call the clang compiler to obtain the c / c++ / object-c source code, and convert the source code into an LLVM assembler by preprocessing; The specific steps of preprocessing and converting the source code into LLVM assembler are as follows:
[0111] (11) Invoke the compiler clang to check whether there are grammatical errors in the c / c++ / object-c source code. If there is an error, modify the grammatical error until the compiler does not report an error, so as to obtain the grammatically correct source code;
[0112] (12) Convert the obtained source code with correct syntax into LLVM assembler using compiler Clang.
[0113] (2) Use the symbolic execution algorithm to...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com