summaryrefslogtreecommitdiff
path: root/src/output
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/output
parent9740a33c5d6bb235cc3a4fa6e687ed35dd1b34cc (diff)
downloadperk-d1e52dbb6e080d5ee8456ed686f5d4026370c7b4.tar.bz2
perk-d1e52dbb6e080d5ee8456ed686f5d4026370c7b4.tar.xz
struct pe_{raw|meta}_export_hdr: member name normalization.
Diffstat (limited to 'src/output')
-rw-r--r--src/output/pe_output_export_symbols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/pe_output_export_symbols.c b/src/output/pe_output_export_symbols.c
index 6d98f75..118f865 100644
--- a/src/output/pe_output_export_symbols.c
+++ b/src/output/pe_output_export_symbols.c
@@ -53,9 +53,9 @@ int pe_output_export_symbols(
mark = m->image.addr;
offset = m->hedata->sh_virtual_addr - m->hedata->sh_ptr_to_raw_data;
- symrva = (uint32_t *)(mark + m->edata.name_ptr_rva - offset);
+ symrva = (uint32_t *)(mark + m->edata.eh_name_ptr_rva - offset);
- for (i=0; i<m->edata.num_of_name_ptrs; i++)
+ for (i=0; i<m->edata.eh_num_of_name_ptrs; i++)
if ((pretty_export_item(
cctx,
&mark[symrva[i] - offset],