/bionic/libc/malloc_debug/ |
DebugData.h | 72 return reinterpret_cast<uint8_t*>(value + front_guard->offset()); 91 std::unique_ptr<FrontGuardData> front_guard; member in class:DebugData
|
DebugData.cpp | 59 if (config_.options & FRONT_GUARD) { 60 front_guard.reset(new FrontGuardData(config_, &pointer_offset_));
|
malloc_debug.cpp | 151 if (g_debug->config().options & FRONT_GUARD) { 339 if (g_debug->config().options & FRONT_GUARD) { 340 if (!g_debug->front_guard->Valid(*g_debug, header)) { 341 g_debug->front_guard->LogFailure(*g_debug, header);
|
/hardware/ti/omap4-aah/ |
heaptracker.c | 38 #define FRONT_GUARD 0xaa 53 char front_guard[FRONT_GUARD_LEN]; member in struct:hdr 121 memset(hdr->front_guard, FRONT_GUARD, FRONT_GUARD_LEN); 128 if (hdr->front_guard[i] != FRONT_GUARD) 230 if (hdr->front_guard[0] == FRONT_GUARD) {
|
/hardware/ti/omap4xxx/ |
heaptracker.c | 38 #define FRONT_GUARD 0xaa 53 char front_guard[FRONT_GUARD_LEN]; member in struct:hdr 121 memset(hdr->front_guard, FRONT_GUARD, FRONT_GUARD_LEN); 128 if (hdr->front_guard[i] != FRONT_GUARD) 230 if (hdr->front_guard[0] == FRONT_GUARD) {
|
/bionic/libc/malloc_debug/tests/ |
malloc_debug_config_tests.cpp | 51 "6 malloc_debug front_guard[=XX]\n" 153 ASSERT_FALSE(InitConfig("backtrace=10front_guard")); 158 "non space found after option: front_guard\n"); 220 ASSERT_TRUE(InitConfig(" backtrace=64 front_guard=48")); 221 ASSERT_EQ(BACKTRACE | TRACK_ALLOCS | FRONT_GUARD, config->options); 229 TEST_F(MallocDebugConfigTest, front_guard) { 230 ASSERT_TRUE(InitConfig("front_guard=48")); 231 ASSERT_EQ(FRONT_GUARD, config->options); 234 ASSERT_TRUE(InitConfig("front_guard")); 235 ASSERT_EQ(FRONT_GUARD, config->options) [all...] |
malloc_debug_unit_tests.cpp | 305 TEST_F(MallocDebugTest, front_guard) { 306 Init("front_guard=32"); 372 Init("front_guard=32"); [all...] |