| ▲ | kragen 4 days ago | ||||||||||||||||||||||||||||
So far we haven't found a viable alternative; CHERI has holes in its temporal integrity guarantees. | |||||||||||||||||||||||||||||
| ▲ | Findecanor 4 days ago | parent [-] | ||||||||||||||||||||||||||||
Both Fil-C and CHERI rely on a concurrent GC/a GC-like task to find and invalidate all pointers to free()'d memory objects (in "quarantine") before putting them back into the memory pool. The difference is that because Fil-C has bounds in each object's header, it only has to nullify it to remove access whereas in CHERI a quarantined object can still be accessed through any pointer that hasn't been invalidated yet. I've seen discussions on adding an additional memory tag to CHERI for memory in quarantine, but I dunno what is best. Fil-C relies on the compiler being trusted whereas CHERI does not. If we do, then perhaps we could come up with a hardware-accelerated system that is more lightweight than either. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||