Multithreaded program output uniqueness detection and evidence generation method based on program constraint building
A technology of program constraints and program output, applied in error detection/correction, electrical digital data processing, software testing/debugging, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0062] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings and examples. The program under test is as follows, x and y are shared variables, and thread 0 creates thread 1 and thread 2 in line 1 and line 2.
[0063]
[0064] like figure 1 As shown, an output uniqueness verification method based on multi-threaded program constraints includes the following steps:
[0065] Step S1): Implanting the monitoring code into the program under test to record the execution process of the program. At the level of LLVM bytecode, the code style presented after the instrumentation is completed is as follows;
[0066]
[0067] Among them, the function clap_inst_pre is the inserted monitoring statement, which monitors the subsequent line of statement, and outputs the thread ID, instruction ID, status value and return value of the subsequent line during execution.
[0068] Step S2): Under the given input, execute the sample...
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