Skip to content

Commit

Permalink
[chore] Update scripts/kleef
Browse files Browse the repository at this point in the history
  • Loading branch information
misonijnik committed Nov 8, 2023
1 parent 9230192 commit 42cdea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Core/Executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3771,7 +3771,7 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) {
case Instruction::SIToFP: {
SIToFPInst *fi = cast<SIToFPInst>(i);
Expr::Width resultType = getWidthForLLVMType(fi->getType());
if (Context::get().getPointerWidth() == 32) {
if (X86FPAsX87FP80 && Context::get().getPointerWidth() == 32) {
resultType = Expr::Fl80;
}
ref<Expr> arg = eval(ki, 0, state).value;
Expand Down
3 changes: 2 additions & 1 deletion scripts/kleef
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def klee_options(
"--cex-cache-validity-cores",
# "--libc=uclibc",
# "--posix-runtime",
# "--fp-runtime",
"--fp-runtime",
"--x86FP-as-x87FP80",
# "--max-sym-array-size=4096",
"--symbolic-allocation-threshold=8192",
# "--dump-all-states=false",
Expand Down

0 comments on commit 42cdea3

Please sign in to comment.