Lines Matching defs:symbol
327 TRACE(("SymbolLookup::LookupSymbolAddress(): done: symbol: %p, image name: "
333 // symbol not found -- return the image itself
602 // search the image for the symbol
612 const elf_sym *symbol = &fSymbolLookup->Read(fImage->syms[i]);
614 // The symbol table contains not only symbols referring to functions
619 // symbol defined elsewhere -- couldn't verify that in the specs
621 if ((symbol->Type() != STT_FUNC && symbol->Type() != STT_OBJECT)
622 || symbol->st_value == 0
623 || symbol->st_value + symbol->st_size + textRegion->delta
629 addr_t symbolAddress = symbol->st_value + textRegion->delta;
637 SYMNAME(fImage, symbol), 1);
642 symbolFound = symbol;
644 if (symbolDelta >= 0 && symbolDelta < symbol->st_size) {
652 TRACE(("LoadedImage::LookupSymbol(): done: symbol: %p, image name: "
679 const elf_sym* symbol
681 if ((symbol->Type() != STT_FUNC && symbol->Type() != STT_OBJECT)
682 || symbol->st_value == 0) {
687 SYMNAME(fImage, symbol), 1);
689 *_symbolAddress = symbol->st_value + fTextDelta;
690 *_symbolSize = symbol->st_size;
691 *_symbolType = symbol->Type() == STT_FUNC ? B_SYMBOL_TYPE_TEXT