Home
last modified time | relevance | path

Searched refs:str_offset (Results 1 – 4 of 4) sorted by relevance

/system/core/libunwindstack/
DSymbols.h32 Info(uint64_t start_offset, uint64_t end_offset, uint64_t str_offset) in Info()
33 : start_offset(start_offset), end_offset(end_offset), str_offset(str_offset) {} in Info()
36 uint64_t str_offset; member
40 Symbols(uint64_t offset, uint64_t size, uint64_t entry_size, uint64_t str_offset,
DSymbols.cpp30 Symbols::Symbols(uint64_t offset, uint64_t size, uint64_t entry_size, uint64_t str_offset, in Symbols() argument
36 str_offset_(str_offset), in Symbols()
64 return elf_memory->ReadString(info->str_offset, name, str_end_ - info->str_offset); in GetName()
118 uint64_t str_offset = str_offset_ + entry.st_name; in GetGlobal() local
119 if (str_offset < str_end_) { in GetGlobal()
121 if (elf_memory->ReadString(str_offset, &symbol, str_end_ - str_offset) && symbol == name) { in GetGlobal()
DElfInterface.cpp324 uint64_t str_offset = ehdr.e_shoff + shdr.sh_link * ehdr.e_shentsize; in ReadSectionHeaders() local
325 if (!memory_->ReadFully(str_offset, &str_shdr, sizeof(str_shdr))) { in ReadSectionHeaders()
/system/core/libunwindstack/tests/
DSymbolsTest.cpp307 uint64_t str_offset = 0xa000; in TYPED_TEST_P() local
308 Symbols symbols(start_offset, 4 * sizeof(TypeParam), sizeof(TypeParam), str_offset, 0x1000); in TYPED_TEST_P()
316 this->memory_.SetMemory(str_offset + 0x100, "global_0"); in TYPED_TEST_P()
326 this->memory_.SetMemory(str_offset + 0x200, "function_0"); in TYPED_TEST_P()
334 this->memory_.SetMemory(str_offset + 0x300, "global_1"); in TYPED_TEST_P()
344 this->memory_.SetMemory(str_offset + 0x400, "function_1"); in TYPED_TEST_P()