Home
last modified time | relevance | path

Searched refs:memory_error (Results 1 – 5 of 5) sorted by relevance

/system/core/debuggerd/libdebuggerd/
Dgwp_asan.cpp113 MemoryError* memory_error = cause->mutable_memory_error(); in AddCauseProtos() local
114 HeapObject* heap_object = memory_error->mutable_heap(); in AddCauseProtos()
116 memory_error->set_tool(MemoryError_Tool_GWP_ASAN); in AddCauseProtos()
119 memory_error->set_type(MemoryError_Type_USE_AFTER_FREE); in AddCauseProtos()
122 memory_error->set_type(MemoryError_Type_DOUBLE_FREE); in AddCauseProtos()
125 memory_error->set_type(MemoryError_Type_INVALID_FREE); in AddCauseProtos()
128 memory_error->set_type(MemoryError_Type_BUFFER_OVERFLOW); in AddCauseProtos()
131 memory_error->set_type(MemoryError_Type_BUFFER_UNDERFLOW); in AddCauseProtos()
134 memory_error->set_type(MemoryError_Type_UNKNOWN); in AddCauseProtos()
Dscudo.cpp84 MemoryError* memory_error = cause->mutable_memory_error(); in FillInCause() local
85 HeapObject* heap_object = memory_error->mutable_heap(); in FillInCause()
87 memory_error->set_tool(MemoryError_Tool_SCUDO); in FillInCause()
90 memory_error->set_type(MemoryError_Type_USE_AFTER_FREE); in FillInCause()
93 memory_error->set_type(MemoryError_Type_BUFFER_OVERFLOW); in FillInCause()
96 memory_error->set_type(MemoryError_Type_BUFFER_UNDERFLOW); in FillInCause()
99 memory_error->set_type(MemoryError_Type_UNKNOWN); in FillInCause()
Dtombstone_proto.cpp115 if (!cause->has_memory_error() || !cause->memory_error().has_heap()) { in set_human_readable_cause()
119 const MemoryError& memory_error = cause->memory_error(); in set_human_readable_cause() local
120 const HeapObject& heap_object = memory_error.heap(); in set_human_readable_cause()
123 switch (memory_error.tool()) { in set_human_readable_cause()
136 switch (memory_error.type()) { in set_human_readable_cause()
Dtombstone_proto_to_text.cpp343 if (cause.has_memory_error() && cause.memory_error().has_heap()) { in print_main_thread()
344 const HeapObject& heap_object = cause.memory_error().heap(); in print_main_thread()
/system/core/debuggerd/proto/
Dtombstone.proto108 MemoryError memory_error = 2; field