forked from hasherezade/pe-sieve
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from hasherezade/master
Merge branch 'imp_rec_refact' (Issue hasherezade#91)
- Loading branch information
Showing
6 changed files
with
98 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1 @@ | ||
#include "iat_finder.h" | ||
|
||
pesieve::IATBlock* pesieve::find_iat_block( | ||
IN bool is64bit, | ||
IN BYTE* vBuf, | ||
IN size_t vBufSize, | ||
IN const peconv::ExportsMapper* exportsMap, | ||
IN OPTIONAL size_t search_offset | ||
) | ||
{ | ||
IATBlock* iat_block = nullptr; | ||
if (is64bit) { | ||
iat_block = find_iat<ULONGLONG>(true, vBuf, vBufSize, exportsMap, search_offset); | ||
} | ||
else { | ||
iat_block = find_iat<DWORD>(false, vBuf, vBufSize, exportsMap, search_offset); | ||
} | ||
return iat_block; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters