summaryrefslogtreecommitdiff
path: root/src/reader
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-01 08:13:48 -0500
committermidipix <writeonce@midipix.org>2016-12-01 08:13:48 -0500
commitd1e52dbb6e080d5ee8456ed686f5d4026370c7b4 (patch)
tree8aba1cf6f96b5dffa5a92dbcfba326321ce3ea6d /src/reader
parent9740a33c5d6bb235cc3a4fa6e687ed35dd1b34cc (diff)
downloadperk-d1e52dbb6e080d5ee8456ed686f5d4026370c7b4.tar.bz2
perk-d1e52dbb6e080d5ee8456ed686f5d4026370c7b4.tar.xz
struct pe_{raw|meta}_export_hdr: member name normalization.
Diffstat (limited to 'src/reader')
-rw-r--r--src/reader/pe_read_export_header.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/reader/pe_read_export_header.c b/src/reader/pe_read_export_header.c
index 47dab66..758eb69 100644
--- a/src/reader/pe_read_export_header.c
+++ b/src/reader/pe_read_export_header.c
@@ -12,19 +12,19 @@
int pe_read_export_header(const struct pe_raw_export_hdr * p, struct pe_meta_export_hdr * m)
{
- m->export_flags = pe_read_long(p->export_flags);
- m->time_date_stamp = pe_read_long(p->time_date_stamp);
+ m->eh_export_flags = pe_read_long(p->eh_export_flags);
+ m->eh_time_date_stamp = pe_read_long(p->eh_time_date_stamp);
- m->major_ver = pe_read_short(p->major_ver);
- m->minor_ver = pe_read_short(p->minor_ver);
+ m->eh_major_ver = pe_read_short(p->eh_major_ver);
+ m->eh_minor_ver = pe_read_short(p->eh_minor_ver);
- m->name_rva = pe_read_long(p->name_rva);
- m->ordinal_base = pe_read_long(p->ordinal_base);
- m->addr_tbl_entries = pe_read_long(p->addr_tbl_entries);
- m->num_of_name_ptrs = pe_read_long(p->num_of_name_ptrs);
- m->export_addr_tbl_rva = pe_read_long(p->export_addr_tbl_rva);
- m->name_ptr_rva = pe_read_long(p->name_ptr_rva);
- m->ordinal_tbl_rva = pe_read_long(p->ordinal_tbl_rva);
+ m->eh_name_rva = pe_read_long(p->eh_name_rva);
+ m->eh_ordinal_base = pe_read_long(p->eh_ordinal_base);
+ m->eh_addr_tbl_entries = pe_read_long(p->eh_addr_tbl_entries);
+ m->eh_num_of_name_ptrs = pe_read_long(p->eh_num_of_name_ptrs);
+ m->eh_export_addr_tbl_rva = pe_read_long(p->eh_export_addr_tbl_rva);
+ m->eh_name_ptr_rva = pe_read_long(p->eh_name_ptr_rva);
+ m->eh_ordinal_tbl_rva = pe_read_long(p->eh_ordinal_tbl_rva);
return 0;
}