From 283803f4dba1c92c6c7db18b6f3b46c0fa62e0ff Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 19 Nov 2016 15:19:11 -0500 Subject: PE format: update code following libpemagine's pre-alpha API update. --- src/process/ntapi_tt_map_image_as_data.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/process') diff --git a/src/process/ntapi_tt_map_image_as_data.c b/src/process/ntapi_tt_map_image_as_data.c index 62a7f69..d7171e4 100644 --- a/src/process/ntapi_tt_map_image_as_data.c +++ b/src/process/ntapi_tt_map_image_as_data.c @@ -50,10 +50,10 @@ int32_t __stdcall __ntapi_tt_exec_map_image_as_data(nt_executable_image * image) void * base; void * hsection; - struct pe_image_dos_hdr * dos; - struct pe_coff_file_hdr * coff; - union pe_opt_hdr * opt; - struct pe_sec_hdr * sec; + struct pe_raw_image_dos_hdr * dos; + struct pe_raw_coff_file_hdr * coff; + union pe_raw_opt_hdr * opt; + struct pe_raw_sec_hdr * sec; nt_oa oa = {sizeof(oa), 0,0,0,0,(nt_sqos *)&sqos}; -- cgit v1.2.3