/system/core/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() 138 info.elf_offset = 0; in TEST_F() 144 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F() 148 info.elf_offset = 0; in TEST_F() 154 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F() 158 info.elf_offset = 0; in TEST_F() 164 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F() 168 info.elf_offset = 0; in TEST_F() 174 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F() 186 ASSERT_EQ(0U, info.elf_offset); in TEST_F() [all …]
|
D | MapInfoTest.cpp | 39 EXPECT_EQ(0UL, map_info.elf_offset); in TEST() 55 EXPECT_EQ(0UL, map_info.elf_offset); in TEST()
|
D | ElfInterfaceTest.cpp | 1038 uint64_t elf_offset = 0x2000; in InitSectionHeadersOffsetsEhFrameSectionBias() local 1041 ehdr.e_shoff = elf_offset; in InitSectionHeadersOffsetsEhFrameSectionBias() 1047 elf_offset += ehdr.e_shentsize; in InitSectionHeadersOffsetsEhFrameSectionBias() 1057 memory_.SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias() 1058 elf_offset += ehdr.e_shentsize; in InitSectionHeadersOffsetsEhFrameSectionBias() 1066 memory_.SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias() 1067 elf_offset += ehdr.e_shentsize; in InitSectionHeadersOffsetsEhFrameSectionBias() 1077 memory_.SetMemory(elf_offset, &shdr, sizeof(shdr)); in InitSectionHeadersOffsetsEhFrameSectionBias() 1130 uint64_t elf_offset = 0x2000; in InitSectionHeadersOffsetsEhFrameHdrSectionBias() local 1133 ehdr.e_shoff = elf_offset; in InitSectionHeadersOffsetsEhFrameHdrSectionBias() [all …]
|
D | MapInfoGetElfTest.cpp | 198 ASSERT_EQ(0x100U, info.elf_offset); in TEST_F() 227 ASSERT_EQ(0U, info.elf_offset); in TEST_F() 260 ASSERT_EQ(0U, info.elf_offset); in TEST_F() 288 ASSERT_EQ(0U, info.elf_offset); in TEST_F()
|
D | MapsTest.cpp | 42 info->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()
|
D | UnwinderTest.cpp | 109 info2->elf_offset = 0x8000; in SetUpTestSuite()
|
/system/core/libunwindstack/ |
D | MapInfo.cpp | 58 elf_offset = offset - prev_real_map->offset; in InitFileMemoryFromPreviousReadOnlyMap() 111 elf_offset = offset; in GetFileMemory() 141 elf_offset = 0; in CreateMemory() 181 elf_offset = offset - prev_real_map->offset; in CreateMemory() 189 ranges->Insert(new MemoryRange(process_memory, start, end - start, elf_offset)); in CreateMemory()
|
D | Elf.cpp | 105 return pc - map_info->start + load_bias_ + map_info->elf_offset; in GetRelPc() 357 if (info->offset == 0 || info->elf_offset != 0) { in CacheAdd() 365 std::make_pair(info->elf, info->elf_offset != 0); in CacheAdd() 370 if (info->name.empty() || info->offset == 0 || info->elf_offset == 0) { in CacheAfterCreateMemory() 396 info->elf_offset = info->offset; in CacheGet()
|
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 != 0x0f05) { 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 | 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 | 142 bool RegsArm64::StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) { in StepIfSignalHandler() argument 147 if (!elf_memory->ReadFully(elf_offset, &data, sizeof(data))) { in StepIfSignalHandler()
|
/system/core/libunwindstack/include/unwindstack/ |
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 | RegsMips64.h | 41 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 | RegsX86.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 | MapInfo.h | 69 uint64_t elf_offset = 0; member
|
D | Regs.h | 71 virtual bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) = 0;
|