Data race false positive reduction method based on control flow
A technology of data competition and control flow, applied in software testing/debugging, multi-programming devices, etc., can solve the problems of increasing the cost of analyzing the correctness of C source programs, covering up data competition, etc., and achieve the goal of simple implementation and reduction of data competition False positives, low complexity effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] By analyzing the syntax of the C program, the interrupt context of the C program is constructed and shared variables are identified. By induction, if a shared variable satisfies the following conditions at the same time, it is considered that the data competition related to the shared variable is harmless.
[0025] 1. The frequency of interrupts is lower than the cycle execution frequency of the main program, that is, the interrupts occur at most once in each cycle;
[0026] 2. The value of the shared variable in the main program and interrupt is two-state (for example, TRUE and FALSE);
[0027] 3. There is only one write operation to the variable in the interrupt service routine, and the variable is assigned one of the states (for example, TRUE);
[0028] 4. There is one read operation and one write operation for this variable in the main program;
[0029] 5. The read operation of the variable in the main program is the condition of the if statement or the loop state...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
