Skip to content

Any option to focus on race detection only? #66

Description

@Misasasa

I am using GenMC as a race detector. So I wish GenMC to continue checking when it finds errors other than races (such as assertion violation and reading uninitialized memory). In other words, I wish that GenMC only stop on finding races or having traversed all executions without finding races.

Could you please tell me whether some option helps me with this? I find only --disable-race-detection but nothing like --disable-everything-other-than-race-detection.

Activity

  1. michaliskok commented on Jan 17, 2025

    @michaliskok
    Collaborator

    No such option currently exists.

    To disable assertions, you could #undef assert and redefine it as a no-op. For uninitialized memory, there is not much you can do: GenMC has to stop because otherwise the runtime would crash. (Note that uninitialized memory errors only concern dynamically allocated memory.)

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