Skip to content

Commit

Permalink
Tweak CBMC Arguments for optimal coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLBergqvist committed Sep 5, 2018
1 parent 003b556 commit 6e5aad9
Showing 1 changed file with 40 additions and 3 deletions.
43 changes: 40 additions & 3 deletions diffblue.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,41 @@
cbmcArguments:
# Because tic-tac-toe has 9 squares, we need to unwind the loops 10 times
# This will be auto-detected in a future version
java-max-input-array-length: 10
slice-function-calls: org\.slf4j\.Logger.*
phases:
-
timeout: 300
cbmcArguments:
classpath: '/tools/cbmc/models-simple-overlay.jar:/tools/cbmc/models.jar:.'
depth: false
java-max-input-array-length: 10
java-max-vla-length: 33
java-throw-runtime-exceptions: false
string-max-input-length: 10
string-max-length: 300
string-printable: true
unwind: 1
-
timeout: 300
cbmcArguments:
classpath: '/tools/cbmc/models-simple-overlay.jar:/tools/cbmc/models.jar:.'
depth: false
java-max-input-array-length: 20
java-max-vla-length: 33
java-throw-runtime-exceptions: false
string-max-input-length: 100
string-max-length: 400
string-printable: false
unwind: 2
-
timeout: 300
cbmcArguments:
classpath: '/tools/cbmc/models-simple-overlay.jar:/tools/cbmc/models.jar:.'
depth: false
java-max-input-array-length: 30
java-max-vla-length: 33
java-throw-runtime-exceptions: true
string-max-input-length: 10
string-max-length: 400
string-printable: false
unwind: 10
# Because tic-tac-toe has 9 squares, we need to unwind the loops 10 times
# This will be auto-detected in a future version

0 comments on commit 6e5aad9

Please sign in to comment.