Skip to content

Commit 1a95807

Browse files
Merge pull request #47 from peterschrammel/jbmc-check-unmodelled
Return UNKNOWN on unmodelled library functions
2 parents 7ac2fc1 + f93cdfa commit 1a95807

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tool-wrapper.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ if(/^CHECK\(init\((\S+)\(\)\),LTL\((\S+)\)\)$/) {
3232
parse_result()
3333
{
3434
if tail -n 50 $LOG.ok | \
35+
grep -Eq "Unmodelled library functions have been called" ; then
36+
echo 'UNKNOWN'
37+
elif tail -n 50 $LOG.ok | \
3538
grep -Eq "^(\[.*\] .*__CPROVER_memory_leak == NULL|[[:space:]]*__CPROVER_memory_leak == NULL$)" ; then
3639
if [[ "$PROP" == "memcleanup" ]]; then
3740
echo 'FALSE(valid-memcleanup)'

0 commit comments

Comments
 (0)