summaryrefslogtreecommitdiff
path: root/src/reader
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-30 19:59:44 -0500
committermidipix <writeonce@midipix.org>2016-11-30 19:59:44 -0500
commitb6ce09976af9f8fe50846806296d4c2b7fccda10 (patch)
treed5af880de408020ee8340823981efc48b2a33dcb /src/reader
parent9fdefdbcf17d60170da462a8c65ad0f863b3f465 (diff)
downloadperk-b6ce09976af9f8fe50846806296d4c2b7fccda10.tar.bz2
perk-b6ce09976af9f8fe50846806296d4c2b7fccda10.tar.xz
struct pe_{raw|meta}_opt_hdr_img: member name normalization.
Diffstat (limited to 'src/reader')
-rw-r--r--src/reader/pe_read_optional_header.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/reader/pe_read_optional_header.c b/src/reader/pe_read_optional_header.c
index f331604..148dc2d 100644
--- a/src/reader/pe_read_optional_header.c
+++ b/src/reader/pe_read_optional_header.c
@@ -70,12 +70,12 @@ static int pe_read_optional_header_structs(const union pe_raw_opt_hdr * p, struc
m->align.coh_file_align = pe_read_long(aalign->coh_file_align);
/* img */
- m->img.size_of_image = pe_read_long(aimg->size_of_image);
- m->img.size_of_headers = pe_read_long(aimg->size_of_headers);
- m->img.checksum = pe_read_long(aimg->checksum);
+ m->img.coh_size_of_image = pe_read_long(aimg->coh_size_of_image);
+ m->img.coh_size_of_headers = pe_read_long(aimg->coh_size_of_headers);
+ m->img.coh_checksum = pe_read_long(aimg->coh_checksum);
- m->img.subsystem = pe_read_short(aimg->subsystem);
- m->img.dll_characteristics = pe_read_short(aimg->dll_characteristics);
+ m->img.coh_subsystem = pe_read_short(aimg->coh_subsystem);
+ m->img.coh_dll_characteristics = pe_read_short(aimg->coh_dll_characteristics);
/* ldr */
m->ldr.loader_flags = pe_read_long(aldr->loader_flags);