diff options
author | midipix <writeonce@midipix.org> | 2015-05-26 22:57:56 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-09-26 10:17:32 -0400 |
commit | e2475c34dd2cd7f4bbbe4b7e6ad16eb495bf452a (patch) | |
tree | 318cd24f9c905c4f55fc1f5d9b9cab45f1717be2 /include | |
parent | 239ee42e5853e09d8e5bb4b9c704f05ce9181c91 (diff) | |
download | pemagine-e2475c34dd2cd7f4bbbe4b7e6ad16eb495bf452a.tar.bz2 pemagine-e2475c34dd2cd7f4bbbe4b7e6ad16eb495bf452a.tar.xz |
pe_get_image_section_tbl_addr() and pe_get_image_named_section_addr(): initial commit.
Diffstat (limited to 'include')
-rw-r--r-- | include/pemagine/pemagine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h index 8beb5e4..d5cb241 100644 --- a/include/pemagine/pemagine.h +++ b/include/pemagine/pemagine.h @@ -156,6 +156,8 @@ pe_api struct pe_image_dos_hdr *pe_get_image_dos_hdr_addr (const void * base); pe_api struct pe_coff_file_hdr *pe_get_image_coff_hdr_addr (const void * base); pe_api union pe_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_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); pe_api struct pe_import_hdr * pe_get_image_import_dir_addr (const void * base, uint32_t * sec_size); pe_api void * pe_get_image_special_hdr_addr (const void * base, uint32_t ordinal, uint32_t * sec_size); |