Data race detection and evidence generation method based on multithreaded program constraint building
A data competition and program constraint technology, which is applied in the field of data competition detection and evidence generation based on multi-threaded program constraints, and can solve the problems of sensitive thread interleaving, invalid alarms, and false positives.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0063] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings and examples.
[0064] The program under test is as follows, x and y are shared variables, and thread 0 creates thread 1 and thread 2.
[0065]
[0066] Such as figure 1 As shown, the data competition detection and evidence generation method of the present invention includes the following steps:
[0067] Step S1): Implanting the monitoring code into the program under test to record the execution process of the program. Under the given input, execute the sample program and record the path π=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; then, identify the shared variable access points, including {1 , 5, 7, 9, 10}.
[0068] Step S2): According to the program execution semantics, the state transition and thread interweaving relationship in the execution path are converted into quantifier-free first-order logic expressions, and the constraint model F of the execu...
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