/system/unwinding/libunwindstack/tests/ |
D | ElfCacheTest.cpp | 140 EXPECT_EQ(0U, info0_1.elf_offset()); in VerifyWithinSameMap() 141 EXPECT_EQ(0U, info0_2.elf_offset()); in VerifyWithinSameMap() 154 EXPECT_EQ(0U, info100_1.elf_offset()); in VerifyWithinSameMap() 155 EXPECT_EQ(0U, info100_2.elf_offset()); in VerifyWithinSameMap() 168 EXPECT_EQ(0U, info200_1.elf_offset()); in VerifyWithinSameMap() 169 EXPECT_EQ(0U, info200_2.elf_offset()); in VerifyWithinSameMap() 182 EXPECT_EQ(0x300U, info300_1.elf_offset()); in VerifyWithinSameMap() 183 EXPECT_EQ(0x300U, info300_2.elf_offset()); in VerifyWithinSameMap() 230 EXPECT_EQ(0x300U, info300_1.elf_offset()); in VerifyWithinSameMapNeverReadAtZero() 231 EXPECT_EQ(0x300U, info300_2.elf_offset()); in VerifyWithinSameMapNeverReadAtZero() [all …]
|
D | MapInfoCreateMemoryTest.cpp | 116 ASSERT_EQ(0x100U, info.elf_offset()); in TEST_F() 144 ASSERT_EQ(0x100U, info.elf_offset()); in TEST_F() 154 ASSERT_EQ(0x100U, info.elf_offset()); in TEST_F() 164 ASSERT_EQ(0x100U, info.elf_offset()); in TEST_F() 174 ASSERT_EQ(0x100U, info.elf_offset()); in TEST_F() 186 ASSERT_EQ(0U, info.elf_offset()); in TEST_F() 211 ASSERT_EQ(0U, info.elf_offset()); in TEST_F() 229 ASSERT_EQ(0U, info.elf_offset()); in TEST_F() 303 EXPECT_EQ(0x4000UL, map_info->elf_offset()); in TEST_F() 350 EXPECT_EQ(0x1000UL, map_info->elf_offset()); in TEST_F() [all …]
|
D | MapInfoTest.cpp | 41 EXPECT_EQ(0UL, map_info.elf_offset()); in TEST() 57 EXPECT_EQ(0UL, map_info.elf_offset()); in TEST()
|
D | ElfInterfaceTest.cpp | 1046 uint64_t elf_offset = 0x2000; in InitSectionHeadersOffsetsEhFrameSectionBias() local 1049 ehdr.e_shoff = elf_offset; in InitSectionHeadersOffsetsEhFrameSectionBias() 1055 elf_offset += ehdr.e_shentsize; in InitSectionHeadersOffsetsEhFrameSectionBias() 1065 memory_.SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias() 1066 elf_offset += ehdr.e_shentsize; in InitSectionHeadersOffsetsEhFrameSectionBias() 1074 memory_.SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias() 1075 elf_offset += ehdr.e_shentsize; in InitSectionHeadersOffsetsEhFrameSectionBias() 1085 memory_.SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias() 1138 uint64_t elf_offset = 0x2000; in InitSectionHeadersOffsetsEhFrameHdrSectionBias() local 1141 ehdr.e_shoff = elf_offset; in InitSectionHeadersOffsetsEhFrameHdrSectionBias() [all …]
|
D | MapInfoGetElfTest.cpp | 200 ASSERT_EQ(0x100U, info.elf_offset()); in TEST_F() 229 ASSERT_EQ(0U, info.elf_offset()); in TEST_F() 262 ASSERT_EQ(0U, info.elf_offset()); in TEST_F() 290 ASSERT_EQ(0U, info.elf_offset()); in TEST_F()
|
D | MapsTest.cpp | 42 info->set_elf_offset(element->elf_offset()); in VerifyLine() 60 ASSERT_EQ(0U, info->elf_offset()); in TEST() 80 ASSERT_EQ(0U, info->elf_offset()); in TEST()
|
/system/unwinding/libunwindstack/ |
D | RegsX86_64.cpp | 135 bool RegsX86_64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() argument 140 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data)) || data != 0x0f0000000fc0c748) { in StepIfSignalHandler() 145 if (!elf_memory->ReadFully(elf_offset + 8, &data2, sizeof(data2)) || data2 != 0x05) { in StepIfSignalHandler()
|
D | RegsArm.cpp | 99 bool RegsArm::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() argument 104 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
D | Elf.cpp | 105 return pc - map_info->start() + load_bias_ + map_info->elf_offset(); in GetRelPc() 379 if (info->offset() == 0 || info->elf_offset() != 0) { in CacheAdd() 387 (*cache_)[key] = std::make_pair(info->elf(), info->elf_offset() != 0); in CacheAdd() 392 if (info->name().empty() || info->offset() == 0 || info->elf_offset() == 0) { in CacheAfterCreateMemory()
|
D | RegsMips64.cpp | 122 bool RegsMips64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() argument 127 if (!elf_memory->Read(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
D | RegsMips.cpp | 124 bool RegsMips::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() argument 130 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
D | RegsX86.cpp | 115 bool RegsX86::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() argument 120 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
D | RegsArm64.cpp | 154 bool RegsArm64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() argument 159 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
D | MapInfo.cpp | 208 ranges->Insert(new MemoryRange(process_memory, start(), end() - start(), elf_offset())); in CreateMemory()
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | RegsMips64.h | 41 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | RegsMips.h | 41 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | RegsArm.h | 41 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | RegsX86.h | 42 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | RegsX86_64.h | 42 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | RegsArm64.h | 42 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
|
D | Regs.h | 74 virtual bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) = 0;
|
D | MapInfo.h | 106 inline uint64_t elf_offset() { return GetElfFields().elf_offset_; } in elf_offset() function
|