diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk_meta.h | 22 | ||||
-rw-r--r-- | include/perk/perk_structs.h | 20 |
2 files changed, 21 insertions, 21 deletions
diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h index 1a53406..9181782 100644 --- a/include/perk/perk_meta.h +++ b/include/perk/perk_meta.h @@ -182,17 +182,17 @@ struct pe_meta_opt_hdr { /* section header */ struct pe_meta_sec_hdr { - char name[16]; - char * long_name; - uint32_t virtual_size; - uint32_t virtual_addr; - uint32_t size_of_raw_data; - uint32_t ptr_to_raw_data; - uint32_t ptr_to_relocs; - uint32_t ptr_to_line_nums; - uint16_t num_of_relocs; - uint16_t num_of_line_nums; - uint32_t characteristics; + char sh_name[16]; + char * sh_long_name; + uint32_t sh_virtual_size; + uint32_t sh_virtual_addr; + uint32_t sh_size_of_raw_data; + uint32_t sh_ptr_to_raw_data; + uint32_t sh_ptr_to_relocs; + uint32_t sh_ptr_to_line_nums; + uint16_t sh_num_of_relocs; + uint16_t sh_num_of_line_nums; + uint32_t sh_characteristics; }; diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index 4a7f647..0256030 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -230,16 +230,16 @@ struct pe_raw_image_data_dir { struct pe_raw_sec_hdr { - unsigned char name [0x08]; /* 0x00 */ - unsigned char virtual_size [0x04]; /* 0x08 */ - unsigned char virtual_addr [0x04]; /* 0x0c */ - unsigned char size_of_raw_data [0x04]; /* 0x10 */ - unsigned char ptr_to_raw_data [0x04]; /* 0x14 */ - unsigned char ptr_to_relocs [0x04]; /* 0x18 */ - unsigned char ptr_to_line_nums [0x04]; /* 0x1c */ - unsigned char num_of_relocs [0x02]; /* 0x20 */ - unsigned char num_of_line_nums [0x02]; /* 0x22 */ - unsigned char characteristics [0x04]; /* 0x24 */ + unsigned char sh_name [0x08]; /* 0x00 */ + unsigned char sh_virtual_size [0x04]; /* 0x08 */ + unsigned char sh_virtual_addr [0x04]; /* 0x0c */ + unsigned char sh_size_of_raw_data [0x04]; /* 0x10 */ + unsigned char sh_ptr_to_raw_data [0x04]; /* 0x14 */ + unsigned char sh_ptr_to_relocs [0x04]; /* 0x18 */ + unsigned char sh_ptr_to_line_nums [0x04]; /* 0x1c */ + unsigned char sh_num_of_relocs [0x02]; /* 0x20 */ + unsigned char sh_num_of_line_nums [0x02]; /* 0x22 */ + unsigned char sh_characteristics [0x04]; /* 0x24 */ }; |