diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 13:41:46 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 13:41:46 -0500 |
commit | e75572e655b000e16952ccfd404917b7edb9ccda (patch) | |
tree | 29d462e8d3e64050f2e48780453664b9dff8f08b /src/logic | |
parent | 34ee9eb04f8ad9113ca92cc7a5aa2cd0d45e4330 (diff) | |
download | perk-e75572e655b000e16952ccfd404917b7edb9ccda.tar.bz2 perk-e75572e655b000e16952ccfd404917b7edb9ccda.tar.xz |
PE format: struct pe_coff_symbol [and friends] --> struct pe_raw_coff_symbol.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/pe_get_image_meta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index 20ab387..ec7ad82 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -190,10 +190,10 @@ int pe_get_image_meta( m,PERK_CUSTOM_ERROR(dctx,ret)); mark = (const unsigned char *)image->addr + m->coff.ptr_to_sym_tbl; - mark += m->coff.num_of_syms * sizeof(struct pe_coff_symbol); + mark += m->coff.num_of_syms * sizeof(struct pe_raw_coff_symbol); m->coff.ptr_to_string_tbl = m->coff.ptr_to_sym_tbl; - m->coff.ptr_to_string_tbl += m->coff.num_of_syms * sizeof(struct pe_coff_symbol); + m->coff.ptr_to_string_tbl += m->coff.num_of_syms * sizeof(struct pe_raw_coff_symbol); m->coff.size_of_string_tbl = pe_read_long(mark); mark = &m->acoff->signature[0]; |