Skip to content

Commit 89a2a22

Browse files
committed
Remove noop string lookup in symex main loop
Nobody ever sets that option, so the conditional won't be entered.
1 parent 34a3d85 commit 89a2a22

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/goto-symex/symex_main.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,7 @@ void goto_symext::symex_step(
311311
if(!options.get_bool_option("paths"))
312312
merge_gotos(state);
313313

314-
// depth exceeded?
315-
{
316-
unsigned max_depth=options.get_unsigned_int_option("depth");
317-
if(max_depth!=0 && state.depth>max_depth)
318-
state.guard.add(false_exprt());
319-
state.depth++;
320-
}
314+
state.depth++;
321315

322316
// actually do instruction
323317
switch(instruction.type)

0 commit comments

Comments
 (0)