Home
last modified time | relevance | path

Searched refs:symname (Results 1 – 25 of 38) 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); 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.c217 const char *symname, Dwarf_Die *cudie, in print_frame() argument
226 if (symname != NULL) in print_frame()
230 if (! show_raw && symname[0] == '_' && symname[1] == 'Z') in print_frame()
233 char *dsymname = __cxa_demangle (symname, demangle_buffer, in print_frame()
236 symname = demangle_buffer = dsymname; in print_frame()
239 printf (" %s", symname); in print_frame()
320 const char *symname, Dwarf_Die *cudie, Dwarf_Die *die) in print_inline_frames() argument
329 print_frame ((*nr)++, pc, isactivation, pc_adjusted, mod, symname, in print_inline_frames()
344 symname = die_name (scope); in print_inline_frames()
345 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()
669 name = name != NULL ? symname (name) : "??"; in handle_address()
774 symname (get_diename (parent)), in handle_address()
/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()
272 int ProcSyms::Module::_add_symbol(const char *symname, uint64_t start, in _add_symbol() argument
275 auto res = m->symnames_.emplace(symname); in _add_symbol()
320 bool ProcSyms::Module::find_name(const char *symname, uint64_t *addr) { in find_name() argument
324 if (*(s.name) == symname) { in find_name()
451 static int _sym_cb_wrapper(const char *symname, uint64_t addr, uint64_t, in _sym_cb_wrapper() argument
454 return cb(symname, addr); in _sym_cb_wrapper()
471 static int _find_sym(const char *symname, uint64_t addr, uint64_t, in _find_sym() argument
474 if (!strcmp(sym->name, symname)) { in _find_sym()
[all …]
Dbcc_syms.h32 typedef int (*SYM_CB)(const char *symname, uint64_t addr);
80 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/swiftshader/third_party/llvm-7.0/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/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/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/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/bcc/src/cc/includes/
Dbcc_syms.h32 typedef int (*SYM_CB)(const char *symname, uint64_t addr);
80 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/u-boot/common/
Dbedbug.c92 char *symname; in disppc() local
156 if ((symname = in disppc()
159 cursym = symname; in disppc()
163 ((symname = in disppc()
166 cursym = symname; in disppc()
240 char *symname; in print_operands() local
280 ((symname = in print_operands()
282 sprintf (&ctx->data[ctx->datalen], " <%s", symname); in print_operands()
/external/ltp/testcases/cve/
Dmeltdown.c263 find_symbol_in_file(const char *filename, const char *symname) in find_symbol_in_file() argument
268 char fmt[strlen(symname) + 64]; in find_symbol_in_file()
270 sprintf(fmt, "%%lx %%c %s%%c", symname); in find_symbol_in_file()
/external/deqp/framework/platform/android/
DtcuAndroidInternals.cpp39 void setFuncPtr (Func*& funcPtr, DynamicLibrary& lib, const string& symname) in setFuncPtr() argument
41 funcPtr = reinterpret_cast<Func*>(lib.getFunction(symname.c_str())); in setFuncPtr()
43 TCU_THROW(NotSupportedError, ("Unable to look up symbol from shared object: " + symname).c_str()); in setFuncPtr()
/external/swiftshader/third_party/LLVM/test/Scripts/
Dcoff-dump.py24 def symname(value): function
163 …lName', ('ptr', '+ PointerToSymbolTable * SymbolTableIndex 18', ('scalar', '<8s', symname)))
167 ('Name', ('scalar', '<8s', symname)),
/external/u-boot/tools/
Dproftool.c109 char symname[MAX_LINE_LEN + 1]; in read_system_map() local
118 &symtype, symname); in read_system_map()
145 func->name = strdup(symname); in read_system_map()

12