Skip to content

Commit

Permalink
[chore] Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
misonijnik committed Nov 24, 2023
1 parent 1730544 commit 0668bd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ LLVM_VERSION=14
ENABLE_OPTIMIZED=1
ENABLE_DEBUG=0
DISABLE_ASSERTIONS=1
REQUIRES_RTTI=0
REQUIRES_RTTI=1

## Solvers Required options
# SOLVERS=STP
Expand Down
7 changes: 6 additions & 1 deletion scripts/kleef
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,13 @@ def klee_options(
# "--target-assert", # Target
]
if max_time:
max_time = float(max_time)
if max_time and int(max_time) > 30:
max_time = int(max_time * 0.99)
else:
max_time = int(max_time * 0.9)
cmd += [
f"--max-time={int(max_time)}", # Use the whole time
f"--max-time={max_time}",
]

if f_cov:
Expand Down

0 comments on commit 0668bd3

Please sign in to comment.