diff options
author | midipix <writeonce@midipix.org> | 2017-12-13 09:55:14 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-12-13 11:24:14 -0500 |
commit | 25e3c0b994fe1cb59ac601dacbded5a3ea953b6e (patch) | |
tree | f1cb1b576b90424156ce321d77ccca7d2859e83d /src/output | |
parent | 58ced9c919a0fae75e98c937ac55f8e30fc01c6f (diff) | |
download | perk-25e3c0b994fe1cb59ac601dacbded5a3ea953b6e.tar.bz2 perk-25e3c0b994fe1cb59ac601dacbded5a3ea953b6e.tar.xz |
refactor: struct pe_image_meta: meta section header members are now h-prefixed.
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/pe_output_export_symbols.c | 4 |
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 46ed9f9..c8a6de3 100644 --- a/src/output/pe_output_export_symbols.c +++ b/src/output/pe_output_export_symbols.c @@ -42,7 +42,7 @@ int pe_output_export_symbols( unsigned i; const struct pe_common_ctx * cctx = dctx->cctx; - if (!m->hedata) + if (!m->h_edata) return 0; if (!fout) @@ -52,7 +52,7 @@ int pe_output_export_symbols( return PERK_FILE_ERROR(dctx); mark = m->image.addr; - offset = m->hedata->sh_virtual_addr - m->hedata->sh_ptr_to_raw_data; + offset = m->h_edata->sh_virtual_addr - m->h_edata->sh_ptr_to_raw_data; symrva = (uint32_t *)(mark + m->m_edata.eh_name_ptr_rva - offset); for (i=0; i<m->m_edata.eh_num_of_name_ptrs; i++) |