Home
last modified time | relevance | path

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

12

/third_party/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()
109 if (! reduce_frameno && symname in callback_verify()
110 && (strcmp (symname, "__kernel_vsyscall") == 0 in callback_verify()
111 || strcmp (symname, "__libc_do_syscall") == 0)) in callback_verify()
113 else if (! pthread_kill_seen && symname in callback_verify()
114 && strstr (symname, "pthread_kill") != NULL) in callback_verify()
118 if (!symname || strcmp (symname, "raise") != 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()
/third_party/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.c194 arlib_add_symref (const char *symname, off_t symoff) in arlib_add_symref() argument
200 size_t symname_len = strlen (symname) + 1; in arlib_add_symref()
201 obstack_grow (&symtab.symsnameob, symname, symname_len); in arlib_add_symref()
270 const char *symname = elf_strptr (elf, shdr->sh_link, sym->st_name); in arlib_add_symbols() local
271 if (symname != NULL) in arlib_add_symbols()
272 arlib_add_symref (symname, off); in arlib_add_symbols()
Daddr2line.c282 symname (const char *name) in symname() function
335 printf ("%s%c", symname (name), pretty ? ' ' : '\n'); in print_dwarf_function()
350 printf ("%s ", symname (name)); in print_dwarf_function()
355 printf ("%s inlined", symname (name)); in print_dwarf_function()
438 name = symname (name); in print_addrsym()
695 name = name != NULL ? symname (name) : "??"; in handle_address()
785 symname (get_diename (parent)), in handle_address()
/third_party/openssl/test/
Dsimpledynamic.c29 int sd_sym(SD lib, const char *symname, SD_SYM *sym) in sd_sym() argument
31 *sym = dlsym(lib, symname); in sd_sym()
53 int sd_sym(SD lib, const char *symname, SD_SYM *sym) in sd_sym() argument
55 *sym = (SD_SYM)GetProcAddress(lib, symname); in sd_sym()
Dsimpledynamic.h46 int sd_sym(SD sd, const char *symname, SD_SYM *sym);
/third_party/openssl/crypto/dso/
Ddso_vms.c39 static DSO_FUNC_TYPE vms_bind_func(DSO *dso, const char *symname);
269 void vms_bind_sym(DSO *dso, const char *symname, void **sym) in vms_bind_sym() argument
284 # define SYMNAME ((char *) symname) in vms_bind_sym()
289 if ((dso == NULL) || (symname == NULL)) { in vms_bind_sym()
296 strcpy(symname_32p, symname); in vms_bind_sym()
342 symname, ptr->filename, ptr->imagename, in vms_bind_sym()
347 symname, ptr->filename, errstring); in vms_bind_sym()
354 static DSO_FUNC_TYPE vms_bind_func(DSO *dso, const char *symname) in vms_bind_func() argument
357 vms_bind_sym(dso, symname, (void **)&sym); in vms_bind_func()
Ddso_dl.c21 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname);
122 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname) in dl_bind_func() argument
127 if ((dso == NULL) || (symname == NULL)) { in dl_bind_func()
140 if (shl_findsym(&ptr, symname, TYPE_UNDEFINED, &sym) < 0) { in dl_bind_func()
145 "symname(%s): %s", symname, errbuf); in dl_bind_func()
148 "symname(%s): errno %d", symname, errno); in dl_bind_func()
Ddso_dlfcn.c43 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname);
165 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname) in dlfcn_bind_func() argument
173 if ((dso == NULL) || (symname == NULL)) { in dlfcn_bind_func()
186 u.dlret = dlsym(ptr, symname); in dlfcn_bind_func()
189 "symname(%s): %s", symname, dlerror()); in dlfcn_bind_func()
Ddso_local.h84 DSO_FUNC_TYPE (*dso_bind_func) (DSO *dso, const char *symname);
106 void *(*globallookup) (const char *symname);
Ddso_lib.c163 DSO_FUNC_TYPE DSO_bind_func(DSO *dso, const char *symname) in DSO_bind_func() argument
167 if ((dso == NULL) || (symname == NULL)) { in DSO_bind_func()
175 if ((ret = dso->meth->dso_bind_func(dso, symname)) == NULL) { in DSO_bind_func()
Ddso_win32.c63 static DSO_FUNC_TYPE win32_bind_func(DSO *dso, const char *symname);
161 static DSO_FUNC_TYPE win32_bind_func(DSO *dso, const char *symname) in win32_bind_func() argument
169 if ((dso == NULL) || (symname == NULL)) { in win32_bind_func()
182 sym.f = GetProcAddress(*ptr, symname); in win32_bind_func()
184 ERR_raise_data(ERR_LIB_DSO, DSO_R_SYM_FAILURE, "symname(%s)", symname); in win32_bind_func()
/third_party/node/deps/openssl/openssl/crypto/dso/
Ddso_vms.c39 static DSO_FUNC_TYPE vms_bind_func(DSO *dso, const char *symname);
269 void vms_bind_sym(DSO *dso, const char *symname, void **sym) in vms_bind_sym() argument
284 # define SYMNAME ((char *) symname) in vms_bind_sym()
289 if ((dso == NULL) || (symname == NULL)) { in vms_bind_sym()
296 strcpy(symname_32p, symname); in vms_bind_sym()
342 symname, ptr->filename, ptr->imagename, in vms_bind_sym()
347 symname, ptr->filename, errstring); in vms_bind_sym()
354 static DSO_FUNC_TYPE vms_bind_func(DSO *dso, const char *symname) in vms_bind_func() argument
357 vms_bind_sym(dso, symname, (void **)&sym); in vms_bind_func()
Ddso_dl.c21 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname);
122 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname) in dl_bind_func() argument
127 if ((dso == NULL) || (symname == NULL)) { in dl_bind_func()
140 if (shl_findsym(&ptr, symname, TYPE_UNDEFINED, &sym) < 0) { in dl_bind_func()
145 "symname(%s): %s", symname, errbuf); in dl_bind_func()
148 "symname(%s): errno %d", symname, errno); in dl_bind_func()
Ddso_dlfcn.c43 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname);
165 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname) in dlfcn_bind_func() argument
173 if ((dso == NULL) || (symname == NULL)) { in dlfcn_bind_func()
186 u.dlret = dlsym(ptr, symname); in dlfcn_bind_func()
189 "symname(%s): %s", symname, dlerror()); in dlfcn_bind_func()
Ddso_local.h84 DSO_FUNC_TYPE (*dso_bind_func) (DSO *dso, const char *symname);
106 void *(*globallookup) (const char *symname);
Ddso_lib.c163 DSO_FUNC_TYPE DSO_bind_func(DSO *dso, const char *symname) in DSO_bind_func() argument
167 if ((dso == NULL) || (symname == NULL)) { in DSO_bind_func()
175 if ((ret = dso->meth->dso_bind_func(dso, symname)) == NULL) { in DSO_bind_func()
Ddso_win32.c63 static DSO_FUNC_TYPE win32_bind_func(DSO *dso, const char *symname);
161 static DSO_FUNC_TYPE win32_bind_func(DSO *dso, const char *symname) in win32_bind_func() argument
169 if ((dso == NULL) || (symname == NULL)) { in win32_bind_func()
182 sym.f = GetProcAddress(*ptr, symname); in win32_bind_func()
184 ERR_raise_data(ERR_LIB_DSO, DSO_R_SYM_FAILURE, "symname(%s)", symname); in win32_bind_func()
/third_party/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()
/third_party/ltp/testcases/cve/
Dmeltdown.c248 find_symbol_in_file(const char *filename, const char *symname) in find_symbol_in_file() argument
253 char fmt[strlen(symname) + 64]; in find_symbol_in_file()
255 tst_res(TINFO, "Looking for %s in %s", symname, filename); in find_symbol_in_file()
261 sprintf(fmt, "%%lx %%c %s%%c", symname); in find_symbol_in_file()
/third_party/gstreamer/gstreamer/libs/gst/helpers/
Dglib_gobject_helper.py11 def read_global_var (symname): argument
12 return gdb.selected_frame().read_var(symname)
/third_party/gstreamer/gstreamer/gst/
Dgstplugin.c695 gchar *bname, *name, *symname; in extract_symname() local
724 symname = g_strconcat ("gst_plugin_", name, "_get_desc", NULL); in extract_symname()
727 return symname; in extract_symname()
804 gchar *symname; in _priv_gst_plugin_load_file_for_registry() local
889 symname = extract_symname (filename); in _priv_gst_plugin_load_file_for_registry()
890 ret = g_module_symbol (module, symname, &ptr); in _priv_gst_plugin_load_file_for_registry()
897 symname); in _priv_gst_plugin_load_file_for_registry()
901 g_free (symname); in _priv_gst_plugin_load_file_for_registry()

12