Xr0 verifier, guarantee the safety of C programs at compile time
4 months ago
- #code verification
- #C programming
- #open source
- Xr0 is a verifier for C that eliminates undefined behaviors like use-after-frees, double frees, null pointer dereferences, and uninitialized memory usage.
- It uses C-like annotations to verify code, ensuring safety by distributing necessary checks through every function call.
- Xr0 is currently limited to a subset of C89, lacking verification for loops and recursive functions, bridged by axiomatic annotations for now.
- The tool is open-source, written in pure C, and available on GitHub and SourceHut.
- To understand Xr0 better, users are encouraged to try it, use the debugger, read the tutorial, and explore the theses and roadmap.