Skip to content

Conversation

@lucasccordeiro
Copy link
Contributor

There are some benchmarks that CBMC fails due to 'too many addressed
objects'. This PR aims to change the maximum number of objects from
256 to 1024 with the goal to solve more benchmarks in SV-COMP 2018.

for c in 2 6 12 17 21 40 200 400 1025 2049 268435456 ; do \
echo "Unwind: $c" > $LOG.latest ; \
./cbmc-binary --graphml-witness $LOG.witness --unwind $c --stop-on-fail $BIT_WIDTH $PROPERTY --function $ENTRY $BM >> $LOG.latest 2>&1 ; \
./cbmc-binary --graphml-witness $LOG.witness --unwind $c --stop-on-fail $BIT_WIDTH --object-bits OBJ_BITS $PROPERTY --function $ENTRY $BM >> $LOG.latest 2>&1 ; \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this be useful for 2LS as well? @peterschrammel

There are some benchmarks that CBMC fails due to 'too many addressed
objects'. This PR aims to change the maximum number of objects from
256 to 1024 with the goal to solve more benchmarks in SV-COMP 2018.
Copy link
Collaborator

@tautschnig tautschnig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming 2LS does support the --object-bits parameter.

@tautschnig tautschnig merged commit 9dfa5f8 into diffblue:master Nov 23, 2017
@peterschrammel
Copy link
Member

This will work up to the unwinding case 400. We might have to go to 11 if there is a benchmark that requires 1025 unwindings to find the bug.

@lucasccordeiro
Copy link
Contributor Author

lucasccordeiro commented Nov 24, 2017 via email

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants