Skip to content

Commit

Permalink
fix(symbolic): condition when to optimistically prune the search space
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMoesl committed Jun 15, 2021
1 parent ba0e362 commit 6160b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/symbolic_execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ where
fn should_execute_branch(&mut self) -> Result<(bool, &'static str), SymbolicExecutionError> {
Ok(match self.execute_query(Query::Reachable)? {
QueryResult::Sat(_) => (true, "reachable"),
QueryResult::Unknown if self.options.optimistically_prune_search_space => {
QueryResult::Unknown if !self.options.optimistically_prune_search_space => {
(true, "reachability unknown")
}
_ => (false, "unreachable"),
Expand Down

0 comments on commit 6160b3b

Please # to comment.