1 /* Copyright (C) 2009 Pierre-Marc Fournier
3 * SPDX-License-Identifier: LGPL-2.1-only
7 /* This program is used to test malloc instrumentation with libustinstr-malloc.
15 int main(int argc
, char **argv
)
18 const char teststr
[] = "Hello World! 1234567890abc";
21 for (i
= 0; i
< N_ITER
; i
++) {
22 ptrs
[i
] = malloc(i
+1000);
27 memcpy(ptrs
[i
], teststr
, sizeof(teststr
));
34 for (i
= 0; i
< N_ITER
; i
++) {
This page took 0.032997 seconds and 4 git commands to generate.