Skip to content

Add --pointer-check to goto-instrument --drop-unused-functions call #1621

Closed

Description

@celinval

As pointed out by @tautschnig here (diffblue/cbmc#6983 (comment)), we should add --pointer-check while droping unused functions to ensure that CBMC fails the verification if it cannot find a suitable pointer for a function call.

Activity

  1. celinval commented on Oct 6, 2022

    @celinval
    ContributorAuthor

    @tautschnig Just double checking, this is no longer needed, right?

    That said, do you still recommend enabling all checks before invoking goto-instrument --drop-unused-functions?

  2. tautschnig commented on Oct 12, 2022

    @tautschnig
    Member

    My apologies for the delay: yes, this should no longer be necessary. Also, I don't immediately see a reason as to why you'd need to enable checks before --drop-unused-functions.

  3. celinval commented on Oct 12, 2022

    @celinval
    ContributorAuthor

    No worries! Thank you.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions