Home
last modified time | relevance | path

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

/system/core/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.cpp128 back_frame->map.name = frame->map_name; in Unwind()
/system/core/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; in VerifyReturnAddress()
74 ASSERT_TRUE(elf.valid()) << "Elf " << frame.map_name << " is not valid."; in VerifyReturnAddress()
112 if (frame.function_name == "__libc_init" && !frame.map_name.empty() && in TEST()
113 std::string("libc.so") == basename(frame.map_name.c_str())) { in TEST()
DUnwinderTest.cpp182 EXPECT_EQ("/system/fake/libc.so", frame->map_name); in TEST_F()
197 EXPECT_EQ("/system/fake/libc.so", frame->map_name); in TEST_F()
212 EXPECT_EQ("/system/fake/libc.so", frame->map_name); in TEST_F()
247 EXPECT_EQ("", frame->map_name); in TEST_F()
262 EXPECT_EQ("", frame->map_name); in TEST_F()
277 EXPECT_EQ("", frame->map_name); in TEST_F()
307 EXPECT_EQ("/fake/fake_load_bias.so", frame->map_name); in TEST_F()
337 EXPECT_EQ("/fake/fake_offset.oat", frame->map_name); in TEST_F()
367 EXPECT_EQ("/fake/fake.apk!lib_fake.so", frame->map_name); in TEST_F()
398 EXPECT_EQ("/fake/fake.apk", frame->map_name); in TEST_F()
[all …]
/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/core/libunwindstack/
DUnwinder.cpp73 frame->map_name = info->name; in FillInDexFrame()
111 frame->map_name = map_info->name; in FillInFrame()
112 if (embedded_soname_ && map_info->elf_start_offset != 0 && !frame->map_name.empty()) { in FillInFrame()
115 frame->map_name += '!' + soname; in FillInFrame()
129 std::string& map_name) { in ShouldStop() argument
133 auto pos = map_name.find_last_of('.'); in ShouldStop()
139 map_name.substr(pos + 1)) != map_suffixes_to_ignore->end(); in ShouldStop()
321 } else if (!frame.map_name.empty()) { in FormatFrame()
322 data += " " + frame.map_name; in FormatFrame()
432 frame.map_name = map_info->name; in BuildFrameFromPcOnly()
DLocalUnwinder.cpp61 bool LocalUnwinder::ShouldSkipLibrary(const std::string& map_name) { in ShouldSkipLibrary() argument
63 if (skip_library == map_name) { in ShouldSkipLibrary()
/system/core/libunwindstack/include/unwindstack/
DLocalUnwinder.h69 bool ShouldSkipLibrary(const std::string& map_name);
DUnwinder.h50 std::string map_name; member