summaryrefslogtreecommitdiff
path: root/src/reader
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-30 20:45:15 -0500
committermidipix <writeonce@midipix.org>2016-11-30 20:45:15 -0500
commita402c4942040e060c9572efd17759d275826771b (patch)
tree7106dff0822060676f9b856ad507b6f6ce6694ee /src/reader
parent01f3704beb76ac3d8597b7dac2f01d53a5e6e538 (diff)
downloadperk-a402c4942040e060c9572efd17759d275826771b.tar.bz2
perk-a402c4942040e060c9572efd17759d275826771b.tar.xz
struct pe_block: member name normalization.
Diffstat (limited to 'src/reader')
-rw-r--r--src/reader/pe_read_optional_header.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader/pe_read_optional_header.c b/src/reader/pe_read_optional_header.c
index 22d9321..1b32d95 100644
--- a/src/reader/pe_read_optional_header.c
+++ b/src/reader/pe_read_optional_header.c
@@ -92,8 +92,8 @@ static int pe_read_optional_header_structs(const union pe_raw_opt_hdr * p, struc
pdir = &m->dirs.export_tbl;
for (i=0; i<m->ldr.coh_rva_and_sizes; i++) {
- pdir[i].rva = pe_read_long(&mark[i*8]);
- pdir[i].size = pe_read_long(&mark[i*8+4]);
+ pdir[i].dh_rva = pe_read_long(&mark[i*8]);
+ pdir[i].dh_size = pe_read_long(&mark[i*8+4]);
}
return 0;