Planeshift
google_breakpad::DynamicImage Class Reference

#include <dynamic_images.h>

Public Member Functions

 DynamicImage (uint8_t *header, size_t header_size, uint64_t load_address, string file_path, uintptr_t image_mod_date, mach_port_t task, cpu_type_t cpu_type)
 
cpu_type_t GetCPUType ()
 
string GetFilePath ()
 
uint32_t GetFileType ()
 
size_t GetHeaderSize () const
 
uint64_t GetLoadAddress () const
 
uint64_t GetModDate () const
 
mach_port_t GetTask ()
 
uint32_t GetVersion ()
 
mach_vm_address_t GetVMAddr () const
 
ptrdiff_t GetVMAddrSlide () const
 
mach_vm_size_t GetVMSize () const
 
bool Is64Bit ()
 
bool IsValid ()
 
bool operator< (const DynamicImage &inInfo)
 

Friends

template<typename MachBits >
bool FindTextSection (DynamicImage &image)
 
template<typename MachBits >
uint32_t GetFileTypeFromHeader (DynamicImage &image)
 

Detailed Description

Definition at line 109 of file dynamic_images.h.

Constructor & Destructor Documentation

google_breakpad::DynamicImage::DynamicImage ( uint8_t *  header,
size_t  header_size,
uint64_t  load_address,
string  file_path,
uintptr_t  image_mod_date,
mach_port_t  task,
cpu_type_t  cpu_type 
)
inline

Definition at line 111 of file dynamic_images.h.

Member Function Documentation

cpu_type_t google_breakpad::DynamicImage::GetCPUType ( )
inline

Definition at line 156 of file dynamic_images.h.

string google_breakpad::DynamicImage::GetFilePath ( )
inline

Definition at line 136 of file dynamic_images.h.

uint32_t google_breakpad::DynamicImage::GetFileType ( )
size_t google_breakpad::DynamicImage::GetHeaderSize ( ) const
inline

Definition at line 133 of file dynamic_images.h.

uint64_t google_breakpad::DynamicImage::GetLoadAddress ( ) const
inline

Definition at line 141 of file dynamic_images.h.

uint64_t google_breakpad::DynamicImage::GetModDate ( ) const
inline

Definition at line 138 of file dynamic_images.h.

mach_port_t google_breakpad::DynamicImage::GetTask ( )
inline

Definition at line 153 of file dynamic_images.h.

uint32_t google_breakpad::DynamicImage::GetVersion ( )
inline

Definition at line 164 of file dynamic_images.h.

mach_vm_address_t google_breakpad::DynamicImage::GetVMAddr ( ) const
inline

Definition at line 144 of file dynamic_images.h.

ptrdiff_t google_breakpad::DynamicImage::GetVMAddrSlide ( ) const
inline

Definition at line 147 of file dynamic_images.h.

mach_vm_size_t google_breakpad::DynamicImage::GetVMSize ( ) const
inline

Definition at line 150 of file dynamic_images.h.

bool google_breakpad::DynamicImage::Is64Bit ( )
inline

Definition at line 162 of file dynamic_images.h.

bool google_breakpad::DynamicImage::IsValid ( void  )
inline

Definition at line 171 of file dynamic_images.h.

bool google_breakpad::DynamicImage::operator< ( const DynamicImage inInfo)
inline

Definition at line 166 of file dynamic_images.h.

Friends And Related Function Documentation

template<typename MachBits >
bool FindTextSection ( DynamicImage image)
friend
template<typename MachBits >
uint32_t GetFileTypeFromHeader ( DynamicImage image)
friend

The documentation for this class was generated from the following file: