How is this different from tools like Valgrind and Address Sanitizer?
How is this different from tools like Valgrind and Address Sanitizer?
Posted Oct 30, 2025 15:00 UTC (Thu) by atanasi (guest, #136067)In reply to: How is this different from tools like Valgrind and Address Sanitizer? by willmo
Parent article: Fil-C: A memory-safe C implementation
Fil-C strives to support undefined behavior:
'In addition to memory safety, Fil-C's other goal is fanatical compatibility. This means that Fil-C's capability model also has to allow most (or ideally all) "safe" uses of C pointers; that is, idioms that are in widespread use and don't lead to exploitation unless they violate the above rules. This means even supporting uses of pointers that the C spec deems to be undefined behavior.'
