Searched refs:heap_ptr (Results 1 – 4 of 4) sorted by relevance
/llvm-project/compiler-rt/test/asan/TestCases/ |
H A D | debug_locate.cpp | 17 char *heap_ptr = (char *)malloc(10); in main() local 52 type = __asan_locate_address(heap_ptr, name, 100, in main() 55 assert(region_address == heap_ptr); in main() 58 type = __asan_locate_address(heap_ptr+1, name, 100, in main() 61 assert(region_address == heap_ptr); in main() 68 uintptr_t shadow_ptr = (((uintptr_t)heap_ptr) >> shadow_scale) in main() 77 free(heap_ptr); in main()
|
H A D | debug_double_free.cpp | 22 char *heap_ptr; 28 heap_ptr = (char *)malloc(10); in main() 29 fprintf(stderr, "heap_ptr: " PTR_FMT "\n", heap_ptr); in main() 30 // CHECK: heap_ptr: 0x[[ADDR:[0-9a-f]+]] in main() 32 free(heap_ptr); in main() 33 free(heap_ptr); // BOOM in main() 25 char *heap_ptr; global() variable
|
H A D | debug_report.cpp | 13 char *heap_ptr = (char *)malloc(10); in main() 14 free(heap_ptr); in main() 18 heap_ptr[0] = 'A'; // BOOM in main() 16 char *heap_ptr = (char *)malloc(10); main() local
|
/llvm-project/llvm/test/CodeGen/Hexagon/ |
H A D | struct-const.ll | 23 @g1 = private unnamed_addr constant [48 x i8] c"In task 0x%x, Assertion heap_ptr != NULL failed\00", align 8
|