Change pe_find_section interface

This commit is contained in:
mkrsym1
2023-08-04 00:28:53 +03:00
parent 5e2b015cc0
commit dcb482ab8e
3 changed files with 9 additions and 5 deletions

View File

@ -2,5 +2,10 @@
#include <windows.h>
void pe_find_section(HMODULE module, const char *section, MEMORY_BASIC_INFORMATION *buf);
struct pe_section_info {
void *base_address;
size_t initialized_size;
};
void pe_find_section(HMODULE module, const char *section, struct pe_section_info *buf);
void *pe_find_entry_point(HMODULE module);