diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 14:54:20 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 14:54:20 -0500 |
commit | fb643b72651055c924188fd22f1d24f5ec604fe0 (patch) | |
tree | 915b94583b6229c1428c0df2e330ec7a43699484 /include | |
parent | b86f714da701cdbe4b2fe26faeb1b8e0b0c778d3 (diff) | |
download | pemagine-fb643b72651055c924188fd22f1d24f5ec604fe0.tar.bz2 pemagine-fb643b72651055c924188fd22f1d24f5ec604fe0.tar.xz |
PE format: struct pe_data_dirs --> struct pe_raw_data_dirs.
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 64508e6..430c967 100644 --- a/include/pemagine/pe_structs.h +++ b/include/pemagine/pe_structs.h @@ -98,7 +98,7 @@ struct pe_raw_opt_hdr_dirs { unsigned char reserved [0x08]; }; -struct pe_data_dirs { +struct pe_raw_data_dirs { unsigned char rva_and_sizes [0x04]; unsigned char export_tbl [0x08]; unsigned char import_tbl [0x08]; diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h index 47eb96a..7d0ee93 100644 --- a/include/pemagine/pemagine.h +++ b/include/pemagine/pemagine.h @@ -155,7 +155,7 @@ typedef int pe_enum_image_import_hdrs_callback( 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 union pe_raw_opt_hdr * pe_get_image_opt_hdr_addr (const void * base); -pe_api struct pe_data_dirs * pe_get_image_data_dirs_addr (const void * base); +pe_api struct pe_raw_data_dirs * pe_get_image_data_dirs_addr (const void * base); pe_api struct pe_sec_hdr * pe_get_image_section_tbl_addr (const void * base); pe_api struct pe_sec_hdr * pe_get_image_named_section_addr (const void * base, const char * name); pe_api struct pe_export_hdr * pe_get_image_export_hdr_addr (const void * base, uint32_t * sec_size); |