Skip to content

Commit 0d62ff5

Browse files
authored
Merge pull request #6481 from jimgrundy/fix_invalid_pointer_typo
Fixed typos
2 parents 8a720e0 + f5789d0 commit 0d62ff5

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)