C to checked C by 3c
summary
3C is a static-analysis annotation tool that uses two novel algorithms, typ3c and boun3c, to infer Checked C pointer kinds and array bounds; it converts about 67% of pointers and infers 77% of bounds across 11 real programs (319KLoC) in under a minute per run. The workflow highlights small sets of root-cause pointers (about 91) for human refactoring, offers LSP integration for interactive fixes, and emits runtime bounds checks that currently terminate on violation.
AI-written summary · about
chapters (9)
- 0:00Start
- 0:21Memory Safety is a Problem (Still!!?)
- 1:00Heap buffer overread in UEFI driver
- 11:49Type qualifier inference
- 13:42Isolation Across Function Boundaries Does Not Work!
- 14:08Conflicting Requirements!
- 22:53Evaluation: Runtime
- 23:56Evaluation: Conversion Failures
- 25:07Evaluation: Effectiveness of Interactive Conversion








