Home
last modified time | relevance | path

Searched refs:crash_detail (Results 1 – 3 of 3) sorted by relevance

/system/core/debuggerd/libdebuggerd/test/
Dtombstone_proto_to_text_test.cpp123 auto* crash_detail = tombstone_->add_crash_details(); in TEST_F() local
124 crash_detail->set_name("CRASH_DETAIL_NAME"); in TEST_F()
125 crash_detail->set_data("crash_detail_value"); in TEST_F()
131 auto* crash_detail = tombstone_->add_crash_details(); in TEST_F() local
132 crash_detail->set_name("CRASH_DETAIL_NAME"); in TEST_F()
133 crash_detail->set_data("helloworld\1\255\3"); in TEST_F()
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto.cpp276 const crash_detail_t& crash_detail = page.crash_details[i]; in dump_crash_details() local
277 if (!crash_detail.data) { in dump_crash_details()
280 std::string name(crash_detail.name_size, '\0'); in dump_crash_details()
281 if (!process_memory->ReadFully(reinterpret_cast<uintptr_t>(crash_detail.name), name.data(), in dump_crash_details()
282 crash_detail.name_size)) { in dump_crash_details()
286 std::string data(crash_detail.data_size, '\0'); in dump_crash_details()
287 if (!process_memory->ReadFully(reinterpret_cast<uintptr_t>(crash_detail.data), data.data(), in dump_crash_details()
288 crash_detail.data_size)) { in dump_crash_details()
Dtombstone_proto_to_text.cpp494 for (const auto& crash_detail : tombstone.crash_details()) { in print_main_thread() local
495 std::string oct_encoded_name = oct_encode(crash_detail.name()); in print_main_thread()
496 std::string oct_encoded_data = oct_encode(crash_detail.data()); in print_main_thread()