-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests after enabling offset bound checks
- Loading branch information
Showing
15 changed files
with
29 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/expected/offset-bounds-check/out_of_bounds_ub_check.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Failed Checks: Offset result is out of bounds of initial allocation | ||
Failed Checks: Offset result and original pointer should point to the same allocation | ||
Verification failed for - check_ptr_oob | ||
|
||
Complete - 1 successfully verified harnesses, 1 failures, 2 total. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Failed Checks: Offset result is out of bounds of initial allocation | ||
Failed Checks: Offset result and original pointer should point to the same allocation | ||
Verification failed for - check_add_to_oob | ||
|
||
Complete - 0 successfully verified harnesses, 1 failures, 1 total. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
FAILURE\ | ||
offset: attempt to compute number in bytes which would overflow | ||
Failed Checks: Offset in bytes overflow isize | ||
Verification failed for - check_wrap_offset | ||
|
||
Complete - 0 successfully verified harnesses, 1 failures, 1 total. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
FAILURE\ | ||
attempt to compute number in bytes which would overflow | ||
Failed Checks: Offset in bytes overflow isize | ||
Verification failed for - main | ||
|
||
Complete - 0 successfully verified harnesses, 1 failures, 1 total. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
FAILURE\ | ||
attempt to compute offset which would overflow | ||
Failed Checks: Offset result and original pointer should point to the same allocation | ||
Verification failed for - test_offset_overflow | ||
|
||
Complete - 0 successfully verified harnesses, 1 failures, 1 total. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
Status: FAILURE\ | ||
offset: attempt to compute number in bytes which would overflow | ||
Failed Checks: Offset in bytes overflow isize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
std::ptr::const_ptr::<impl *const Foo>::offset.arithmetic_overflow\ | ||
Status: FAILURE\ | ||
Description: "offset: attempt to compute number in bytes which would overflow" | ||
|
||
VERIFICATION:- FAILED | ||
Failed Checks: Offset in bytes overflow isize | ||
Verification failed for - main | ||
Complete - 0 successfully verified harnesses, 1 failures, 1 total. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters