2022 · 11 citations · 10 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureFormal MethodsProgramming LanguagesDeductive VerificationMemory SafetyMemory Safety VulnerabilitiesModel CheckingBounded Model CheckingHardware Model CheckingMemory Safety VerificationMemory Safety Verification In Hardware
This paper presents ESBMC-CHERI -- the first bounded model checker capable of formally verifying C programs for CHERI-enabled platforms. CHERI provides run-time protection for the memory-unsafe programming languages such as C/C++ at the hardware level. At the same time, it introduces new semantics to C programs, making some safe C programs cause hardware exceptions on CHERI-extended platforms. Hence, it is crucial to detect memory safety violations and compatibility issues ahead of compilation. However, there are no current verification tools for reasoning over CHERI-C programs. We demonstrate the work undertaken towards implementing support for CHERI-C in our state-of-the-art bounded model checker ESBMC and the plans for future work and extensive evaluation of ESBMC-CHERI. The ESBMC-CHERI demonstration and the source code are available at https://github.com/esbmc/esbmc/tree/cheri-clang.
10
Santosh Nagarakatte, Milo M. K. Martin, Steve Zdancewic · ACM SIGPLAN Notices · 2009 · 93 citations
Brooks Davis, Robert N. M. Watson, Alexander Richardson et al. · 2019 · 57 citations · Full text