File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1+ // PARAM: --set ana.activated[+] expsplit --disable asm_is_nop
12#include <goblint.h>
23
34int main (void ) {
@@ -7,5 +8,5 @@ int main(void) {
78 asm("nop" : "=x" (x ), "=x" (r ));
89 __goblint_check (x == 0 || x == 1 );
910 __goblint_split_end (x );
10- __goblint_check (x == 0 || x == 1 );
11+ __goblint_check (x == 0 || x == 1 ); // UNKNOWN (intentionally)
1112}
Original file line number Diff line number Diff line change 22#include <unistd.h>
33#include <pthread.h>
44#include <stdio.h>
5- #include <goblint.h>
65
76pthread_mutex_t lock_a ;
87pthread_mutex_t lock_b ;
98
10- extern __goblint_unknown (void * ) ;
11-
129void * proc_a (void * arg ) {
13- asm ("nop" : "=g" (lock_a ));
14- __goblint_unknown (& lock_a );
1510 pthread_mutex_lock (& lock_a );
11+ asm ("nop" : "=g" (lock_a ));
1612 sleep (1 );
1713 pthread_mutex_lock (& lock_b );
1814 pthread_exit (NULL );
You can’t perform that action at this time.
0 commit comments