Home
last modified time | relevance | path

Searched refs:heap_ptr (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/
H A Ddebug_locate.cpp17 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 Ddebug_double_free.cpp25 char *heap_ptr; variable
31 heap_ptr = (char *)malloc(10); in main()
32 fprintf(stderr, "heap_ptr: " PTR_FMT "\n", heap_ptr); in main()
35 free(heap_ptr); in main()
36 free(heap_ptr); // BOOM in main()
H A Ddebug_report.cpp16 char *heap_ptr = (char *)malloc(10); in main() local
17 free(heap_ptr); in main()
21 heap_ptr[0] = 'A'; // BOOM in main()
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dstruct-const.ll23 @g1 = private unnamed_addr constant [48 x i8] c"In task 0x%x, Assertion heap_ptr != NULL failed\00"…