Searched refs:func_offset (Results 1 - 16 of 16) sorted by relevance

/system/core/libunwindstack/tests/
H A DSymbolsTest.cpp72 uint64_t func_offset; local
73 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, 0, &this->memory_, &name, &func_offset));
75 ASSERT_EQ(0U, func_offset);
78 ASSERT_TRUE(symbols.GetName<TypeParam>(0x500f, 0, &this->memory_, &name, &func_offset));
80 ASSERT_EQ(0xfU, func_offset);
83 ASSERT_FALSE(symbols.GetName<TypeParam>(0x4fff, 0, &this->memory_, &name, &func_offset));
84 ASSERT_FALSE(symbols.GetName<TypeParam>(0x5010, 0, &this->memory_, &name, &func_offset));
100 uint64_t func_offset; local
101 ASSERT_TRUE(symbols.GetName<TypeParam>(0x5000, 0, &this->memory_, &name, &func_offset));
103 ASSERT_EQ(0U, func_offset);
146 uint64_t func_offset; local
205 uint64_t func_offset; local
234 uint64_t func_offset; local
266 uint64_t func_offset; local
304 uint64_t func_offset; local
[all...]
H A DElfTest.cpp132 uint64_t func_offset; local
133 ASSERT_FALSE(elf.GetFunctionName(0, &name, &func_offset));
/system/core/libunwindstack/tools/
H A Dunwind_symbols.cpp101 uint64_t func_offset; local
102 if (!elf.GetFunctionName(func_addr, &cur_name, &func_offset)) {
106 printf("<0x%" PRIx64 ">", func_addr - func_offset);
107 if (func_offset != 0) {
108 printf("+%" PRId64, func_offset);
120 uint64_t func_offset; local
121 if (elf.GetFunctionName(addr, &cur_name, &func_offset)) {
123 printf("<0x%" PRIx64 "> Function: %s\n", addr - func_offset, cur_name.c_str());
H A Dunwind_info.cpp54 uint64_t func_offset; local
56 if (interface->GetFunctionName(pc, load_bias, &name, &func_offset) && !name.empty()) {
94 uint64_t func_offset; local
95 if (interface->GetFunctionName(fde->pc_start, load_bias, &name, &func_offset) && !name.empty()) {
/system/core/libunwindstack/include/unwindstack/
H A DElfInterface.h119 uint64_t* func_offset);
179 uint64_t* func_offset) override {
180 return ElfInterface::GetFunctionNameWithTemplate<Elf32_Sym>(addr, load_bias, name, func_offset);
208 uint64_t* func_offset) override {
209 return ElfInterface::GetFunctionNameWithTemplate<Elf64_Sym>(addr, load_bias, name, func_offset);
H A DElf.h62 bool GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset);
/system/core/libbacktrace/
H A DUnwindStackMap.cpp112 uint64_t func_offset; local
113 if (!elf->GetFunctionName(elf->GetRelPc(pc, map_info), &name, &func_offset)) {
116 *offset = func_offset;
H A DBacktrace.cpp108 if (frame->func_offset) {
109 line += StringPrintf("+%" PRIu64, frame->func_offset);
H A DUnwindStack.cpp118 back_frame->func_offset = frame->function_offset;
H A Dbacktrace_test.cpp811 frame.func_offset = 0;
871 frame.func_offset = 645;
881 frame.func_offset = 645;
/system/core/libunwindstack/
H A DSymbols.cpp58 uint64_t* func_offset) {
65 *func_offset = addr - info->start_offset;
94 *func_offset = addr - start_offset;
57 GetName(uint64_t addr, uint64_t load_bias, Memory* elf_memory, std::string* name, uint64_t* func_offset) argument
H A DSymbols.h48 uint64_t* func_offset);
H A DElf.cpp104 bool Elf::GetFunctionName(uint64_t addr, std::string* name, uint64_t* func_offset) { argument
106 return valid_ && (interface_->GetFunctionName(addr, load_bias_, name, func_offset) ||
108 addr, load_bias_, name, func_offset)));
H A DElfInterface.cpp445 uint64_t* func_offset) {
451 if (symbol->GetName<SymType>(addr, load_bias, memory_, name, func_offset)) {
444 GetFunctionNameWithTemplate(uint64_t addr, uint64_t load_bias, std::string* name, uint64_t* func_offset) argument
/system/core/include/backtrace/
H A DBacktrace.h90 uint64_t func_offset; // pc relative to the start of the function, only valid if func_name is not member in struct:backtrace_frame_data_t
/system/core/libbacktrace/include/backtrace/
H A DBacktrace.h90 uint64_t func_offset; // pc relative to the start of the function, only valid if func_name is not member in struct:backtrace_frame_data_t

Completed in 323 milliseconds