Dyninst::Elf_X_Phdr Class Reference

#include <Elf_X.h>

Public Member Functions

 Elf_X_Phdr ()
 Elf_X_Phdr (bool is64_, void *input)
unsigned long p_type () const
unsigned long p_offset () const
unsigned long p_vaddr () const
unsigned long p_paddr () const
unsigned long p_filesz () const
unsigned long p_memsz () const
unsigned long p_flags () const
unsigned long p_align () const
void p_type (unsigned long input)
void p_offset (unsigned long input)
void p_vaddr (unsigned long input)
void p_paddr (unsigned long input)
void p_filesz (unsigned long input)
void p_memsz (unsigned long input)
void p_flags (unsigned long input)
void p_align (unsigned long input)
bool isValid () const

Private Attributes

Elf32_Phdr * phdr32
Elf64_Phdr * phdr64
bool is64

Friends

class Elf_X

Detailed Description

Definition at line 153 of file Elf_X.h.


Constructor & Destructor Documentation

Elf_X_Phdr::Elf_X_Phdr (  ) 

Definition at line 480 of file Elf_X.C.

Elf_X_Phdr::Elf_X_Phdr ( bool  is64_,
void *  input 
)

Definition at line 484 of file Elf_X.C.

References is64, phdr32, and phdr64.


Member Function Documentation

bool Elf_X_Phdr::isValid (  )  const

Definition at line 599 of file Elf_X.C.

References phdr32, and phdr64.

void Elf_X_Phdr::p_align ( unsigned long  input  ) 

Definition at line 593 of file Elf_X.C.

References is64, phdr32, and phdr64.

unsigned long Elf_X_Phdr::p_align (  )  const

Definition at line 543 of file Elf_X.C.

References is64, phdr32, and phdr64.

void Elf_X_Phdr::p_filesz ( unsigned long  input  ) 

Definition at line 575 of file Elf_X.C.

References is64, phdr32, and phdr64.

unsigned long Elf_X_Phdr::p_filesz (  )  const

Definition at line 522 of file Elf_X.C.

References is64, phdr32, and phdr64.

Referenced by Dyninst::SymtabAPI::Object::find_code_and_data(), and Dyninst::SymElf::getSegment().

void Elf_X_Phdr::p_flags ( unsigned long  input  ) 

Definition at line 587 of file Elf_X.C.

References is64, phdr32, and phdr64.

unsigned long Elf_X_Phdr::p_flags (  )  const

Definition at line 536 of file Elf_X.C.

References is64, phdr32, and phdr64.

Referenced by Dyninst::SymtabAPI::Object::find_code_and_data(), and Dyninst::SymElf::getSegment().

void Elf_X_Phdr::p_memsz ( unsigned long  input  ) 

Definition at line 581 of file Elf_X.C.

References is64, phdr32, and phdr64.

unsigned long Elf_X_Phdr::p_memsz (  )  const
void Elf_X_Phdr::p_offset ( unsigned long  input  ) 

Definition at line 557 of file Elf_X.C.

References is64, phdr32, and phdr64.

unsigned long Elf_X_Phdr::p_offset (  )  const
void Elf_X_Phdr::p_paddr ( unsigned long  input  ) 

Definition at line 569 of file Elf_X.C.

References is64, phdr32, and phdr64.

unsigned long Elf_X_Phdr::p_paddr (  )  const

Definition at line 515 of file Elf_X.C.

References is64, phdr32, and phdr64.

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

void Elf_X_Phdr::p_type ( unsigned long  input  ) 

Definition at line 551 of file Elf_X.C.

References is64, phdr32, and phdr64.

unsigned long Elf_X_Phdr::p_type (  )  const
void Elf_X_Phdr::p_vaddr ( unsigned long  input  ) 

Definition at line 563 of file Elf_X.C.

References is64, phdr32, and phdr64.

unsigned long Elf_X_Phdr::p_vaddr (  )  const

Friends And Related Function Documentation

friend class Elf_X [friend]

Definition at line 154 of file Elf_X.h.


Field Documentation

bool Dyninst::Elf_X_Phdr::is64 [private]

Definition at line 184 of file Elf_X.h.

Referenced by Elf_X_Phdr(), p_align(), p_filesz(), p_flags(), p_memsz(), p_offset(), p_paddr(), p_type(), and p_vaddr().

Elf32_Phdr* Dyninst::Elf_X_Phdr::phdr32 [private]
Elf64_Phdr* Dyninst::Elf_X_Phdr::phdr64 [private]

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