3 ms·
Wow, awesome. How long did it take to track down all the bugs? Presumably (/hopefully) there was copious logging going on allowing you to track down many issue
by exikyut 7y ago
Wow, awesome.
How long did it take to track down all the bugs? Presumably (/hopefully) there was copious logging going on allowing you to track down many issues per run...
(Also, how'd you mark the pages as !RW?)
- CJefferson 7y agoLinux has a function mprotect which let's you mark if a page (usually 4k) of memory can be read, or written to. In these kinds of circumstances it can be used to check if programs are accessing memory they shouldn't be. You do have to do it at a 4k level however, not individual mallocs unfortunately.