Skip to content

Commit 9b733f2

Browse files
committed
fix: Fix the cover-error-call tests
1 parent 75bf174 commit 9b733f2

File tree

4 files changed

+13094
-3
lines changed

4 files changed

+13094
-3
lines changed

lib/Module/KModule.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,7 @@ void KModule::manifest(InterpreterHandler *ih,
334334
if (isa<InlineAsm>(cs.getCalledOperand())) {
335335
isInlineAsm = true;
336336
}
337-
if (kcb->calledFunctions.empty() && !isInlineAsm &&
338-
(guidance != Interpreter::GuidanceKind::ErrorGuidance ||
339-
!inMainModule(*kfp->function()))) {
337+
if (kcb->calledFunctions.empty() && !isInlineAsm) {
340338
kcb->calledFunctions.insert(escapingFunctions.begin(),
341339
escapingFunctions.end());
342340
}

scripts/kleef

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ def klee_options(
6161
# "--search=nurs:covnew",
6262
# "--search=nurs:md2u", "--search=random-path",
6363
# "-const-array-opt",
64+
"--use-batching-search",
65+
"--batch-instructions=10000",
66+
"--batch-time=0",
6467
"--only-output-make-symbolic-arrays",
6568
"--memory-backend=mixed",
6669
"--max-fixed-size-structures-size=64",

0 commit comments

Comments
 (0)