| ▲ | SkiFire13 2 hours ago | |
AFAIK Fil-C does not catch all memory safety bugs, for example some use-after-free are just not bugs but work as intended (you still access the original data/allocation). This means that it's not a sanitizer and code that runs fine on Fil-C may show UB when run normally. | ||
| ▲ | aw1621107 2 hours ago | parent [-] | |
> for example some use-after-free are just not bugs but work as intended (you still access the original data/allocation) That doesn't sound right? For example, from the Fil-C GC docs [0]: > If you call `free`, the runtime will flag the object as free and all subsequent accesses to the object will trap. Additionally, FUGC will not scan outgoing references from the object (since they cannot be accessed anymore). | ||