Searched defs:symbol (Results 1 - 6 of 6) sorted by relevance

/system/extras/tests/bionic/libc/common/
H A Dtest_dlopen_null.c15 void* symbol; local
30 symbol = dlsym(lib, "foo");
31 if (symbol == NULL) {
32 fprintf(stderr, "Could not lookup symbol inside executable !!: %s\n", dlerror());
/system/core/libcorkscrew/
H A Dtest.c20 // get_backtrace_symbols found the symbol's name with dladdr(3).
23 // We don't have a symbol. Maybe this is a static symbol, and
29 const symbol_t* symbol = NULL; local
31 symbol = find_symbol(symbols, frames[i].absolute_pc);
33 if (symbol != NULL) {
34 uintptr_t offset = frames[i].absolute_pc - symbol->start;
35 fprintf(stderr, " %s (%s%+d)\n", line, symbol->name, offset);
H A Dptrace.c137 const symbol_t* symbol = NULL; local
141 symbol = find_symbol(data->symbol_table, addr - mi->start);
145 *out_symbol = symbol;
H A Dsymbol_table.c50 const symbol_t* symbol = (const symbol_t*)element; local
51 if (addr < symbol->start) return -1;
52 if (addr >= symbol->end) return 1;
58 ALOGV("Loading symbol table from '%s'.", filename);
126 // Iterate through the dynamic symbol table, and count how many symbols
137 // Iterate through the symbol table, and count how many symbols
149 // Now, create an entry in our symbol table structure for each symbol...
192 // Sort the symbol table entries, so they can be bsearched later
H A Dbacktrace.c237 static void init_backtrace_symbol(backtrace_symbol_t* symbol, uintptr_t pc) { argument
238 symbol->relative_pc = pc;
239 symbol->relative_symbol_addr = 0;
240 symbol->map_name = NULL;
241 symbol->symbol_name = NULL;
242 symbol->demangled_name = NULL;
250 backtrace_symbol_t* symbol = &backtrace_symbols[i]; local
251 init_backtrace_symbol(symbol, frame->absolute_pc);
255 symbol->relative_pc = frame->absolute_pc - mi->start;
257 symbol
278 backtrace_symbol_t* symbol = &backtrace_symbols[i]; local
300 backtrace_symbol_t* symbol = &backtrace_symbols[i]; local
308 format_backtrace_line(unsigned frameNumber, const backtrace_frame_t* frame __attribute__((unused)), const backtrace_symbol_t* symbol, char* buffer, size_t bufferSize) argument
[all...]
/system/core/debuggerd/
H A Dtombstone.c229 const symbol_t* symbol; local
230 find_symbol_ptrace(context, stack_content, &mi, &symbol);
232 if (symbol) {
233 char* demangled_name = demangle_symbol_name(symbol->name);
234 const char* symbol_name = demangled_name ? demangled_name : symbol->name;
235 uint32_t offset = stack_content - (mi->start + symbol->start);

Completed in 124 milliseconds