News for hackers. Stuff that matters.
Re:Show HN: I wrote a custom assembler for CHIP-8 in C++ by Retr0id on Saturday September 19, 2026 @09:25AM (#49766432)
Nice, chip8 is a lot of fun. I looked at your emulator implementation too, and it looks like you have an OOB access bug in the "I" register (it can be incremented beyond the RAM array bounds). This is a very common chip8 emulator bug, which can (in some cases) be exploited to allow a malicious ROM to escape the emulator. I wrote about this here: https://www.da.vidbuchanan.co.uk/blog/bggp3.html
Re:Show HN: I wrote a custom assembler for CHIP-8 in C++ by tack1234 on Tuesday September 22, 2026 @06:47AM (#49799178)
Thanks for pointing that out, I think it was somewhere on my TODO list which miraculously got lost. I'll have a look at it!