3 ms·
You don't need to allocate, Rust slices are safe zero-copy views into an existing buffer. Yes, you can run under valgrind, but dynamic checks ... :) You need
by Manishearth 10y ago
You don't need to allocate, Rust slices are safe zero-copy views into an existing buffer.
Yes, you can run under valgrind, but dynamic checks ... :)
You need to have testcases that hits those code paths, and it's really hard to make "unexpected" testcases that test code paths like these. That's why fuzzing is awesome!