Searched refs:str_offset (Results 1 – 4 of 4) sorted by relevance
/system/core/libunwindstack/ |
D | Symbols.cpp | 31 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() 159 uint64_t str_offset = str_offset_ + entry.st_name; in GetGlobal() local 160 if (str_offset < str_end_) { in GetGlobal() 162 if (elf_memory->ReadString(str_offset, &symbol, str_end_ - str_offset) && symbol == name) { in GetGlobal()
|
D | Symbols.h | 39 Symbols(uint64_t offset, uint64_t size, uint64_t entry_size, uint64_t str_offset,
|
D | ElfInterface.cpp | 361 uint64_t str_offset = ehdr.e_shoff + shdr.sh_link * ehdr.e_shentsize; in ReadSectionHeaders() local 362 if (!memory_->ReadFully(str_offset, &str_shdr, sizeof(str_shdr))) { in ReadSectionHeaders()
|
/system/core/libunwindstack/tests/ |
D | SymbolsTest.cpp | 312 uint64_t str_offset = 0xa000; in TYPED_TEST_P() local 313 Symbols symbols(start_offset, 4 * sizeof(TypeParam), sizeof(TypeParam), str_offset, 0x1000); in TYPED_TEST_P() 321 this->memory_.SetMemory(str_offset + 0x100, "global_0"); in TYPED_TEST_P() 331 this->memory_.SetMemory(str_offset + 0x200, "function_0"); in TYPED_TEST_P() 339 this->memory_.SetMemory(str_offset + 0x300, "global_1"); in TYPED_TEST_P() 349 this->memory_.SetMemory(str_offset + 0x400, "function_1"); in TYPED_TEST_P()
|