diff options
author | midipix <writeonce@midipix.org> | 2017-02-04 08:32:07 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-02-04 08:32:07 -0500 |
commit | 02863d5d32f2f3693d3e0fbcfa325e65420717cd (patch) | |
tree | baff97b401ce5b75640b9e41bc40e4c4d3cfff55 /include | |
parent | 8bf8b6bb6a1866d8a2cac15c745cbe6fdb04e63c (diff) | |
download | pemagine-02863d5d32f2f3693d3e0fbcfa325e65420717cd.tar.bz2 pemagine-02863d5d32f2f3693d3e0fbcfa325e65420717cd.tar.xz |
raw data: renamed struct pe_raw_coff_file_hdr --> struct pe_raw_coff_image_hdr.
Diffstat (limited to 'include')
-rw-r--r-- | include/pemagine/pe_structs.h | 2 | ||||
-rw-r--r-- | include/pemagine/pemagine.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pemagine/pe_structs.h b/include/pemagine/pe_structs.h index 3c2e478..480b625 100644 --- a/include/pemagine/pe_structs.h +++ b/include/pemagine/pe_structs.h @@ -28,7 +28,7 @@ struct pe_raw_image_dos_hdr { }; -struct pe_raw_coff_file_hdr { +struct pe_raw_coff_image_hdr { unsigned char cfh_signature [0x04]; /* 0x00 */ unsigned char cfh_machine [0x02]; /* 0x04 */ unsigned char cfh_num_of_sections [0x02]; /* 0x06 */ diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h index afc42c7..0edd08e 100644 --- a/include/pemagine/pemagine.h +++ b/include/pemagine/pemagine.h @@ -195,7 +195,7 @@ typedef int pe_enum_image_import_hdrs_callback( /* image: low-level api */ pe_api struct pe_raw_image_dos_hdr * pe_get_image_dos_hdr_addr (const void * base); -pe_api struct pe_raw_coff_file_hdr * pe_get_image_coff_hdr_addr (const void * base); +pe_api struct pe_raw_coff_image_hdr * pe_get_image_coff_hdr_addr (const void * base); pe_api union pe_raw_opt_hdr * pe_get_image_opt_hdr_addr (const void * base); pe_api struct pe_raw_data_dirs * pe_get_image_data_dirs_addr (const void * base); pe_api struct pe_raw_sec_hdr * pe_get_image_section_tbl_addr (const void * base); |