Home
last modified time | relevance | path

Searched refs:elf_offset (Results 1 – 22 of 22) sorted by relevance

/system/unwinding/libunwindstack/tests/
DElfCacheTest.cpp140 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 …]
DMapInfoCreateMemoryTest.cpp116 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 …]
DMapInfoTest.cpp41 EXPECT_EQ(0UL, map_info.elf_offset()); in TEST()
57 EXPECT_EQ(0UL, map_info.elf_offset()); in TEST()
DElfInterfaceTest.cpp1046 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 …]
DMapInfoGetElfTest.cpp200 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()
DMapsTest.cpp42 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/
DRegsX86_64.cpp135 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()
DRegsArm.cpp99 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()
DElf.cpp105 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()
DRegsMips64.cpp122 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()
DRegsMips.cpp124 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()
DRegsX86.cpp115 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()
DRegsArm64.cpp154 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()
DMapInfo.cpp208 ranges->Insert(new MemoryRange(process_memory, start(), end() - start(), elf_offset())); in CreateMemory()
/system/unwinding/libunwindstack/include/unwindstack/
DRegsMips64.h41 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
DRegsMips.h41 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
DRegsArm.h41 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
DRegsX86.h42 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
DRegsX86_64.h42 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
DRegsArm64.h42 bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) override;
DRegs.h74 virtual bool StepIfSignalHandler(uint64_t elf_offset, Elf* elf, Memory* process_memory) = 0;
DMapInfo.h106 inline uint64_t elf_offset() { return GetElfFields().elf_offset_; } in elf_offset() function