BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable Class Reference

#include <pepatch.h>

List of all members.

Classes

struct  LibraryEntry

Public Types

typedef char * LibraryRecord
typedef char * LibraryRecord

Public Member Functions

 ImportTable (char *pImageAddr=NULL, char *pImportAddr=NULL, void *pContext=NULL)
bool Valid ()
LibraryRecord FindLibraryRecord (const char *pLibraryName)
void * GetFunctionAddress (LibraryRecord rec, const char *pNameFunction)
bool SetFunctionAddress (LibraryRecord rec, const char *pNameFunction, void *pAddr)

Protected Member Functions

void ** LookupAddressEntry (LibraryRecord rec, const char *pNameFunction)

Private Attributes

char * m_pImageAddr
char * m_pImportAddr
void * m_pContext

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
class BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable


Member Typedef Documentation

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
typedef char* BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::LibraryRecord

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
typedef char* BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::LibraryRecord


Constructor & Destructor Documentation

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::ImportTable ( char *  pImageAddr = NULL,
char *  pImportAddr = NULL,
void *  pContext = NULL 
) [inline]


Member Function Documentation

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
LibraryRecord BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::FindLibraryRecord ( const char *  pLibraryName  )  [inline]

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
void* BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::GetFunctionAddress ( LibraryRecord  rec,
const char *  pNameFunction 
) [inline]

Here is the call graph for this function:

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
void** BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::LookupAddressEntry ( LibraryRecord  rec,
const char *  pNameFunction 
) [inline, protected]

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
bool BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::SetFunctionAddress ( LibraryRecord  rec,
const char *  pNameFunction,
void *  pAddr 
) [inline]

Here is the call graph for this function:

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
bool BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::Valid (  )  [inline]


Member Data Documentation

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
void* BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::m_pContext [private]

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
char* BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::m_pImageAddr [private]

template<ptr_LocateImportsSection _LocateImportsSectionFunc = NULL, copyfunc rdfunc = _simplecpy, copyfunc wrfunc = _simplecpy>
char* BazisLib::Win32::ImportTablePatcher< _LocateImportsSectionFunc, rdfunc, wrfunc >::ImportTable::m_pImportAddr [private]


The documentation for this class was generated from the following file:
SourceForge.net Logo