/system/unwinding/libunwindstack/tests/ |
D | SymbolsTest.cpp | 72 uint64_t func_offset; in TYPED_TEST_P() local 73 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 75 ASSERT_EQ(0U, func_offset); in TYPED_TEST_P() 78 ASSERT_TRUE(symbols.GetName<TypeParam>(0x500f, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 80 ASSERT_EQ(0xfU, func_offset); in TYPED_TEST_P() 83 ASSERT_FALSE(symbols.GetName<TypeParam>(0x4fff, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 84 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5010, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 100 uint64_t func_offset; in TYPED_TEST_P() local 101 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, &this->memory_, &name, &func_offset)); in TYPED_TEST_P() 103 ASSERT_EQ(0U, func_offset); in TYPED_TEST_P() [all …]
|
D | ElfTest.cpp | 136 uint64_t func_offset; in TEST_F() local 137 ASSERT_FALSE(elf.GetFunctionName(0, &name, &func_offset)); in TEST_F()
|
/system/unwinding/libunwindstack/tools/ |
D | unwind_symbols.cpp | 97 uint64_t func_offset; in main() local 98 if (!elf.GetFunctionName(func_addr, &cur_name, &func_offset)) { in main() 102 printf("<0x%" PRIx64 ">", func_addr - func_offset); in main() 103 if (func_offset != 0) { in main() 104 printf("+%" PRId64, func_offset); in main() 116 uint64_t func_offset; in main() local 117 if (elf.GetFunctionName(addr, &cur_name, &func_offset)) { in main() 119 printf("<0x%" PRIx64 "> Function: %s\n", addr - func_offset, cur_name.c_str()); in main()
|
D | unwind_info.cpp | 57 uint64_t func_offset; in DumpArm() local 58 if (elf->GetFunctionName(pc + load_bias, &name, &func_offset) && !name.empty()) { in DumpArm() 96 uint64_t func_offset; in DumpDwarfSection() local 97 if (elf->GetFunctionName(fde->pc_start, &name, &func_offset) && !name.empty()) { in DumpDwarfSection()
|
/system/unwinding/libunwindstack/ |
D | Symbols.cpp | 60 Symbols::Info* Symbols::BinarySearch(uint64_t addr, Memory* elf_memory, uint64_t* func_offset) { in BinarySearch() argument 68 *func_offset = addr - sym_value; in BinarySearch() 95 *func_offset = addr - sym.st_value; in BinarySearch() 150 uint64_t* func_offset) { in GetName() argument 154 info = BinarySearch<SymType, false>(addr, elf_memory, func_offset); in GetName() 159 info = BinarySearch<SymType, true>(addr, elf_memory, func_offset); in GetName() 163 info = BinarySearch<SymType, true>(addr, elf_memory, func_offset); in GetName()
|
D | Symbols.h | 46 bool GetName(uint64_t addr, Memory* elf_memory, SharedString* name, uint64_t* func_offset); 58 Info* BinarySearch(uint64_t addr, Memory* elf_memory, uint64_t* func_offset);
|
D | Elf.cpp | 111 bool Elf::GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset) { in GetFunctionName() argument 113 return valid_ && (interface_->GetFunctionName(addr, name, func_offset) || in GetFunctionName() 115 gnu_debugdata_interface_->GetFunctionName(addr, name, func_offset))); in GetFunctionName()
|
D | MapInfo.cpp | 332 bool MapInfo::GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset) { in GetFunctionName() argument 342 return elf()->GetFunctionName(addr, name, func_offset); in GetFunctionName()
|
D | ElfInterface.cpp | 490 uint64_t* func_offset) { in GetFunctionName() argument 496 if (symbol->template GetName<SymType>(addr, memory_.get(), name, func_offset)) { in GetFunctionName()
|
/system/unwinding/libunwindstack/include/unwindstack/ |
D | Elf.h | 51 bool GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset);
|
D | MapInfo.h | 195 bool GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset);
|
D | ElfInterface.h | 206 bool GetFunctionName(uint64_t addr, SharedString* name, uint64_t* func_offset) override;
|