-
Notifications
You must be signed in to change notification settings - Fork 273
Refactoring in symex, replace nondet_count by a functor #3433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring in symex, replace nondet_count by a functor #3433
Conversation
75a09b5
to
7bb258a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
Passed Diffblue compatibility checks (cbmc commit: 7bb258a).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/91660004
new_expr.add_source_location() = expr.source_location(); | ||
expr.swap(new_expr); | ||
} | ||
else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Braces would be appreciated around a multiline block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now added
This does not use any field and is not overriden.
This makes the information flow more obvious.
7bb258a
to
8fb2902
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
Passed Diffblue compatibility checks (cbmc commit: 8fb2902).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/91839078
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and useful.
It is clearer to have a functor that can only be used for generating symbols, than a counter.