Skip to content

Commit f5789d0

Browse files
committed
Fixed typos
1 parent 8a720e0 commit f5789d0

File tree

1 file changed

+2
-2
lines changed
  • regression/contracts/function_check_mem_01

1 file changed

+2
-2
lines changed

regression/contracts/function_check_mem_01/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#define __CPROVER_VALID_MEM(ptr, size) \
1111
__CPROVER_POINTER_OBJECT((ptr)) != __CPROVER_POINTER_OBJECT(NULL) && \
12-
!__CPROVER_invalid_pointer((ptr)) && \
12+
!__CPROVER_is_invalid_pointer((ptr)) && \
1313
__CPROVER_POINTER_OBJECT((ptr)) != \
1414
__CPROVER_POINTER_OBJECT(__CPROVER_deallocated) && \
1515
__CPROVER_POINTER_OBJECT((ptr)) != \
@@ -28,7 +28,7 @@ void foo(bar *x)
2828
__CPROVER_requires(__CPROVER_VALID_MEM(x, sizeof(bar)))
2929
{
3030
x->x += 1;
31-
return
31+
return;
3232
}
3333

3434
int main()

0 commit comments

Comments
 (0)