File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ inline void *__new(__typeof__(sizeof(int)) malloc_size)
2727/* FUNCTION: __new_array */
2828
2929__CPROVER_bool __VERIFIER_nondet___CPROVER_bool ();
30+ #ifndef LIBRARY_CHECK
3031const void * __CPROVER_new_object = 0 ;
3132__CPROVER_bool __CPROVER_malloc_is_new_array = 0 ;
33+ #endif
3234
3335inline void * __new_array (__CPROVER_size_t count , __CPROVER_size_t size )
3436{
@@ -63,9 +65,12 @@ inline void *__placement_new(__typeof__(sizeof(int)) malloc_size, void *p)
6365
6466/* FUNCTION: __delete */
6567
68+ void __CPROVER_deallocate (void * );
6669__CPROVER_bool __VERIFIER_nondet___CPROVER_bool ();
70+ #ifndef LIBRARY_CHECK
6771const void * __CPROVER_new_object = 0 ;
6872__CPROVER_bool __CPROVER_malloc_is_new_array = 0 ;
73+ #endif
6974
7075inline void __delete (void * ptr )
7176{
@@ -98,9 +103,12 @@ inline void __delete(void *ptr)
98103
99104/* FUNCTION: __delete_array */
100105
106+ void __CPROVER_deallocate (void * );
101107__CPROVER_bool __VERIFIER_nondet___CPROVER_bool ();
108+ #ifndef LIBRARY_CHECK
102109const void * __CPROVER_new_object = 0 ;
103110__CPROVER_bool __CPROVER_malloc_is_new_array = 0 ;
111+ #endif
104112
105113inline void __delete_array (void * ptr )
106114{
You can’t perform that action at this time.
0 commit comments