summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 15:19:11 -0500
committermidipix <writeonce@midipix.org>2016-11-19 15:19:11 -0500
commit283803f4dba1c92c6c7db18b6f3b46c0fa62e0ff (patch)
tree1aac34f8ac897f1e0bb9a99166bd739240148e49 /src/process
parent59dda176a9ae54404d3f8074c9226e981b638ab3 (diff)
downloadntapi-283803f4dba1c92c6c7db18b6f3b46c0fa62e0ff.tar.bz2
ntapi-283803f4dba1c92c6c7db18b6f3b46c0fa62e0ff.tar.xz
PE format: update code following libpemagine's pre-alpha API update.
Diffstat (limited to 'src/process')
-rw-r--r--src/process/ntapi_tt_map_image_as_data.c8
1 files changed, 4 insertions, 4 deletions
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};