diff options
author | midipix <writeonce@midipix.org> | 2016-11-30 23:08:42 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-30 23:08:42 -0500 |
commit | 0d33f17d7705249d28c30c32878cd1841cf88be4 (patch) | |
tree | fad404495919398f46844c342ab7b50ffe95ca78 /src/reader | |
parent | a402c4942040e060c9572efd17759d275826771b (diff) | |
download | perk-0d33f17d7705249d28c30c32878cd1841cf88be4.tar.bz2 perk-0d33f17d7705249d28c30c32878cd1841cf88be4.tar.xz |
struct pe_{raw|meta}_opt_hdr_dirs: member name normalization.
Diffstat (limited to 'src/reader')
-rw-r--r-- | src/reader/pe_read_optional_header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader/pe_read_optional_header.c b/src/reader/pe_read_optional_header.c index 1b32d95..0c6c302 100644 --- a/src/reader/pe_read_optional_header.c +++ b/src/reader/pe_read_optional_header.c @@ -89,7 +89,7 @@ static int pe_read_optional_header_structs(const union pe_raw_opt_hdr * p, struc memset(&m->dirs,0,sizeof(m->dirs)); mark = p->opt_hdr_64.export_tbl; - pdir = &m->dirs.export_tbl; + pdir = &m->dirs.coh_export_tbl; for (i=0; i<m->ldr.coh_rva_and_sizes; i++) { pdir[i].dh_rva = pe_read_long(&mark[i*8]); |