Dyninst::Elf_X_Shdr Class Reference

#include <Elf_X.h>

Public Member Functions

 Elf_X_Shdr ()
 Elf_X_Shdr (bool is64_, Elf_Scn *input)
unsigned long sh_name () const
unsigned long sh_type () const
unsigned long sh_flags () const
unsigned long sh_addr () const
unsigned long sh_offset () const
unsigned long sh_size () const
unsigned long sh_link () const
unsigned long sh_info () const
unsigned long sh_addralign () const
unsigned long sh_entsize () const
bool isFromDebugFile () const
void sh_name (unsigned long input)
void sh_type (unsigned long input)
void sh_flags (unsigned long input)
void sh_addr (unsigned long input)
void sh_offset (unsigned long input)
void sh_size (unsigned long input)
void sh_link (unsigned long input)
void sh_info (unsigned long input)
void sh_addralign (unsigned long input)
void sh_entsize (unsigned long input)
void setDebugFile (bool b)
Elf_X_Data get_data () const
void first_data ()
bool next_data ()
bool isValid () const
unsigned wordSize () const
Elf_Scn * getScn () const
Elf_X_Nhdr get_note () const

Protected Attributes

Elf_Scn * scn
Elf_Data * data
Elf32_Shdr * shdr32
Elf64_Shdr * shdr64
bool is64
bool fromDebugFile
const Elf_X_elf

Friends

class Elf_X

Detailed Description

Definition at line 189 of file Elf_X.h.


Constructor & Destructor Documentation

Elf_X_Shdr::Elf_X_Shdr (  ) 

Definition at line 606 of file Elf_X.C.

Elf_X_Shdr::Elf_X_Shdr ( bool  is64_,
Elf_Scn *  input 
)

Definition at line 611 of file Elf_X.C.

References first_data(), is64, scn, shdr32, and shdr64.


Member Function Documentation

void Elf_X_Shdr::first_data (  ) 

Definition at line 782 of file Elf_X.C.

References data, and scn.

Referenced by Elf_X_Shdr().

Elf_X_Data Elf_X_Shdr::get_data (  )  const
Elf_X_Nhdr Elf_X_Shdr::get_note (  )  const

Definition at line 809 of file Elf_X.C.

References data, and sh_type().

Elf_Scn * Elf_X_Shdr::getScn (  )  const

Definition at line 804 of file Elf_X.C.

References scn.

bool Elf_X_Shdr::isFromDebugFile (  )  const

Definition at line 704 of file Elf_X.C.

References fromDebugFile.

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

bool Elf_X_Shdr::isValid (  )  const
bool Elf_X_Shdr::next_data (  ) 

Definition at line 787 of file Elf_X.C.

References data, and scn.

void Elf_X_Shdr::setDebugFile ( bool  b  ) 

Definition at line 770 of file Elf_X.C.

References fromDebugFile.

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

void Elf_X_Shdr::sh_addr ( unsigned long  input  ) 

Definition at line 728 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_addr (  )  const
void Elf_X_Shdr::sh_addralign ( unsigned long  input  ) 

Definition at line 758 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_addralign (  )  const

Definition at line 690 of file Elf_X.C.

References is64, shdr32, and shdr64.

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

void Elf_X_Shdr::sh_entsize ( unsigned long  input  ) 

Definition at line 764 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_entsize (  )  const
void Elf_X_Shdr::sh_flags ( unsigned long  input  ) 

Definition at line 722 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_flags (  )  const
void Elf_X_Shdr::sh_info ( unsigned long  input  ) 

Definition at line 752 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_info (  )  const

Definition at line 683 of file Elf_X.C.

References is64, shdr32, and shdr64.

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

void Elf_X_Shdr::sh_link ( unsigned long  input  ) 

Definition at line 746 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_link (  )  const
void Elf_X_Shdr::sh_name ( unsigned long  input  ) 

Definition at line 710 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_name (  )  const
void Elf_X_Shdr::sh_offset ( unsigned long  input  ) 

Definition at line 734 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_offset (  )  const
void Elf_X_Shdr::sh_size ( unsigned long  input  ) 

Definition at line 740 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_size (  )  const
void Elf_X_Shdr::sh_type ( unsigned long  input  ) 

Definition at line 716 of file Elf_X.C.

References is64, shdr32, and shdr64.

unsigned long Elf_X_Shdr::sh_type (  )  const
unsigned Elf_X_Shdr::wordSize (  )  const

Definition at line 799 of file Elf_X.C.

References is64.


Friends And Related Function Documentation

friend class Elf_X [friend]

Definition at line 190 of file Elf_X.h.


Field Documentation

const Elf_X* Dyninst::Elf_X_Shdr::_elf [protected]

Definition at line 242 of file Elf_X.h.

Referenced by sh_addr().

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

Definition at line 237 of file Elf_X.h.

Referenced by first_data(), get_data(), get_note(), and next_data().

Definition at line 241 of file Elf_X.h.

Referenced by isFromDebugFile(), and setDebugFile().

bool Dyninst::Elf_X_Shdr::is64 [protected]
Elf_Scn* Dyninst::Elf_X_Shdr::scn [protected]

Definition at line 236 of file Elf_X.h.

Referenced by Elf_X_Shdr(), first_data(), getScn(), and next_data().

Elf32_Shdr* Dyninst::Elf_X_Shdr::shdr32 [protected]
Elf64_Shdr* Dyninst::Elf_X_Shdr::shdr64 [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