Skip to content

Verifying a whole CMake project with genmc #69

Open

Description

@mquinson

Hello,

would it be possible to verify a large multi-files project with genmc?

If I understand correctly, I would need a clang wrapper to compile each project file. The same wrapper could be used to link the files together, and then the genmc verifyier could be launched on the resulting instrumented binary.

Is this something possible currently? If not, would you guys consider implementing this in the future, or is it issues that I am not foreseeing?

Thanks in advance,
Mt

Activity

  1. michaliskok commented on Mar 3, 2026

    @michaliskok
    Collaborator

    Hi Martin,

    You can use the switch -extra-input=<file> to pass extra files to GenMC, which will be compiled and subsequently linked together. The switch is largely untested, but please do report any issues that might arise.

    Would this work for your use case?

    Michalis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions