Closed
Description
While working on #1612, I found an error in goto-instrument/cover.cpp. The problem is that the begin()
of an empty vector is dereferenced, leading to undefined behavior.
Adding an invariant to ensure the vector has at least one element causes several tests in cbmc-cover to fail. These tests have been disabled in this commit.
The original author of the code appears to be @theyoucheng, so I suggest that they are assigned to fix this problem. The result of the fix should be that the failing tests are re-enabled.
Metadata
Metadata
Assignees
Labels
No labels