Context Sensitive Detection Method at Source Code Level
A detection method and context technology, applied in the field of context sensitivity detection at the source code level, can solve the problems of inability to obtain calculation accuracy, without considering the degree of context sensitivity of the software, redundant calculation overhead, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] The context sensitivity detection method at the source code level is: make statistics on the context sensitivity of function calls in the source program, sort out the calling and called relationship of each function node by traversing the function call graph, and calculate the depth of the call graph, Information such as the number of call points, the number of context-insensitive call points, and the insensitivity rate are used to judge the function being called for accurate software behavior modeling;
[0026] A function is context-insensitive if it is called multiple times at different locations;
[0027] The function call graph is obtained between procedures.
[0028] The following is the source code of a program with insensitive function call sites:
[0029] show_char(char ch[], int num)
[0030] {
[0031] int count;
[0032] for(count=1; count<=num, count++)
[0033] putchar(ch);
[0034]}
[0035] show_insert(char ch[])
[0036] {
[0037] char cat[]="ins...
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