36 virtual bool processThunks(LPSTR libName, ULONG_PTR origFirstThunkPtr, ULONG_PTR firstThunkPtr) = 0;
51 std::map<DWORD, peconv::ExportedFunc*>::iterator itr;
99 bool collect_thunks(IN BYTE* modulePtr, IN SIZE_T moduleSize, OUT std::set<DWORD>& thunk_rvas);
virtual bool processThunks(LPSTR libName, ULONG_PTR origFirstThunkPtr, ULONG_PTR firstThunkPtr)=0
ImportThunksCallback(BYTE *_modulePtr, size_t _moduleSize)
A definition of ExportsMapper class. Creates a lookup of all the exported functions from the supplied...
Definitions of basic Imports Resolver classes. They can be used for filling imports when the PE is lo...
bool has_valid_import_table(const PBYTE modulePtr, size_t moduleSize)
bool process_import_table(IN BYTE *modulePtr, IN SIZE_T moduleSize, IN ImportThunksCallback *callback)
bool collect_thunks(IN BYTE *modulePtr, IN SIZE_T moduleSize, OUT std::set< DWORD > &thunk_rvas)
bool is64bit(IN const BYTE *pe_buffer)
bool is_valid_import_name(const PBYTE modulePtr, const size_t moduleSize, LPSTR lib_name)
bool collect_imports(IN BYTE *modulePtr, IN SIZE_T moduleSize, OUT ImportsCollection &collection)
bool load_imports(BYTE *modulePtr, t_function_resolver *func_resolver=nullptr)
Wrappers over various fields in the PE header. Read, write, parse PE headers.
std::map< DWORD, peconv::ExportedFunc * > thunkToFunc