Method for performing static analysis on C++ virtual function call upon cfg (configuration) files
A static analysis and virtual function technology, applied in the field of software analysis, can solve the problems of increased test cost, difficulty in achieving 100% coverage of dynamic test, software robustness and security risks, etc., to improve accuracy and improve table building efficiency and accuracy, the effect of improving the accuracy of analysis
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0022] In this embodiment, a method for statically analyzing C++ virtual function calls based on the cfg file is implemented based on the G++ compiler of the Linux platform, and taking the 64-bit Linux system GCC4.7.1 as an example, it is to first create new virtual functions of multiple classes The linked list and the virtual function starting position offset linked list of multiple classes. Secondly, when the virtual function is called, according to the dynamic type and static type of the class type pointer, use the new virtual function linked list and the virtual function starting position offset linked list to return the called The name of the virtual function, combined with the parameters of the virtual function, uniquely determines the virtual function to be called. By using the compiler intermediate file class file, create a new virtual function linked list that is completely consistent with the rules of the compiler to create a virtual function table, etc., by recording...
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