File tree Expand file tree Collapse file tree 8 files changed +30
-2
lines changed
__atomic_always_lock_free-01 Expand file tree Collapse file tree 8 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1
1
#include <assert.h>
2
2
3
+ #ifndef __GNUC__
4
+ _Bool __atomic_always_lock_free (__CPROVER_size_t , void * );
5
+ #endif
6
+
3
7
int main ()
4
8
{
5
9
assert (__atomic_always_lock_free (sizeof (int ), 0 ));
Original file line number Diff line number Diff line change 1
1
#include <assert.h>
2
2
3
+ #ifndef __GNUC__
4
+ void __atomic_clear (_Bool * , int );
5
+ #endif
6
+
3
7
int main ()
4
8
{
5
9
_Bool n ;
Original file line number Diff line number Diff line change 1
1
#include <assert.h>
2
2
3
+ #ifndef __GNUC__
4
+ _Bool __atomic_is_lock_free (__CPROVER_size_t , void * );
5
+ #endif
6
+
3
7
int main ()
4
8
{
5
9
assert (__atomic_is_lock_free (sizeof (int ), 0 ));
Original file line number Diff line number Diff line change 1
1
#include <assert.h>
2
2
3
+ #ifndef __GNUC__
4
+ void __atomic_signal_fence (int );
5
+ #endif
6
+
3
7
int main ()
4
8
{
5
9
__atomic_signal_fence (0 );
Original file line number Diff line number Diff line change 1
1
#include <assert.h>
2
2
3
+ #ifndef __GNUC__
4
+ _Bool __atomic_test_and_set (void * , int );
5
+ #endif
6
+
3
7
int main ()
4
8
{
5
9
char c = 0 ;
Original file line number Diff line number Diff line change 1
1
#include <assert.h>
2
2
3
+ #ifndef __GNUC__
4
+ void __atomic_thread_fence (int );
5
+ #endif
6
+
3
7
int main ()
4
8
{
5
9
__atomic_thread_fence (0 );
Original file line number Diff line number Diff line change 1
1
#include <setjmp.h>
2
2
3
+ #ifndef __GNUC__
4
+ # define _longjmp (a , b ) longjmp(a, b)
5
+ #endif
6
+
3
7
static jmp_buf env ;
4
8
5
9
int main ()
Original file line number Diff line number Diff line change 1
1
CORE
2
2
main.c
3
3
--pointer-check --bounds-check
4
- ^\[_longjmp .assertion.1\] line 12 _longjmp requires instrumentation: FAILURE$
5
- ^\[main.assertion.1\] line 8 unreachable: SUCCESS$
4
+ ^\[_?longjmp .assertion.1\] line 12 _?longjmp requires instrumentation: FAILURE$
5
+ ^\[main.assertion.1\] line 12 unreachable: SUCCESS$
6
6
^VERIFICATION FAILED$
7
7
^EXIT=10$
8
8
^SIGNAL=0$
You can’t perform that action at this time.
0 commit comments