Skip to content

Commit f7bb9d7

Browse files
authored
Mark states with contradictions as dead (#286)
1 parent d4774d3 commit f7bb9d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usvm-core/src/main/kotlin/org/usvm/StepScope.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class StepScope<T : UState<Type, *, Statement, Context, *, T>, Type, Statement,
2929
) {
3030
private val forkedStates = mutableListOf<T>()
3131

32-
private inline val alive: Boolean get() = stepScopeState != DEAD
32+
private inline val alive: Boolean get() = stepScopeState != DEAD && !originalState.pathConstraints.isFalse
3333
private inline val canProcessFurtherOnCurrentStep: Boolean get() = stepScopeState == CAN_BE_PROCESSED
3434
private inline val ctx: Context get() = originalState.ctx
3535

0 commit comments

Comments
 (0)