src/share/vm/utilities/elfSymbolTable.hpp

Print this page
rev 9503 : [mq]: fix_elf


  46 
  47   // search the symbol that is nearest to the specified address.
  48   bool lookup(address addr, int* stringtableIndex, int* posIndex, int* offset, ElfFuncDescTable* funcDescTable);
  49 
  50   NullDecoder::decoder_status get_status() { return m_status; };
  51 
  52  protected:
  53   ElfSymbolTable*  m_next;
  54 
  55   // holds a complete symbol table section if
  56   // can allocate enough memory
  57   Elf_Sym*            m_symbols;
  58 
  59   // file contains string table
  60   FILE*               m_file;
  61 
  62   // section header
  63   Elf_Shdr            m_shdr;
  64 
  65   NullDecoder::decoder_status  m_status;


  66 };
  67 
  68 #endif // !_WINDOWS and !__APPLE__
  69 
  70 #endif // SHARE_VM_UTILITIES_ELF_SYMBOL_TABLE_HPP


  46 
  47   // search the symbol that is nearest to the specified address.
  48   bool lookup(address addr, int* stringtableIndex, int* posIndex, int* offset, ElfFuncDescTable* funcDescTable);
  49 
  50   NullDecoder::decoder_status get_status() { return m_status; };
  51 
  52  protected:
  53   ElfSymbolTable*  m_next;
  54 
  55   // holds a complete symbol table section if
  56   // can allocate enough memory
  57   Elf_Sym*            m_symbols;
  58 
  59   // file contains string table
  60   FILE*               m_file;
  61 
  62   // section header
  63   Elf_Shdr            m_shdr;
  64 
  65   NullDecoder::decoder_status  m_status;
  66 
  67   bool compare(const Elf_Sym* sym, address addr, int* stringtableIndex, int* posIndex, int* offset, ElfFuncDescTable* funcDescTable);
  68 };
  69 
  70 #endif // !_WINDOWS and !__APPLE__
  71 
  72 #endif // SHARE_VM_UTILITIES_ELF_SYMBOL_TABLE_HPP