Automatic detection method for program unaccessible paths
A technology of automatic detection and program path, applied in the direction of software testing/debugging, etc., can solve problems such as difficulty in expressing complex data, inefficiency, difficulty, etc., and achieve the effect of easy promotion and application, low technical threshold and high degree of automation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] Such as figure 1 An automatic detection method for a program unreachable path is shown, and the steps are as follows:
[0055] 1. Convert the computer program to be tested into a control flow graph.
[0056] 2. Use the program model generation algorithm (algorithm 1) to convert the control flow graph into a formal model (that is, program model) including three elements of "state, transition, and label".
[0057] 3. Obtain the properties to be verified through accessibility analysis.
[0058] 4. Input the automaton model of the program and the properties to be verified into the model checking tool to obtain the set of unreachable states.
[0059] 5. From the unreachable state set, through the unreachable path search algorithm (Algorithm 2), obtain the unreachable path set.
[0060] The once-taken value of all variables in the program is called the program state:
[0061] Definition 1 Program variables The variables defined in the program are called program variables,...
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