I open-sourced a library to help you find race conditions!
Great for those of you rewriting containers ( @pagghiu.bsky.social @jeremy.laumon.name ?) or people like me who work on codebases with a lot of people and you suspect things to be racy...
Feedback is welcome!
https://github.com/Lectem/BadAccessGuards
Great for those of you rewriting containers ( @pagghiu.bsky.social @jeremy.laumon.name ?) or people like me who work on codebases with a lot of people and you suspect things to be racy...
Feedback is welcome!
https://github.com/Lectem/BadAccessGuards
Comments
We'd done something similar with DataCollider but 1) used data breakpoints and 2) induced a yield/delay once the "trap" was set. It's way slower to set the "trap" with data breakpoints but then there's 0 overhead for other instructions.
And using software ones doesn't scale well...