top | item 45718115

(no title)

dvirbt | 4 months ago

That’s a great idea, could’ve really improved the overall project structure

discuss

order

vlovich123|4 months ago

I’ll flag one thing which is that the page table stuff mentioned is unlikely something rust can protect you against - if you set up the wrong memory mapping that’s a higher level logic bug that would make rust unsound and result in weird failures. Rust can only protect you within the bounds of the memory model it defines for its abstract machine.

drougge|4 months ago

There's probably a lot of other memory bugs though. The first thing I looked at was the shell, and almost immediately I spotted an out of bounds write (input[n] = '\0' where n could be sizeof(input)).