diff options
author | midipix <writeonce@midipix.org> | 2016-12-01 21:22:49 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-01 21:22:49 -0500 |
commit | 982672e537f7dd26e875755f3c20f81e6bf7ba65 (patch) | |
tree | 3aaa9e75021029867ade326f72bdf1ef44976afc /src/reader/pe_read_import_header.c | |
parent | f845bd25e705125bb60762f9ac43fba1aaef1cdc (diff) | |
download | perk-982672e537f7dd26e875755f3c20f81e6bf7ba65.tar.bz2 perk-982672e537f7dd26e875755f3c20f81e6bf7ba65.tar.xz |
struct pe_{raw|meta}_import_hdr: member name normalization.
Diffstat (limited to 'src/reader/pe_read_import_header.c')
-rw-r--r-- | src/reader/pe_read_import_header.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/reader/pe_read_import_header.c b/src/reader/pe_read_import_header.c index ef2a4f1..3689bc4 100644 --- a/src/reader/pe_read_import_header.c +++ b/src/reader/pe_read_import_header.c @@ -12,14 +12,14 @@ int pe_read_import_header(const struct pe_raw_import_hdr * p, struct pe_meta_import_hdr * m) { - m->import_lookup_tbl_rva = pe_read_long(p->import_lookup_tbl_rva); - m->time_date_stamp = pe_read_long(p->time_date_stamp); - m->forwarder_chain = pe_read_long(p->forwarder_chain); - m->name_rva = pe_read_long(p->name_rva); - m->import_addr_tbl_rva = pe_read_long(p->import_addr_tbl_rva); - - m->name = 0; - m->aitems = 0; + m->ih_import_lookup_tbl_rva = pe_read_long(p->ih_import_lookup_tbl_rva); + m->ih_time_date_stamp = pe_read_long(p->ih_time_date_stamp); + m->ih_forwarder_chain = pe_read_long(p->ih_forwarder_chain); + m->ih_name_rva = pe_read_long(p->ih_name_rva); + m->ih_import_addr_tbl_rva = pe_read_long(p->ih_import_addr_tbl_rva); + + m->ih_name = 0; + m->ih_aitems = 0; return 0; } |