summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-19 21:12:53 -0500
committermidipix <writeonce@midipix.org>2019-02-19 21:20:18 -0500
commit25e093f839419ba0805408bfeccdc5facdc5a042 (patch)
tree434c0446d6ee6591e79d41f260ad60b478b425e1 /include
parent1ea23134457d33f90b1db4b1d3a27f9480ba2429 (diff)
downloadpemagine-25e093f839419ba0805408bfeccdc5facdc5a042.tar.bz2
pemagine-25e093f839419ba0805408bfeccdc5facdc5a042.tar.xz
PE section interfaces: added pe_get_image_block_section_addr().
Diffstat (limited to 'include')
-rw-r--r--include/pemagine/pemagine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h
index 518b567..ba70edc 100644
--- a/include/pemagine/pemagine.h
+++ b/include/pemagine/pemagine.h
@@ -210,6 +210,7 @@ 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);
pe_api struct pe_raw_sec_hdr * pe_get_image_named_section_addr (const void * base, const char * name);
+pe_api struct pe_raw_sec_hdr * pe_get_image_block_section_addr (const void * base, uint32_t blk_rva, uint32_t blk_size);
pe_api struct pe_raw_export_hdr * pe_get_image_export_hdr_addr (const void * base, uint32_t * sec_size);
pe_api struct pe_raw_import_hdr * pe_get_image_import_dir_addr (const void * base, uint32_t * sec_size);