From c7ca52f4ec6005315ac2a2374f4f05fb1ae62ad2 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 12 Nov 2016 22:23:08 -0500 Subject: logic: added pe_get_expsym_by_name(), pe_get_expsym_by_index(). --- include/perk/perk.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/perk/perk.h b/include/perk/perk.h index 5e6010d..9412173 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -210,6 +210,12 @@ perk_api void pe_free_image_meta (struct pe_image_meta *); perk_api int pe_get_named_section_index(const struct pe_image_meta *, const char * name); perk_api int pe_get_block_section_index(const struct pe_image_meta *, const struct pe_block *); +perk_api +const char * pe_get_expsym_by_name (const struct pe_image_meta *, const char * name); + +perk_api +const char * pe_get_expsym_by_index (const struct pe_image_meta *, unsigned index); + /* low-level api */ perk_api int pe_read_dos_header (const struct pe_image_dos_hdr *, struct pe_meta_image_dos_hdr *); perk_api int pe_read_coff_header (const struct pe_coff_file_hdr *, struct pe_meta_coff_file_hdr *); -- cgit v1.2.3