diff options
author | midipix <writeonce@midipix.org> | 2017-12-13 11:08:42 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-12-13 11:24:14 -0500 |
commit | f3d26e13d91f3ca06ab3de9714a908596a0e7e36 (patch) | |
tree | e66e4d27f55226aab81abfd1fa4018a39e64926f /include | |
parent | 25e3c0b994fe1cb59ac601dacbded5a3ea953b6e (diff) | |
download | perk-f3d26e13d91f3ca06ab3de9714a908596a0e7e36.tar.bz2 perk-f3d26e13d91f3ca06ab3de9714a908596a0e7e36.tar.xz |
refactor: struct pe_image_meta: pointers to raw data are now r-prefixed.
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h index e1b0dc9..1bc20a0 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -90,6 +90,16 @@ struct pe_meta_stats { }; struct pe_image_meta { + struct pe_raw_image r_image; + struct pe_raw_image_dos_hdr * r_dos; + struct pe_raw_coff_image_hdr * r_coff; + struct pe_raw_coff_object_hdr * r_obj; + union pe_raw_opt_hdr * r_opt; + struct pe_raw_sec_hdr * r_sectbl; + + struct pe_raw_export_hdr * r_edata; + struct pe_raw_import_hdr * r_idata; + struct pe_meta_stats m_stats; struct pe_meta_image_dos_hdr m_dos; struct pe_meta_coff_file_hdr m_coff; @@ -101,16 +111,6 @@ struct pe_image_meta { struct pe_meta_sec_hdr * h_edata; struct pe_meta_sec_hdr * h_idata; - - struct pe_raw_image image; - struct pe_raw_image_dos_hdr * ados; - struct pe_raw_coff_image_hdr * acoff; - struct pe_raw_coff_object_hdr * aobj; - union pe_raw_opt_hdr * aopt; - struct pe_raw_sec_hdr * asectbl; - - struct pe_raw_export_hdr * aedata; - struct pe_raw_import_hdr * aidata; }; struct pe_error_info { |