We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28184f5 + eeff447 commit 1d7555fCopy full SHA for 1d7555f
lldb/test/API/lang/BoundsSafety/array_of_ptrs/main.c
@@ -1,10 +1,14 @@
1
#include <ptrcheck.h>
2
+#include <stdio.h>
3
#include <stdlib.h>
4
5
int *__bidi_indexable array_of_bounds_safety_pointers[2];
6
7
int main() {
- array_of_bounds_safety_pointers[0] = __unsafe_forge_bidi_indexable(
8
- int *, (int *)malloc(16), 16); // break here 1
9
- return 0; // break here 2
+ puts("// break here 1");
+ array_of_bounds_safety_pointers[0] =
10
+ __unsafe_forge_bidi_indexable(int *, (int *)malloc(16), 16);
11
+
12
+ puts("// break here 2");
13
+ return 0;
14
}
0 commit comments