3 ms·
What is the distinction between this approach and Address Sanitizer https://clang.llvm.org/docs/AddressSanitizer.html https://clang.llvm.org/docs/AddressSanitiz
by philzook 2y ago
What is the distinction between this approach and Address Sanitizer https://clang.llvm.org/docs/AddressSanitizer.html https://clang.llvm.org/docs/AddressSanitizer.html ? If I understand correctly, Fil-C is a modified version of LLVM. Is your metadata more lightweight, catches more bugs? Could it become a pass in regular LLVM?
- pizlonator 2y agoFil-C is memory safe. Asan isn't. For example, asan will totally let you access out of bounds of an object. Say buf[index] is an out-of-bounds access that ends up inside of another object. Asan will allow that. Fil-C won't. That's kind of a key spacial safety protection. Asan is for finding bugs, at best. Fil-C is for actually making your code memory safe.
- deleted 2y ago[deleted]