logoalt Hacker News

ajasmin • yesterday at 9:59 PM • 1 reply • view on HN

Finding these kind of bugs would have required fuzzing and some kind of bound checking canaries. Not sure all bound checkers work on the hand-optimized assembly.

Or as it turns out an LLM! Not clear whether their agent spawned any classic tools...


Replies

stassats • today at 2:51 AM

> bound checking canaries

I used memory protection for that. mmap a page, align the string start/end to the page boundaries. Catches both bad reads and writes.