| 1 | #include "lib_acl.h" |
| 2 | |
| 3 | int main(int argc acl_unused, char *argv[] acl_unused) |
| 4 | { |
| 5 | char *ptr2; |
| 6 | char *ptr3 = acl_mystrdup("hello world!"); |
| 7 | int i; |
| 8 | |
| 9 | acl_debug_malloc_init(NULL, "log.txt"); |
| 10 | |
| 11 | for (i = 0; i < 100; i++) { |
| 12 | (void) acl_mymalloc(100); |
| 13 | ptr2 = (char*) acl_mymalloc(100); |
| 14 | acl_myfree(ptr2); |
| 15 | } |
| 16 | |
| 17 | acl_myfree(ptr2); |
| 18 | acl_myfree(ptr3); |
| 19 | return 0; |
| 20 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…