-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
warn.deterministic
for more cram tests (References #1647)
- Loading branch information
1 parent
6e2207c
commit 7356e84
Showing
2 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
32 changes: 16 additions & 16 deletions
32
tests/regression/13-privatized/63-access-threadspawn-lval.t
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,24 +1,24 @@ | ||
Should have (safe) write accesses to id1 and id2: | ||
|
||
$ goblint --enable allglobs 63-access-threadspawn-lval.c | ||
[Error][Imprecise][Unsound] Function definition missing for magic2 (63-access-threadspawn-lval.c:21:3-21:12) | ||
[Info][Imprecise] INVALIDATING ALL GLOBALS! (63-access-threadspawn-lval.c:21:3-21:12) | ||
[Info][Imprecise] Invalidating expressions: & A, & id2, & id1, & e (63-access-threadspawn-lval.c:21:3-21:12) | ||
[Error][Imprecise][Unsound] Function definition missing for magic1 (63-access-threadspawn-lval.c:13:3-13:11) | ||
[Info][Imprecise] INVALIDATING ALL GLOBALS! (63-access-threadspawn-lval.c:13:3-13:11) | ||
[Info][Imprecise] Invalidating expressions: & A, & id2, & id1 (63-access-threadspawn-lval.c:13:3-13:11) | ||
[Info][Deadcode] Logical lines of code (LLoC) summary: | ||
live: 13 | ||
dead: 0 | ||
total lines: 13 | ||
[Success][Race] Memory location id1 (safe): (63-access-threadspawn-lval.c:4:11-4:14) | ||
write with [multi:false, thread:[main]] (conf. 110) (exp: & *((pthread_t * __restrict )(& id1))) (63-access-threadspawn-lval.c:27:3-27:37) | ||
[Success][Race] Memory location id2 (safe): (63-access-threadspawn-lval.c:5:11-5:14) | ||
write with [mhp:{created={[main, f@63-access-threadspawn-lval.c:27:3-27:37]}}, thread:[main]] (conf. 110) (exp: (pthread_t * __restrict )(& id2)) (63-access-threadspawn-lval.c:28:3-28:37) | ||
write with [mhp:{created={[main, f@63-access-threadspawn-lval.c:27:3-27:37]}}, thread:[main]] (conf. 110) (exp: & *((pthread_t * __restrict )(& id2))) (63-access-threadspawn-lval.c:28:3-28:37) | ||
$ goblint --enable warn.deterministic --enable allglobs 63-access-threadspawn-lval.c | ||
[Info][Race] Memory locations race summary: | ||
safe: 2 | ||
vulnerable: 0 | ||
unsafe: 0 | ||
total memory locations: 2 | ||
[Success][Race] Memory location id1 (safe): (63-access-threadspawn-lval.c:4:11-4:14) | ||
write with [multi:false, thread:[main]] (conf. 110) (exp: & *((pthread_t * __restrict )(& id1))) (63-access-threadspawn-lval.c:27:3-27:37) | ||
[Success][Race] Memory location id2 (safe): (63-access-threadspawn-lval.c:5:11-5:14) | ||
write with [mhp:{created={[main, f@63-access-threadspawn-lval.c:27:3-27:37]}}, thread:[main]] (conf. 110) (exp: (pthread_t * __restrict )(& id2)) (63-access-threadspawn-lval.c:28:3-28:37) | ||
write with [mhp:{created={[main, f@63-access-threadspawn-lval.c:27:3-27:37]}}, thread:[main]] (conf. 110) (exp: & *((pthread_t * __restrict )(& id2))) (63-access-threadspawn-lval.c:28:3-28:37) | ||
[Info][Deadcode] Logical lines of code (LLoC) summary: | ||
live: 13 | ||
dead: 0 | ||
total lines: 13 | ||
[Info][Imprecise] INVALIDATING ALL GLOBALS! (63-access-threadspawn-lval.c:13:3-13:11) | ||
[Info][Imprecise] Invalidating expressions: & A, & id2, & id1 (63-access-threadspawn-lval.c:13:3-13:11) | ||
[Info][Imprecise] INVALIDATING ALL GLOBALS! (63-access-threadspawn-lval.c:21:3-21:12) | ||
[Info][Imprecise] Invalidating expressions: & A, & id2, & id1, & e (63-access-threadspawn-lval.c:21:3-21:12) | ||
[Error][Imprecise][Unsound] Function definition missing for magic1 (63-access-threadspawn-lval.c:13:3-13:11) | ||
[Error][Imprecise][Unsound] Function definition missing for magic2 (63-access-threadspawn-lval.c:21:3-21:12) | ||
[Error][Imprecise][Unsound] Function definition missing |
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