Home
last modified time | relevance | path

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

/system/core/debuggerd/libdebuggerd/
Dgwp_asan.cpp116 MemoryError* memory_error = cause->mutable_memory_error(); in AddCauseProtos() local
117 HeapObject* heap_object = memory_error->mutable_heap(); in AddCauseProtos()
119 memory_error->set_tool(MemoryError_Tool_GWP_ASAN); in AddCauseProtos()
122 memory_error->set_type(MemoryError_Type_USE_AFTER_FREE); in AddCauseProtos()
125 memory_error->set_type(MemoryError_Type_DOUBLE_FREE); in AddCauseProtos()
128 memory_error->set_type(MemoryError_Type_INVALID_FREE); in AddCauseProtos()
131 memory_error->set_type(MemoryError_Type_BUFFER_OVERFLOW); in AddCauseProtos()
134 memory_error->set_type(MemoryError_Type_BUFFER_UNDERFLOW); in AddCauseProtos()
137 memory_error->set_type(MemoryError_Type_UNKNOWN); in AddCauseProtos()
Dscudo.cpp97 MemoryError* memory_error = cause->mutable_memory_error(); in FillInCause() local
98 HeapObject* heap_object = memory_error->mutable_heap(); in FillInCause()
100 memory_error->set_tool(MemoryError_Tool_SCUDO); in FillInCause()
103 memory_error->set_type(MemoryError_Type_USE_AFTER_FREE); in FillInCause()
106 memory_error->set_type(MemoryError_Type_BUFFER_OVERFLOW); in FillInCause()
109 memory_error->set_type(MemoryError_Type_BUFFER_UNDERFLOW); in FillInCause()
112 memory_error->set_type(MemoryError_Type_UNKNOWN); in FillInCause()
Dtombstone_proto.cpp134 if (!cause->has_memory_error() || !cause->memory_error().has_heap()) { in set_human_readable_cause()
138 const MemoryError& memory_error = cause->memory_error(); in set_human_readable_cause() local
139 const HeapObject& heap_object = memory_error.heap(); in set_human_readable_cause()
142 switch (memory_error.tool()) { in set_human_readable_cause()
155 switch (memory_error.type()) { in set_human_readable_cause()
Dtombstone_proto_to_text.cpp520 if (cause.has_memory_error() && cause.memory_error().has_heap()) { in print_main_thread()
521 const HeapObject& heap_object = cause.memory_error().heap(); in print_main_thread()
/system/core/debuggerd/proto/
Dtombstone.proto132 MemoryError memory_error = 2; field