Identifying race conditions involving asynchronous memory updates
Abstract
A method of identifying race conditions in a computer program can include identifying a call to a selected function specifying a memory range. The selected function can cause data to be written to the memory range asynchronously. The method further can include spraying the memory range with a predetermined bit pattern and determining whether a detected write operation at least partially overwrites the predetermined bit pattern in the memory range. A race condition can be selectively indicated according to the determining step.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of identifying race conditions in a computer program comprising: identifying a call to a selected function specifying a memory range, wherein the selected function causes data to be written to the memory range asynchronously; spraying the memory range with a predetermined bit pattern; determining whether a detected write operation at least partially overwrites the predetermined bit pattern in the memory range; and selectively indicating a race condition according to the determining step by determining that a race condition has not occurred if the predetermined bit pattern in the memor
- Claim 2Depends on #1
The method of claim 1 , wherein identifying a call further comprises identifying a call by the computer program to an operating system function that causes overlapped in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗