forked from diffblue/cbmc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request diffblue#2529 from tautschnig/debian1
Do not (unnecessarily) require preprocessing for fixed 32/64 bit regression tests
- Loading branch information
Showing
28 changed files
with
100 additions
and
151 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
File renamed without changes.
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,5 @@ | ||
CORE | ||
main.c | ||
main.i | ||
--win32 --xml-ui | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
|
File renamed without changes.
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,5 @@ | ||
CORE | ||
main.c | ||
main.i | ||
--32 | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
|
File renamed without changes.
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,5 @@ | ||
CORE | ||
main.c | ||
main.i | ||
--32 | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
|
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,5 @@ | ||
CORE | ||
main.c | ||
main.i | ||
--32 --little-endian | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
|
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,5 @@ | ||
CORE | ||
main.c | ||
main.i | ||
--32 | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
|
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,5 @@ | ||
CORE | ||
main.c | ||
main.i | ||
--bounds-check --32 --no-simplify | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
|
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,5 @@ | ||
CORE | ||
main.c | ||
main.i | ||
--bounds-check --32 | ||
^EXIT=10$ | ||
^SIGNAL=0$ | ||
|
File renamed without changes.
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,5 @@ | ||
KNOWNBUG | ||
main.c | ||
main.i | ||
--bounds-check --32 --no-simplify | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
|
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,5 @@ | ||
CORE | ||
main.c | ||
main.i | ||
--32 | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
int main() | ||
{ | ||
// these types are Visual Studio-specific | ||
__int8 i1; | ||
__int16 i2; | ||
__int32 i3; | ||
__int64 i4; | ||
|
||
__CPROVER_assert(sizeof(i1) == 1, ""); | ||
__CPROVER_assert(sizeof(i2) == 2, ""); | ||
__CPROVER_assert(sizeof(i3) == 4, ""); | ||
__CPROVER_assert(sizeof(i4) == 8, ""); | ||
|
||
// general types | ||
|
||
char c; | ||
short s; | ||
int i; | ||
long l; | ||
long long ll; | ||
|
||
__CPROVER_assert(sizeof(c) == 1, ""); | ||
__CPROVER_assert(sizeof(s) == 2, ""); | ||
__CPROVER_assert(sizeof(i) == 4, ""); | ||
__CPROVER_assert(sizeof(l) == 4, ""); | ||
__CPROVER_assert(sizeof(ll) == 8, ""); | ||
|
||
// these constants are Visual Studio-specific | ||
__CPROVER_assert(sizeof(1i8) == 1, ""); | ||
__CPROVER_assert(sizeof(1i16) == 2, ""); | ||
__CPROVER_assert(sizeof(1i32) == 4, ""); | ||
__CPROVER_assert(sizeof(1i64) == 8, ""); | ||
__CPROVER_assert(sizeof(1i128) == 16, ""); | ||
|
||
// oh, and these pointer qualifiers are Visual Studio-specific | ||
int * __ptr32 p32; | ||
//int * __ptr64 p64; | ||
|
||
// requires --i386-win32 to work | ||
__CPROVER_assert(sizeof(p32) == 4, ""); | ||
//__CPROVER_assert(sizeof(p64) == 8, ""); | ||
|
||
__CPROVER_assert(sizeof(void *) == 4, ""); | ||
} |
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,5 @@ | ||
CORE | ||
main.c | ||
main.i | ||
--i386-win32 | ||
^EXIT=0$ | ||
^SIGNAL=0$ | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
int main() | ||
{ | ||
// general types | ||
short s; | ||
int i; | ||
long l; | ||
long long ll; | ||
|
||
__CPROVER_assert(sizeof(s) == 2, ""); | ||
__CPROVER_assert(sizeof(i) == 4, ""); | ||
__CPROVER_assert(sizeof(l) == 4, ""); | ||
__CPROVER_assert(sizeof(ll) == 8, ""); | ||
|
||
// oh, and these pointer qualifiers are MS-specific | ||
int * __ptr32 p32; | ||
int * __ptr64 p64; | ||
|
||
// requires --winx64 to work | ||
__CPROVER_assert(sizeof(p32) == 4, ""); | ||
__CPROVER_assert(sizeof(p64) == 8, ""); | ||
|
||
__CPROVER_assert(sizeof(void *) == 8, ""); | ||
} |
Oops, something went wrong.