Dyninst::SystemTapEntries Class Reference

#include <SystemTap.h>

Data Structures

struct  Arg
struct  Entry

Public Types

typedef std::map< std::string,
const Entry * > 
entry_list_t

Public Member Functions

const entry_list_tentryList ()

Static Public Member Functions

static SystemTapEntriescreateSystemTapEntries (Elf_X *file_)

Private Member Functions

 SystemTapEntries (Elf_X *file_)
 ~SystemTapEntries ()
bool readAddr (const unsigned char *buffer, size_t size, unsigned &offset, Dyninst::Address &result, unsigned int read_size=0)
bool readString (const unsigned char *buffer, size_t bsize, unsigned &offset, std::string &result)
bool parse ()
bool parseAllNotes ()
bool parseNotes (const void *notes, size_t size)
bool parseOperands (std::string ops, Entry &entry)
bool parseOperand_x86 (std::string op, Arg &result)
bool parseOperand_ppc (std::string op, Arg &result)

Private Attributes

Elf_Xfile
Dyninst::Architecture arch
unsigned int word_size
entry_list_t name_to_entry

Static Private Attributes

static x86OperandParserx86_parser = NULL
static x86OperandParserx86_64_parser = NULL
static ppcOperandParserppc32_parser = NULL
static ppcOperandParserppc64_parser = NULL
static std::map< Elf_X
*, SystemTapEntries * > 
all_entries

Detailed Description

Definition at line 46 of file SystemTap.h.


Member Typedef Documentation

typedef std::map<std::string, const Entry *> Dyninst::SystemTapEntries::entry_list_t

Definition at line 64 of file SystemTap.h.


Constructor & Destructor Documentation

SystemTapEntries::SystemTapEntries ( Elf_X file_  )  [private]

Definition at line 84 of file SystemTap.C.

SystemTapEntries::~SystemTapEntries (  )  [private]

Definition at line 89 of file SystemTap.C.


Member Function Documentation

SystemTapEntries * SystemTapEntries::createSystemTapEntries ( Elf_X file_  )  [static]

Definition at line 67 of file SystemTap.C.

References all_entries.

const entry_list_t& Dyninst::SystemTapEntries::entryList (  )  [inline]

Definition at line 66 of file SystemTap.h.

References name_to_entry.

bool SystemTapEntries::parse (  )  [private]
bool SystemTapEntries::parseAllNotes (  )  [private]
bool SystemTapEntries::parseNotes ( const void *  notes,
size_t  size 
) [private]
bool SystemTapEntries::parseOperand_ppc ( std::string  op,
Arg result 
) [private]
bool SystemTapEntries::parseOperand_x86 ( std::string  op,
Arg result 
) [private]
bool SystemTapEntries::parseOperands ( std::string  ops,
Entry entry 
) [private]
bool SystemTapEntries::readAddr ( const unsigned char *  buffer,
size_t  size,
unsigned &  offset,
Dyninst::Address result,
unsigned int  read_size = 0 
) [private]

Definition at line 222 of file SystemTap.C.

References word_size.

Referenced by parseNotes().

bool SystemTapEntries::readString ( const unsigned char *  buffer,
size_t  bsize,
unsigned &  offset,
std::string &  result 
) [private]

Definition at line 240 of file SystemTap.C.

Referenced by parseNotes().


Field Documentation

map< Elf_X *, SystemTapEntries * > SystemTapEntries::all_entries [static, private]

Definition at line 76 of file SystemTap.h.

Referenced by createSystemTapEntries().

Definition at line 78 of file SystemTap.h.

Referenced by parse(), parseOperand_ppc(), parseOperand_x86(), and parseOperands().

Definition at line 77 of file SystemTap.h.

Referenced by parse(), and parseAllNotes().

Definition at line 93 of file SystemTap.h.

Referenced by entryList(), and parseNotes().

Definition at line 74 of file SystemTap.h.

Referenced by parseOperand_ppc().

Definition at line 75 of file SystemTap.h.

Referenced by parseOperand_ppc().

unsigned int Dyninst::SystemTapEntries::word_size [private]

Definition at line 79 of file SystemTap.h.

Referenced by parse(), and readAddr().

Definition at line 73 of file SystemTap.h.

Referenced by parseOperand_x86().

x86OperandParser * SystemTapEntries::x86_parser = NULL [static, private]

Definition at line 72 of file SystemTap.h.

Referenced by parseOperand_x86().


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