Home
last modified time | relevance | path

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

/bionic/libc/malloc_debug/tools/
Dgen_malloc.pl187 $opts->{pointers}->{$pointer} = $slot;
190 $opts->{pointers}->{$pointer} = -1;
201 $opts->{pointers} = {};
226 if (!exists $opts->{pointers}->{$pointer}) {
233 } elsif ($opts->{pointers}->{$pointer} != -1) {
235 push @{$opts->{empty_slots}}, $opts->{pointers}->{$pointer};
244 $opts->{pointers}->{$new_pointer} = -1;
245 delete $opts->{pointers}->{$old_pointer};
251 $opts->{pointers}->{$new_pointer} = $slot;
253 if (!exists $opts->{pointers}->{$old_pointer}) {
[all …]
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp789 void* pointers[10]; in TEST_F() local
790 for (size_t i = 0; i < sizeof(pointers) / sizeof(void*); i++) { in TEST_F()
791 pointers[i] = debug_malloc(100 + i); in TEST_F()
792 ASSERT_TRUE(pointers[i] != nullptr); in TEST_F()
793 memset(pointers[i], 0, 100 + i); in TEST_F()
794 debug_free(pointers[i]); in TEST_F()
815 uint8_t* pointers[5]; in TEST_F() local
816 for (size_t i = 0; i < sizeof(pointers) / sizeof(void*); i++) { in TEST_F()
817 pointers[i] = reinterpret_cast<uint8_t*>(debug_malloc(100 + i)); in TEST_F()
818 ASSERT_TRUE(pointers[i] != nullptr); in TEST_F()
[all …]
/bionic/libc/malloc_hooks/
DREADME.md67 When malloc hooks is enabled, then the hook pointers are set to
/bionic/
DREADME.md29 that the dynamic linker replaces with pointers to its own implementation at
/bionic/libc/malloc_debug/
DREADME.md380 free/malloc\_usable\_size/realloc calls are passed valid pointers.
494 FRAMES is a list of instruction pointers that represent the backtrace of the
/bionic/libc/
DAndroid.bp46 // Try to catch typical 32-bit assumptions that break with 64-bit pointers.