mirror of
https://github.com/QuasarApp/pe-parse.git
synced 2025-04-29 13:54:33 +00:00
.
This commit is contained in:
parent
d57fa227a8
commit
58643abf49
@ -14,6 +14,19 @@ typedef struct _parsed_pe {
|
|||||||
//get a PE parse context from a file
|
//get a PE parse context from a file
|
||||||
parsed_pe *ParsePEFromFile(const char *filePath);
|
parsed_pe *ParsePEFromFile(const char *filePath);
|
||||||
|
|
||||||
|
//destruct a PE context
|
||||||
void DestructParsedPE(parsed_pe *pe);
|
void DestructParsedPE(parsed_pe *pe);
|
||||||
|
|
||||||
|
//iterate over the imports by RVA and string
|
||||||
|
typedef void (*iterRVAStr)(void *, RVA, std::string &);
|
||||||
|
void IterImpRVAString(parsed_pe *pe, iterRVAStr cb, void *cbd);
|
||||||
|
|
||||||
|
//iterate over relocations in the PE file
|
||||||
|
typedef void (*iterReloc)(void *, RVA);
|
||||||
|
void IterRelocs(parsed_pe *pe, iterReloc cb, void *cbd);
|
||||||
|
|
||||||
|
//iterate over the exports by RVA
|
||||||
|
typedef void (*iterRVA)(void *, RVA);
|
||||||
|
void IterExpRVA(parsed_pe *pe, iterRVA cb, void *cbd);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user