Skip to content

Add proper support to C-FFI calls #2423

@celinval

Description

@celinval

Requested feature: Add support to verifying combination of Rust and C code.
Use case: Users have C legacy code or external libraries that they would like to verify against their implementation.

It would be nice to provide out-of-box integration with C code when its source is available. Kani could compile the C code using goto-cc and link its generated goto-programs with Kani generated goto-program.

We should probably create an RFC with a proper design as well as what will be expected user experience. What kind of features will be supported? What kind of UBs will be detected? How to properly link C + Rust?

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-UserTag user issues / requests[C] Feature / EnhancementA new feature request or enhancement to an existing feature.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions