Skip to content

Conversation

@3rdit
Copy link
Contributor

@3rdit 3rdit commented Jan 6, 2026

Test for x64dbg/GleeBug#76 and x64dbg/TitanEngine#29

  1. Write 0xCC to RaceFunction and store in the breakpoint map
  2. 5 threads call RaceFunction 1,000 times each
  3. On hit #10, remove the breakpoint from map and restore original byte
  4. If, say, Thread B, had already executed 0xCC before deletion but the event wasnt processed yet, it would fail.

Will require running a few times as it is a race, but with the PR changes it should never fail. I notice it's about a ~40% fail rate on current, but with the fix I haven't failed once.

@3rdit 3rdit requested a review from mrexodia January 7, 2026 22:20
@3rdit 3rdit marked this pull request as draft January 8, 2026 16:35
@3rdit 3rdit marked this pull request as ready for review January 9, 2026 12:06
@mrexodia mrexodia merged commit 7f6a65a into mrexodia:main Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants