Skip to content

Commit

Permalink
Fixes 'infinite' loop on concolic assert(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeom authored and zapashcanon committed Jun 3, 2024
1 parent b8d1119 commit 730a977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concolic/concolic_choice.ml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ let assertion (vb : Concolic_value.V.vbool) =
M
(fun st ->
(Ok (), if no_choice then st else add_pc_to_thread st assert_pc) )
else M (fun st -> (Error (Assume_fail vb.symbolic), st))
else M (fun st -> (Error Assert_fail, st))

let trap t = M (fun th -> (Error (Trap t), th))

Expand Down

0 comments on commit 730a977

Please sign in to comment.