PE-sieve
Scans all running processes. Recognizes and dumps a variety of potentially malicious implants (replaced/implanted PEs, shellcodes, hooks, in-memory patches).
Loading...
Searching...
No Matches
import_table_finder.cpp
Go to the documentation of this file.
2
3IMAGE_IMPORT_DESCRIPTOR* pesieve::find_import_table(
4 IN bool is64bit,
5 IN BYTE* vBuf,
6 IN size_t vBufSize,
7 IN const peconv::ExportsMapper* exportsMap,
8 IN DWORD iat_offset,
9 OUT size_t &table_size,
10 IN OPTIONAL size_t search_offset
11)
12{
14 if (is64bit) {
16 vBuf,
17 vBufSize,
18 exportsMap,
22 );
23 }
24 else {
26 vBuf,
27 vBufSize,
28 exportsMap,
32 );
33 }
34 return import_table;
35}
size_t fill_iat(BYTE *vBuf, size_t vBufSize, IN const peconv::ExportsMapper *exportsMap, IN OUT IATBlock &iat, IN ThunkFoundCallback *callback)
Definition iat_finder.h:31
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)