diff options
author | midipix <writeonce@midipix.org> | 2016-12-02 17:03:27 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-02 17:16:29 -0500 |
commit | 0c1d8308d9ed0eb768298f9e889e8a1f1323242d (patch) | |
tree | 4929826b3f7310097ba4c26a1eea1d029a0ad22c /include | |
parent | c8c13111b25d5953956742de4c54e5856737df13 (diff) | |
download | perk-0c1d8308d9ed0eb768298f9e889e8a1f1323242d.tar.bz2 perk-0c1d8308d9ed0eb768298f9e889e8a1f1323242d.tar.xz |
struct pe_{raw|meta}_coff_symbol: member name normalization.
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk_meta.h | 14 | ||||
-rw-r--r-- | include/perk/perk_structs.h | 12 |
2 files changed, 13 insertions, 13 deletions
diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h index b743196..a267a04 100644 --- a/include/perk/perk_meta.h +++ b/include/perk/perk_meta.h @@ -250,13 +250,13 @@ struct pe_meta_import_hdr { /* coff: symbol table entry */ struct pe_meta_coff_symbol { - char name[24]; - char * long_name; - uint32_t value; - int16_t section_number; - uint16_t type; - unsigned char storage_class; - unsigned char num_of_aux_symbols; + char cs_name[24]; + char * cs_long_name; + uint32_t cs_value; + int16_t cs_section_number; + uint16_t cs_type; + unsigned char cs_storage_class; + unsigned char cs_num_of_aux_symbols; }; diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index 06ff7ec..11c651f 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -288,12 +288,12 @@ struct pe_raw_hint_name_entry { struct pe_raw_coff_symbol { - unsigned char name [0x08]; /* 0x00 */ - unsigned char value [0x04]; /* 0x08 */ - unsigned char section_number [0x02]; /* 0x0c */ - unsigned char type [0x02]; /* 0x0e */ - unsigned char storage_class [0x01]; /* 0x10 */ - unsigned char num_of_aux_symbols [0x01]; /* 0x11 */ + unsigned char cs_name [0x08]; /* 0x00 */ + unsigned char cs_value [0x04]; /* 0x08 */ + unsigned char cs_section_number [0x02]; /* 0x0c */ + unsigned char cs_type [0x02]; /* 0x0e */ + unsigned char cs_storage_class [0x01]; /* 0x10 */ + unsigned char cs_num_of_aux_symbols [0x01]; /* 0x11 */ }; struct pe_raw_coff_symbol_name { |