2 ms·
Not really. Not all memory safety violations result in segfaults, and not all segfaults are the result of memory safety violations.
by kiitos 2y ago
Not really. Not all memory safety violations result in segfaults, and not all segfaults are the result of memory safety violations.
- vitiral 2y agoWhich segfaults are NOT the result of memory safety violations?
- kiitos 2y agoUh, most? Memory safety is about data races and concurrent access violations. De-referencing a nil pointer isn't a memory safety violation, for example. But I guess if you re-define memory safety to mean anything that can produce a segfault then sure.