-
Notifications
You must be signed in to change notification settings - Fork 478
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
Add a warning when selected no methods for inclusion #1707
Conversation
# constrain the input so it can take only the interesting values | ||
constraint = reduce(Operators.OR, (tx.data[:4] == x for x in selected_functions)) | ||
constraint = reduce(Operators.OR, (tx.data[:4] == x for x in selected_functions), False) |
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.
This unconditionally adds False
to the path constraint, right? Not just if there aren't any functions selected, as the log message would seem to imply. Is the problem that constraint
is empty otherwise?
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.
Per dev meeting, False
is needed here so that the reduce
isn't empty when selected_functions
is empty.
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.
Clarification questions answered; LGTM!
# constrain the input so it can take only the interesting values | ||
constraint = reduce(Operators.OR, (tx.data[:4] == x for x in selected_functions)) | ||
constraint = reduce(Operators.OR, (tx.data[:4] == x for x in selected_functions), False) |
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.
Per dev meeting, False
is needed here so that the reduce
isn't empty when selected_functions
is empty.
* master: Symbolic model for strcpy (#1681) Rollback to support yices again (#1714) Fix default output space when workspace is in mem: (#1724) VMTests tests for istanbul (#1676) Snapshots & is_main (#1710) Fix Black (#1718) Use CoverageRC, Make CodeCov Less Aggressive (#1705) Fix plugin enable/disable magic (#1708) Add a warning when selected no methods for inclusion (#1707) Remove duplicated entries (#1709) Blacken (#1711)
No description provided.