Skip to content

Commit 5bd103a

Browse files
committed
use result.RESULT_FALSE_DATARACE for data race violations
1 parent d8b67f1 commit 5bd103a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

benchexec/tools/ultimate.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ def _determine_result_without_property_file(self, run):
363363
ltl_false_string = "execution that violates the LTL property"
364364
ltl_true_string = "Buchi Automizer proved that the LTL property"
365365
overflow_false_string = "overflow possible"
366+
datarace_false_string = "DataRaceFoundResult"
366367

367368
for line in run.output:
368369
if unsupported_syntax_errorstring in line:
@@ -385,6 +386,8 @@ def _determine_result_without_property_file(self, run):
385386
return "FALSE(valid-ltl)"
386387
if ltl_true_string in line:
387388
return result.RESULT_TRUE_PROP
389+
if datarace_false_string in line:
390+
return result.RESULT_FALSE_DATARACE
388391
if unsafety_string in line:
389392
return result.RESULT_FALSE_REACH
390393
if mem_deref_false_string in line:
@@ -441,6 +444,8 @@ def _determine_result_with_property_file(run):
441444
return result.RESULT_FALSE_TERMINATION
442445
elif line.startswith("FALSE(OVERFLOW)"):
443446
return result.RESULT_FALSE_OVERFLOW
447+
elif line.startswith("FALSE(DATA-RACE)"):
448+
return result.RESULT_FALSE_DATARACE
444449
elif line.startswith("FALSE"):
445450
return result.RESULT_FALSE_REACH
446451
elif line.startswith("TRUE"):

0 commit comments

Comments
 (0)