Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 8 of 8) sorted by relevance

/bionic/tests/
Dbuffer_tests.cpp355 uint8_t* memory; in RunSingleBufferOverreadTest() local
356 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory), pagesize, in RunSingleBufferOverreadTest()
358 memset(memory, 0x23, 2*pagesize); in RunSingleBufferOverreadTest()
361 ASSERT_TRUE(mprotect(&memory[pagesize], pagesize, PROT_NONE) == 0); in RunSingleBufferOverreadTest()
364 uint8_t* buf = &memory[pagesize-i]; in RunSingleBufferOverreadTest()
368 ASSERT_TRUE(mprotect(&memory[pagesize], pagesize, PROT_READ | PROT_WRITE) == 0); in RunSingleBufferOverreadTest()
369 free(memory); in RunSingleBufferOverreadTest()
376 uint8_t* memory; in RunSrcDstBufferOverreadTest() local
377 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory), pagesize, in RunSrcDstBufferOverreadTest()
379 memset(memory, 0x23, 2*pagesize); in RunSrcDstBufferOverreadTest()
[all …]
/bionic/libc/malloc_debug/
DFreeTrackData.cpp75 const uint8_t* memory = reinterpret_cast<const uint8_t*>(pointer); in VerifyAndFree() local
80 if (memcmp(memory, cmp_mem_.data(), bytes_to_cmp) != 0) { in VerifyAndFree()
85 memory = &memory[bytes_to_cmp]; in VerifyAndFree()
DREADME.md4 Malloc debug is a method of debugging native memory problems. It can help
5 detect memory corruption, memory leaks, and use after free issues.
40 to find memory corruption occuring to a region before the original allocation.
68 to find memory corruption occuring to a region after the original allocation.
152 When a pointer is freed, do not free the memory right away, but add it to
275 a pointer that is either not allocated memory, or that the memory of
DREADME_api.md22 the point of the function call. This does not include the memory allocated
/bionic/libc/kernel/uapi/video/
Dsisfb.h79 __u32 memory; member
/bionic/libc/kernel/uapi/linux/
Dvideodev2.h521 __u32 memory; member
550 __u32 memory; member
1494 __u32 memory; member
/bionic/
DREADME.md36 into memory and resolving references to symbols (so that when your code tries to
/bionic/libc/
DNOTICE5103 memchr - find a character in a memory zone