2 ms·
Oh, right, I forgot about null-terminated (aka "C") strings! But you'd have to get rid of them for bounds-checks anyway.
by TazeTSchnitzel 12y ago
Oh, right, I forgot about null-terminated (aka "C") strings! But you'd have to get rid of them for bounds-checks anyway.
- TheLoneWolfling 12y agoNah. You can deal with null-terminated strings. You "just" have to be able to prove that all operations ensure a string remains postpended with a null, and doesn't get extended beyond the length of the underlying allocation.