6 template <
typename FIELD_T>
12 if (
desc->TimeDateStamp != 0 &&
desc->TimeDateStamp != (-1)) {
16 if (!peconv::validate_ptr(vBuf, vBufSize,
name_ptr,
sizeof(
char))) {
20 if (!peconv::is_valid_import_name(vBuf, vBufSize,
name_ptr))
return 0;
22 std::cout <<
"DLL: " <<
name_ptr <<
"\n";
25 if (
desc->FirstThunk == 0 &&
desc->OriginalFirstThunk == 0) {
37 const peconv::ExportedFunc *
exp = exportsMap->find_export_by_va(*
thunk_ptr);
44 template <
typename FIELD_T>
47 if (!vBuf || !exportsMap || !
first_desc)
return 0;
57 if (
desc->FirstThunk == 0 &&
desc->OriginalFirstThunk == 0) {
66 template <
typename FIELD_T>
69 if (!vBuf || !exportsMap || !
found_desc)
return nullptr;
86 template <
typename FIELD_T>
89 IN const peconv::ExportsMapper* exportsMap,
99 size_t max_check = vBufSize -
sizeof(DWORD);
128 IN const peconv::ExportsMapper* exportsMap,
IMAGE_IMPORT_DESCRIPTOR * find_import_table_tpl(IN BYTE *vBuf, IN size_t vBufSize, IN const peconv::ExportsMapper *exportsMap, IN DWORD iat_offset, OUT size_t &table_size, IN OPTIONAL size_t search_offset)
size_t calc_import_table_size(BYTE *vBuf, size_t vBufSize, IN const peconv::ExportsMapper *exportsMap, IMAGE_IMPORT_DESCRIPTOR *first_desc)
size_t fill_iat(BYTE *vBuf, size_t vBufSize, IN const peconv::ExportsMapper *exportsMap, IN OUT IATBlock &iat, IN ThunkFoundCallback *callback)
IMAGE_IMPORT_DESCRIPTOR * find_first_import_descriptor(BYTE *vBuf, size_t vBufSize, IN const peconv::ExportsMapper *exportsMap, IMAGE_IMPORT_DESCRIPTOR *found_desc)
IMAGE_IMPORT_DESCRIPTOR * find_import_table(IN bool is64bit, IN BYTE *vBuf, IN size_t vBufSize, IN const peconv::ExportsMapper *exportsMap, IN DWORD iat_offset, OUT size_t &table_size, IN OPTIONAL size_t search_offset)
bool is_valid_import_descriptor(BYTE *vBuf, size_t vBufSize, IN const peconv::ExportsMapper *exportsMap, IMAGE_IMPORT_DESCRIPTOR *desc)