Dyninst::Elf_X_Sym Class Reference

#include <Elf_X.h>

Public Member Functions

 Elf_X_Sym ()
 Elf_X_Sym (bool is64_, Elf_Data *input)
unsigned long st_name (int i) const
unsigned long st_value (int i) const
unsigned long st_size (int i) const
unsigned char st_info (int i) const
unsigned char st_other (int i) const
unsigned short st_shndx (int i) const
unsigned char ST_BIND (int i) const
unsigned char ST_TYPE (int i) const
unsigned char ST_VISIBILITY (int i) const
void * st_symptr (int i) const
unsigned st_entsize () const
void st_name (int i, unsigned long input)
void st_value (int i, unsigned long input)
void st_size (int i, unsigned long input)
void st_info (int i, unsigned char input)
void st_other (int i, unsigned char input)
void st_shndx (int i, unsigned short input)
unsigned long count () const
bool isValid () const

Protected Attributes

Elf_Data * data
Elf32_Sym * sym32
Elf64_Sym * sym64
bool is64

Detailed Description

Definition at line 411 of file Elf_X.h.


Constructor & Destructor Documentation

Elf_X_Sym::Elf_X_Sym (  ) 

Definition at line 1222 of file Elf_X.C.

Elf_X_Sym::Elf_X_Sym ( bool  is64_,
Elf_Data *  input 
)

Definition at line 1226 of file Elf_X.C.

References data, is64, sym32, and sym64.


Member Function Documentation

unsigned long Elf_X_Sym::count (  )  const

Definition at line 1351 of file Elf_X.C.

References data, and is64.

Referenced by Dyninst::SymElf::createSymCache(), and Dyninst::SymtabAPI::Object::parse_dynamicSymbols().

bool Elf_X_Sym::isValid (  )  const
unsigned char Elf_X_Sym::ST_BIND ( int  i  )  const

Definition at line 1278 of file Elf_X.C.

References is64, st_info(), sym32, and sym64.

Referenced by Dyninst::SymtabAPI::Object::parse_dynamicSymbols().

unsigned Elf_X_Sym::st_entsize (  )  const

Definition at line 1306 of file Elf_X.C.

References is64.

Referenced by Dyninst::SymElf::lookupCachedSymbol().

void Elf_X_Sym::st_info ( int  i,
unsigned char  input 
)

Definition at line 1332 of file Elf_X.C.

References is64, sym32, and sym64.

unsigned char Elf_X_Sym::st_info ( int  i  )  const

Definition at line 1257 of file Elf_X.C.

References is64, sym32, and sym64.

Referenced by ST_BIND(), and ST_TYPE().

void Elf_X_Sym::st_name ( int  i,
unsigned long  input 
)

Definition at line 1314 of file Elf_X.C.

References is64, sym32, and sym64.

unsigned long Elf_X_Sym::st_name ( int  i  )  const
void Elf_X_Sym::st_other ( int  i,
unsigned char  input 
)

Definition at line 1338 of file Elf_X.C.

References is64, sym32, and sym64.

unsigned char Elf_X_Sym::st_other ( int  i  )  const

Definition at line 1264 of file Elf_X.C.

References is64, sym32, and sym64.

Referenced by ST_VISIBILITY().

void Elf_X_Sym::st_shndx ( int  i,
unsigned short  input 
)

Definition at line 1344 of file Elf_X.C.

References is64, sym32, and sym64.

unsigned short Elf_X_Sym::st_shndx ( int  i  )  const

Definition at line 1271 of file Elf_X.C.

References is64, sym32, and sym64.

Referenced by Dyninst::SymtabAPI::Object::parse_dynamicSymbols().

void Elf_X_Sym::st_size ( int  i,
unsigned long  input 
)

Definition at line 1326 of file Elf_X.C.

References is64, sym32, and sym64.

unsigned long Elf_X_Sym::st_size ( int  i  )  const

Definition at line 1250 of file Elf_X.C.

References is64, sym32, and sym64.

Referenced by Dyninst::SymtabAPI::Object::parse_dynamicSymbols().

void * Elf_X_Sym::st_symptr ( int  i  )  const

Definition at line 1299 of file Elf_X.C.

References is64, sym32, and sym64.

unsigned char Elf_X_Sym::ST_TYPE ( int  i  )  const
void Elf_X_Sym::st_value ( int  i,
unsigned long  input 
)

Definition at line 1320 of file Elf_X.C.

References is64, sym32, and sym64.

unsigned long Elf_X_Sym::st_value ( int  i  )  const
unsigned char Elf_X_Sym::ST_VISIBILITY ( int  i  )  const

Definition at line 1292 of file Elf_X.C.

References is64, st_other(), sym32, and sym64.

Referenced by Dyninst::SymtabAPI::Object::parse_dynamicSymbols().


Field Documentation

Elf_Data* Dyninst::Elf_X_Sym::data [protected]

Definition at line 442 of file Elf_X.h.

Referenced by count(), and Elf_X_Sym().

bool Dyninst::Elf_X_Sym::is64 [protected]
Elf32_Sym* Dyninst::Elf_X_Sym::sym32 [protected]
Elf64_Sym* Dyninst::Elf_X_Sym::sym64 [protected]

The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1