Skip to content

Commit

Permalink
Updates regression tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
zafer-esen committed Nov 13, 2023
1 parent 31c451e commit 068423b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions regression-tests/horn-hcc-array/Answers
Original file line number Diff line number Diff line change
Expand Up @@ -324,15 +324,6 @@ valid-memsafety/valid-memtrack

simple-alloca-memsafety2.c
Warning: enabling heap model
Warning: The following clause has different terms with the same name (term: a:2)
false :- main2(@h), !is_O_Int(read(@h, nthAddrRange(a:2, 0))) & @h = @h & a:2 = AddrRange(nullAddr, 0) & @h = newBatchHeap(batchAlloc(@h, O_Int(_), 42)) & a:2 = newAddrRange(batchAlloc(@h, O_Int(_), 42)).

Warning: The following clause has different terms with the same name (term: a:2)
false :- main2(@h), is_O_Int(read(@h, nthAddrRange(a:2, 0))) & !within(a:2, nthAddrRange(a:2, 0)) & @h = @h & a:2 = AddrRange(nullAddr, 0) & @h = newBatchHeap(batchAlloc(@h, O_Int(_), 42)) & a:2 = newAddrRange(batchAlloc(@h, O_Int(_), 42)).

Warning: The following clause has different terms with the same name (term: a:2)
false :- main2(@h), is_O_Int(read(@h, nthAddrRange(a:2, 0))) & !is_O_Int(read(@h, nthAddrRange(a:2, 0))) & @h = @h & a:2 = AddrRange(nullAddr, 0) & @h = newBatchHeap(batchAlloc(@h, O_Int(_), 42)) & a:2 = newAddrRange(batchAlloc(@h, O_Int(_), 42)).

SAFE
valid-memsafety/valid-memtrack
expected verdict matches the result!

0 comments on commit 068423b

Please sign in to comment.