/bionic/libc/malloc_debug/ |
Config.h | 34 constexpr uint64_t FRONT_GUARD = 0x1;
|
DebugData.cpp | 59 if (config_.options & FRONT_GUARD) { 60 front_guard.reset(new FrontGuardData(config_, &pointer_offset_));
|
Config.cpp | 158 error_log(" front_guard[=XX]"); 286 Feature("front_guard", DEFAULT_GUARD_BYTES, 1, MAX_GUARD_BYTES, FRONT_GUARD, 376 if (options & FRONT_GUARD) {
|
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);
|
/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...] |
/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) {
|