diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 14:44:25 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 14:44:25 -0500 |
commit | de5b3010350adbf3c5b9ceb12ddc0a2658a0f5ac (patch) | |
tree | 05dc766ecb9a740d02fec195d7f2416659ea886e /src/headers | |
parent | 70b202ce6334016bfd90be0dd7ee28b9a2262946 (diff) | |
download | pemagine-de5b3010350adbf3c5b9ceb12ddc0a2658a0f5ac.tar.bz2 pemagine-de5b3010350adbf3c5b9ceb12ddc0a2658a0f5ac.tar.xz |
PE format: struct pe_image_dos_hdr --> struct pe_raw_image_dos_hdr.
Diffstat (limited to 'src/headers')
-rw-r--r-- | src/headers/pe_get_image_coff_hdr_addr.c | 2 | ||||
-rw-r--r-- | src/headers/pe_get_image_dos_hdr_addr.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/headers/pe_get_image_coff_hdr_addr.c b/src/headers/pe_get_image_coff_hdr_addr.c index d2ff03a..6951095 100644 --- a/src/headers/pe_get_image_coff_hdr_addr.c +++ b/src/headers/pe_get_image_coff_hdr_addr.c @@ -12,7 +12,7 @@ pe_api struct pe_coff_file_hdr * pe_get_image_coff_hdr_addr(const void * base) { - struct pe_image_dos_hdr * dos; + struct pe_raw_image_dos_hdr * dos; struct pe_coff_file_hdr * coff; uint32_t * offset; diff --git a/src/headers/pe_get_image_dos_hdr_addr.c b/src/headers/pe_get_image_dos_hdr_addr.c index 279d04e..a18f1df 100644 --- a/src/headers/pe_get_image_dos_hdr_addr.c +++ b/src/headers/pe_get_image_dos_hdr_addr.c @@ -11,11 +11,11 @@ #include <pemagine/pemagine.h> pe_api -struct pe_image_dos_hdr * pe_get_image_dos_hdr_addr(const void * base) +struct pe_raw_image_dos_hdr * pe_get_image_dos_hdr_addr(const void * base) { - struct pe_image_dos_hdr * dos; + struct pe_raw_image_dos_hdr * dos; - dos = (struct pe_image_dos_hdr *)base; + dos = (struct pe_raw_image_dos_hdr *)base; if ((dos->dos_magic[0] == 'M') && (dos->dos_magic[1] == 'Z')) return dos; |