diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk.h | 2 | ||||
-rw-r--r-- | include/perk/perk_structs.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h index 8bffb59..ec73ddc 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -203,7 +203,7 @@ perk_api int pe_read_section_header (const struct pe_raw_sec_hdr *, struct pe_ perk_api int pe_read_export_header (const struct pe_raw_export_hdr *, struct pe_meta_export_hdr *); perk_api int pe_read_import_header (const struct pe_raw_import_hdr *, struct pe_meta_import_hdr *); -perk_api int pe_read_coff_symbol (const struct pe_coff_symbol *, struct pe_meta_coff_symbol *, +perk_api int pe_read_coff_symbol (const struct pe_raw_coff_symbol *, struct pe_meta_coff_symbol *, const struct pe_meta_coff_file_hdr *, void * base); perk_api int pe_read_import_lookup (const union pe_raw_import_lookup *, struct pe_meta_import_lookup *, diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index 7113409..2875daa 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -287,7 +287,7 @@ struct pe_raw_hint_name_entry { }; -struct pe_coff_symbol { +struct pe_raw_coff_symbol { unsigned char name [0x08]; /* 0x00 */ unsigned char value [0x04]; /* 0x08 */ unsigned char section_number [0x02]; /* 0x0c */ @@ -296,7 +296,7 @@ struct pe_coff_symbol { unsigned char num_of_aux_symbols [0x01]; /* 0x11 */ }; -struct pe_coff_symbol_name { +struct pe_raw_coff_symbol_name { union { unsigned char short_name [0x08]; /* 0x00 */ |