Lines Matching defs:symbol

251   // An abstraction of the symbol table.  This is loaded lazily, on
598 /// Find and return a pointer to the ELF symbol table
601 /// @return a pointer to the ELF symbol table section.
611 /// Clear the pointer to the ELF symbol table section.
661 /// Getter of an abstract representation of the symbol table of the
664 /// Note that the symbol table is loaded lazily, upon the first
667 /// @returnt the symbol table.
676 [&](const elf_symbol_sptr& symbol)
677 {return suppr::is_elf_symbol_suppressed(*this, symbol);});
685 /// Test if a given function symbol has been exported.
687 /// @param symbol_address the address of the symbol we are looking
692 /// @return the elf symbol if found, or nil otherwise.
696 elf_symbol_sptr symbol = symtab()->lookup_symbol(symbol_address);
697 if (!symbol)
698 return symbol;
700 if (!symbol->is_function() || !symbol->is_public())
709 if (symbol->is_in_ksymtab())
710 return symbol;
714 return symbol;
717 /// Test if a given variable symbol has been exported.
719 /// @param symbol_address the address of the symbol we are looking
724 /// @return the elf symbol if found, or nil otherwise.
728 elf_symbol_sptr symbol = symtab()->lookup_symbol(symbol_address);
729 if (!symbol)
730 return symbol;
732 if (!symbol->is_variable() || !symbol->is_public())
741 if (symbol->is_in_ksymtab())
742 return symbol;
746 return symbol;
749 /// Test if a given function symbol has been exported.
751 /// @param name the name of the symbol we are looking for.
753 /// @return the elf symbol if found, or nil otherwise.
778 /// Test if a given variable symbol has been exported.
780 /// @param name the name of the symbol we are looking
783 /// @return the elf symbol if found, or nil otherwise.
840 /// This function loads ELF data that are not symbol maps or debug
846 // Note that we don't load the symbol table as it's loaded lazily,
858 /// information. Rather, it will only have ELF symbol representation.
883 // See if we could find symbol tables.
887 // We found no ELF symbol, so we can't handle the binary.