top | item 43190916

(no title)

philzook | 1 year ago

What is the distinction between this approach and Address Sanitizer 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?

discuss

order

pizlonator|1 year ago

Fil-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.