summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/pemagine/pe_ldso.h1
-rw-r--r--include/pemagine/pemagine.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/pemagine/pe_ldso.h b/include/pemagine/pe_ldso.h
index 2d81774..30019c5 100644
--- a/include/pemagine/pe_ldso.h
+++ b/include/pemagine/pe_ldso.h
@@ -12,6 +12,7 @@
#define pe_get_export_symbol_info __ldso_get_export_symbol_info
#define pe_get_first_module_handle __ldso_get_first_module_handle
#define pe_get_framework_runtime_data __ldso_get_framework_runtime_data
+#define pe_get_ldr_entry_from_addr __ldso_get_ldr_entry_from_addr
#define pe_get_image_coff_hdr_addr __ldso_get_image_coff_hdr_addr
#define pe_get_image_data_dirs_addr __ldso_get_image_data_dirs_addr
#define pe_get_image_dos_hdr_addr __ldso_get_image_dos_hdr_addr
diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h
index 283d579..99ba86a 100644
--- a/include/pemagine/pemagine.h
+++ b/include/pemagine/pemagine.h
@@ -241,6 +241,8 @@ pe_api void * pe_get_kernel32_module_handle (void);
/* ldso */
pe_api wchar16_t * pe_get_peb_command_line(void);
pe_api wchar16_t * pe_get_peb_environment_block(void);
+pe_api struct pe_ldr_tbl_entry * pe_get_ldr_entry_from_addr(const void * addr);
+
pe_api int32_t pe_get_framework_runtime_data(
struct pe_framework_runtime_data ** rtdata,