Home
last modified time | relevance | path

Searched refs:symname (Results 1 – 25 of 35) sorted by relevance

12

/external/elfutils/tests/
Dbacktrace.c72 const char *symname, Dwfl *dwfl) in callback_verify() argument
75 if (symname && *symname == '.') in callback_verify()
76 symname++; in callback_verify()
77 if (symname && strcmp (symname, "main") == 0) in callback_verify()
106 if (! reduce_frameno && symname in callback_verify()
107 && (strcmp (symname, "__kernel_vsyscall") == 0 in callback_verify()
108 || strcmp (symname, "__libc_do_syscall") == 0)) in callback_verify()
111 assert (symname && strcmp (symname, "raise") == 0); in callback_verify()
114 assert (symname != NULL && strcmp (symname, "sigusr2") == 0); in callback_verify()
123 assert (symname != NULL && strcmp (symname, "jmp") == 0); in callback_verify()
[all …]
Dbacktrace-dwarf.c100 const char *symname = NULL; in frame_callback() local
102 symname = dwfl_module_addrname (mod, pc_adjusted); in frame_callback()
104 printf ("%#" PRIx64 "\t%s\n", (uint64_t) pc, symname ?: "<null>"); in frame_callback()
106 if (symname && (strcmp (symname, "main") == 0 in frame_callback()
107 || strcmp (symname, ".main") == 0)) in frame_callback()
Ddwfl-report-elf-align.c65 const char *symname = dwfl_module_addrname (mod, funcaddr); in main() local
66 assert (symname != NULL); in main()
67 assert (strcmp (symname, argv[4]) == 0); in main()
Dbacktrace-data.c240 const char *symname = NULL; in frame_callback() local
241 symname = dwfl_module_addrname (mod, pc_adjusted); in frame_callback()
244 ! isactivation ? "- 1" : "", symname); in frame_callback()
/external/elfutils/src/
Dstack.c222 const char *symname, Dwarf_Die *cudie, in print_frame() argument
231 if (symname != NULL) in print_frame()
235 if (! show_raw && symname[0] == '_' && symname[1] == 'Z') in print_frame()
238 char *dsymname = __cxa_demangle (symname, demangle_buffer, in print_frame()
241 symname = demangle_buffer = dsymname; in print_frame()
244 printf (" %s", symname); in print_frame()
325 const char *symname, Dwarf_Die *cudie, Dwarf_Die *die) in print_inline_frames() argument
334 print_frame ((*nr)++, pc, isactivation, pc_adjusted, mod, symname, in print_inline_frames()
349 symname = die_name (scope); in print_inline_frames()
350 print_frame ((*nr)++, pc, isactivation, pc_adjusted, mod, symname, in print_inline_frames()
[all …]
Darlib.c195 arlib_add_symref (const char *symname, off_t symoff) in arlib_add_symref() argument
201 size_t symname_len = strlen (symname) + 1; in arlib_add_symref()
202 obstack_grow (&symtab.symsnameob, symname, symname_len); in arlib_add_symref()
271 const char *symname = elf_strptr (elf, shdr->sh_link, sym->st_name); in arlib_add_symbols() local
272 if (symname != NULL) in arlib_add_symbols()
273 arlib_add_symref (symname, off); in arlib_add_symbols()
Daddr2line.c275 symname (const char *name) in symname() function
328 printf ("%s%c", symname (name), pretty ? ' ' : '\n'); in print_dwarf_function()
343 printf ("%s ", symname (name)); in print_dwarf_function()
348 printf ("%s inlined", symname (name)); in print_dwarf_function()
431 name = symname (name); in print_addrsym()
689 name = name != NULL ? symname (name) : "??"; in handle_address()
779 symname (get_diename (parent)), in handle_address()
Darlib.h92 extern void arlib_add_symref (const char *symname, off_t symoff);
/external/bcc/src/cc/
Dbcc_proc.c141 char *symname, *endsym; in bcc_procutils_each_ksym() local
154 addr = strtoull(line, &symname, 16); in bcc_procutils_each_ksym()
160 symname++; in bcc_procutils_each_ksym()
162 if (*symname == 'b' || *symname == 'B' || *symname == 'd' || in bcc_procutils_each_ksym()
163 *symname == 'D' || *symname == 'r' || *symname =='R') in bcc_procutils_each_ksym()
166 endsym = (symname = symname + 2); in bcc_procutils_each_ksym()
170 callback(symname, addr, payload); in bcc_procutils_each_ksym()
Dbcc_syms.cc49 void KSyms::_add_symbol(const char *symname, uint64_t addr, void *p) { in _add_symbol() argument
51 ks->syms_.emplace_back(symname, addr); in _add_symbol()
273 int ProcSyms::Module::_add_symbol(const char *symname, uint64_t start, in _add_symbol() argument
276 auto res = m->symnames_.emplace(symname); in _add_symbol()
321 bool ProcSyms::Module::find_name(const char *symname, uint64_t *addr) { in find_name() argument
325 if (*(s.name) == symname) { in find_name()
452 static int _sym_cb_wrapper(const char *symname, uint64_t addr, uint64_t, in _sym_cb_wrapper() argument
455 return cb(symname, addr); in _sym_cb_wrapper()
472 static int _find_sym(const char *symname, uint64_t addr, uint64_t, in _find_sym() argument
475 if (!strcmp(sym->name, symname)) { in _find_sym()
[all …]
Dbcc_syms.h32 typedef int (*SYM_CB)(const char *symname, uint64_t addr);
87 int bcc_resolve_symname(const char *module, const char *symname,
Dsyms.h124 bool find_name(const char *symname, uint64_t *addr);
126 static int _add_symbol(const char *symname, uint64_t start, uint64_t size,
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-dis-symname.test1 # RUN: llvm-objdump -m -d %p/Inputs/exeThread.macho-x86_64 -dis-symname start -no-show-raw-insn -fu…
21 # not RUN: llvm-objdump -m -d %p/Inputs/exeThread.macho-x86_64 -dis-symname _environ 2>&1 | FileChe…
22 BAD-SYMAME-1: -dis-symname: _environ not in the section
24 # not RUN: llvm-objdump -m -d %p/Inputs/exeThread.macho-x86_64 -dis-symname __mh_execute_header 2>&…
25 BAD-SYMAME-2: -dis-symname: __mh_execute_header not in any section
/external/llvm-project/llvm/test/tools/llvm-objdump/MachO/
Ddis-symname.test1 # RUN: llvm-objdump --macho -d %p/Inputs/exeThread.macho-x86_64 --dis-symname start --no-show-raw-i…
21 # not RUN: llvm-objdump --macho -d %p/Inputs/exeThread.macho-x86_64 --dis-symname _environ 2>&1 | F…
22 BAD-SYMAME-1: -dis-symname: _environ not in the section
24 # not RUN: llvm-objdump --macho -d %p/Inputs/exeThread.macho-x86_64 --dis-symname __mh_execute_head…
25 BAD-SYMAME-2: -dis-symname: __mh_execute_header not in any section
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_libbacktrace.cpp125 const char *symname, uintptr_t, uintptr_t) { in SymbolizeCodeCallback() argument
127 if (symname) { in SymbolizeCodeCallback()
129 info->function = DemangleAlloc(symname, /*always_alloc*/ true); in SymbolizeCodeCallback()
134 static void SymbolizeDataCallback(void *vdata, uintptr_t, const char *symname, in SymbolizeDataCallback() argument
137 if (symname && symval) { in SymbolizeDataCallback()
138 info->name = DemangleAlloc(symname, /*always_alloc*/ true); in SymbolizeDataCallback()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_libbacktrace.cc125 const char *symname, uintptr_t, uintptr_t) { in SymbolizeCodeCallback() argument
127 if (symname) { in SymbolizeCodeCallback()
129 info->function = DemangleAlloc(symname, /*always_alloc*/ true); in SymbolizeCodeCallback()
134 static void SymbolizeDataCallback(void *vdata, uintptr_t, const char *symname, in SymbolizeDataCallback() argument
137 if (symname && symval) { in SymbolizeDataCallback()
138 info->name = DemangleAlloc(symname, /*always_alloc*/ true); in SymbolizeDataCallback()
/external/bcc/tests/python/
Dtest_uprobes.py128 symname = "zlibVersion"
131 b.attach_uprobe(name=libname, sym=symname, fn_name="count", pid=child_pid)
132 b.attach_uretprobe(name=libname, sym=symname, fn_name="count", pid=child_pid)
135 b.detach_uretprobe(name=libname, sym=symname, pid=child_pid)
136 b.detach_uprobe(name=libname, sym=symname, pid=child_pid)
/external/bcc/src/lua/bcc/
Dsym.lua35 local function check_path_symbol(module, symname, addr, pid)
38 if libbcc.bcc_resolve_symname(module, symname, addr or 0x0, pid or 0, nil, sym) < 0 then
45 symname, module_path})
/external/vixl/examples/aarch32/
Ddisasm-a32.cc156 void visit(const char* symname, const Elf32_Sym& sym) { in visit() argument
158 Symbol(symname, sym.st_value, 0, sym.st_size, sym.st_shndx)); in visit()
174 void visit(const char* symname, const Elf32_Sym& sym) { in visit() argument
176 symbols_->insert(Symbol(symname, in visit()
183 Symbol(symname, in visit()
/external/bcc/src/cc/includes/
Dbcc_syms.h32 typedef int (*SYM_CB)(const char *symname, uint64_t addr);
87 int bcc_resolve_symname(const char *module, const char *symname,
Dsyms.h124 bool find_name(const char *symname, uint64_t *addr);
126 static int _add_symbol(const char *symname, uint64_t start, uint64_t size,
/external/strace/
Dunwind-libdw.c159 const char *symname = NULL; in frame_callback() local
165 symname = dwfl_module_addrinfo(mod, pc, &off, &sym, in frame_callback()
168 user_data->call_action(user_data->data, modname, symname, in frame_callback()
/external/ltp/testcases/cve/
Dmeltdown.c249 find_symbol_in_file(const char *filename, const char *symname) in find_symbol_in_file() argument
254 char fmt[strlen(symname) + 64]; in find_symbol_in_file()
256 tst_res(TINFO, "Looking for %s in %s", symname, filename); in find_symbol_in_file()
262 sprintf(fmt, "%%lx %%c %s%%c", symname); in find_symbol_in_file()
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/src/
Drtl.cpp816 const char *symname) { in elf_lookup() argument
839 const size_t max = strlen(symname) + 1; in elf_lookup()
840 const uint32_t hash = elf_hash(symname); in elf_lookup()
843 if (strncmp(symname, n, max) == 0) { in elf_lookup()
856 int get_symbol_info_without_loading(Elf *elf, char *base, const char *symname, in get_symbol_info_without_loading() argument
867 const Elf64_Sym *sym = elf_lookup(elf, base, section_hash, symname); in get_symbol_info_without_loading()
882 const char *symname, symbol_info *res) { in get_symbol_info_without_loading() argument
885 int rc = get_symbol_info_without_loading(elf, base, symname, res); in get_symbol_info_without_loading()
893 const char *symname, void **var_addr, in interop_get_symbol_info() argument
896 int rc = get_symbol_info_without_loading(base, img_size, symname, &si); in interop_get_symbol_info()
/external/libabigail/include/
Dabg-dwarf-reader.h136 const string& symname,

12