Home
last modified time | relevance | path

Searched refs:map_name (Results 1 – 10 of 10) sorted by relevance

/system/unwinding/libbacktrace/
DBacktrace.cpp93 std::string map_name; in FormatFrameData() local
95 map_name = frame->map.Name(); in FormatFrameData()
97 if (map_name[0] == '[' && map_name[map_name.size() - 1] == ']') { in FormatFrameData()
98 map_name.resize(map_name.size() - 1); in FormatFrameData()
99 map_name += StringPrintf(":%" PRIPTR "]", frame->map.start); in FormatFrameData()
103 map_name = "<unknown>"; in FormatFrameData()
107 line += map_name; in FormatFrameData()
DUnwindStack.cpp140 back_frame->map.name = frame->map_name; in Unwind()
/system/extras/memory_replay/
DNativeInfo.cpp77 char* map_name = &buf[buf_start + name_pos]; in NativeGetInfo() local
78 if (strcmp(map_name, "[anon:libc_malloc]") == 0 || strcmp(map_name, "[heap]") == 0 || in NativeGetInfo()
79 strncmp(map_name, "[anon:scudo:", 12) == 0 || in NativeGetInfo()
80 strncmp(map_name, "[anon:GWP-ASan", 14) == 0) { in NativeGetInfo()
/system/unwinding/libunwindstack/tests/
DVerifyBionicTerminationTest.cpp72 Elf elf(Memory::CreateFileMemory(frame.map_name, 0).release()); in VerifyReturnAddress()
73 ASSERT_TRUE(elf.Init()) << "Failed to init elf object from " << frame.map_name.c_str(); in VerifyReturnAddress()
74 ASSERT_TRUE(elf.valid()) << "Elf " << frame.map_name.c_str() << " is not valid."; in VerifyReturnAddress()
111 if (frame.function_name == "__libc_init" && !frame.map_name.empty() && in TEST()
112 std::string("libc.so") == basename(frame.map_name.c_str())) { in TEST()
DUnwinderTest.cpp222 EXPECT_EQ("/system/fake/libc.so", frame->map_name); in TEST_F()
237 EXPECT_EQ("/system/fake/libc.so", frame->map_name); in TEST_F()
252 EXPECT_EQ("/system/fake/libc.so", frame->map_name); in TEST_F()
288 EXPECT_EQ("", frame->map_name); in TEST_F()
303 EXPECT_EQ("", frame->map_name); in TEST_F()
318 EXPECT_EQ("", frame->map_name); in TEST_F()
349 EXPECT_EQ("/fake/fake_load_bias.so", frame->map_name); in TEST_F()
380 EXPECT_EQ("/fake/fake_offset.oat", frame->map_name); in TEST_F()
411 EXPECT_EQ("/fake/fake.apk!lib_fake.so", frame->map_name); in TEST_F()
443 EXPECT_EQ("/fake/fake.apk", frame->map_name); in TEST_F()
[all …]
/system/unwinding/libunwindstack/
DUnwinder.cpp75 frame->map_name = info->name(); in FillInDexFrame()
113 frame->map_name = map_info->name(); in FillInFrame()
114 if (embedded_soname_ && map_info->elf_start_offset() != 0 && !frame->map_name.empty()) { in FillInFrame()
118 map_with_soname += frame->map_name; in FillInFrame()
121 frame->map_name = SharedString(std::move(map_with_soname)); in FillInFrame()
135 const std::string& map_name) { in ShouldStop() argument
139 auto pos = map_name.find_last_of('.'); in ShouldStop()
145 map_name.substr(pos + 1)) != map_suffixes_to_ignore->end(); in ShouldStop()
186 const std::string& map_name = map_info->name(); in Unwind() local
187 if (!elf_from_memory_not_file_ && map_info->memory_backed_elf() && !map_name.empty() && in Unwind()
[all …]
DLocalUnwinder.cpp61 bool LocalUnwinder::ShouldSkipLibrary(const std::string& map_name) { in ShouldSkipLibrary() argument
63 if (skip_library == map_name) { in ShouldSkipLibrary()
/system/unwinding/libunwindstack/include/unwindstack/
DLocalUnwinder.h69 bool ShouldSkipLibrary(const std::string& map_name);
DUnwinder.h52 SharedString map_name; member
/system/core/debuggerd/libdebuggerd/
Dtombstone_proto.cpp324 } else if (!frame.map_name.empty()) { in fill_in_backtrace_frame()
325 f->set_file_name(frame.map_name); in fill_in_backtrace_frame()