diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/logic/pe_get_image_meta.c | 4 | ||||
-rw-r--r-- | src/output/pe_output_image_symbols.c | 4 | ||||
-rw-r--r-- | src/reader/pe_read_coff_symbol.c | 2 |
3 files changed, 5 insertions, 5 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]; diff --git a/src/output/pe_output_image_symbols.c b/src/output/pe_output_image_symbols.c index e645948..3dc7eb3 100644 --- a/src/output/pe_output_image_symbols.c +++ b/src/output/pe_output_image_symbols.c @@ -19,7 +19,7 @@ int pe_output_image_symbols( { unsigned i; char * mark; - struct pe_coff_symbol * symtbl; + struct pe_raw_coff_symbol * symtbl; struct pe_meta_coff_symbol symrec; const char * dash = ""; @@ -34,7 +34,7 @@ int pe_output_image_symbols( } mark = (char *)meta->image.addr; - symtbl = (struct pe_coff_symbol *)(mark + meta->coff.ptr_to_sym_tbl); + symtbl = (struct pe_raw_coff_symbol *)(mark + meta->coff.ptr_to_sym_tbl); for (i=0; i<meta->coff.num_of_syms; i++) { pe_read_coff_symbol( diff --git a/src/reader/pe_read_coff_symbol.c b/src/reader/pe_read_coff_symbol.c index 2cd63cc..259f370 100644 --- a/src/reader/pe_read_coff_symbol.c +++ b/src/reader/pe_read_coff_symbol.c @@ -11,7 +11,7 @@ #include "perk_reader_impl.h" int pe_read_coff_symbol( - const struct pe_coff_symbol * p, + const struct pe_raw_coff_symbol * p, struct pe_meta_coff_symbol * m, const struct pe_meta_coff_file_hdr * coff, void * base) |