Change pe_find_section interface again, add error handling
This commit is contained in:
@ -2,10 +2,6 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
struct pe_section_info {
|
||||
void *base_address;
|
||||
size_t initialized_size;
|
||||
};
|
||||
IMAGE_SECTION_HEADER *pe_find_section(HMODULE module, const char *section);
|
||||
|
||||
void pe_find_section(HMODULE module, const char *section, struct pe_section_info *buf);
|
||||
void *pe_find_entry_point(HMODULE module);
|
||||
|
||||
Reference in New Issue
Block a user