Home
last modified time | relevance | path

Searched refs:malloc_size (Results 1 – 6 of 6) sorted by relevance

/llvm-project/compiler-rt/test/gwp_asan/
H A Dfree_then_overflow.cpp18 unsigned malloc_size = 1; in main() local
20 malloc_size = pageSize(); in main()
22 char *Ptr = reinterpret_cast<char *>(malloc(malloc_size)); in main()
24 volatile char x = *(Ptr + malloc_size); in main()
H A Dfree_then_underflow.cpp18 unsigned malloc_size = 1; in main() local
20 malloc_size = pageSize(); in main()
22 char *Ptr = reinterpret_cast<char *>(malloc(malloc_size)); in main()
/llvm-project/compiler-rt/test/tsan/Darwin/
H A Dmalloc_size.mm2 // Test that malloc_size does not crash for an invalid pointer.
28 s = malloc_size(p);
35 s = malloc_size(p);
42 s = malloc_size(p);
53 s = malloc_size(p);
60 s = malloc_size(p);
/llvm-project/lldb/examples/darwin/heap_find/
H A Dheap.py753 malloc_size = int(match_entry.size)
786 malloc_size,
792 description += " <%5u>" % (malloc_size)
796 malloc_addr + malloc_size,
803 if options.type == "pointer" and malloc_size == 4096:
884 malloc_addr + malloc_size,
890 malloc_addr + malloc_size,
/llvm-project/compiler-rt/test/asan/TestCases/Darwin/
H A Dmalloc_size_crash.mm10 size_t size = malloc_size(obj);
/llvm-project/llvm/lib/Support/rpmalloc/
H A Dmalloc.c115 extern inline size_t RPMALLOC_CDECL malloc_size(void *ptr) { in malloc_size() function
381 MAC_INTERPOSE_PAIR(rpmalloc_usable_size, malloc_size)};
495 size_t malloc_size(void *ptr) RPALIAS(rpmalloc_usable_size) in _ZdlPv()