summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-18 00:00:48 +0000
committermidipix <writeonce@midipix.org>2017-01-18 00:30:45 -0500
commit6d58d975a6d69ffafe30f51ec83cccefbecd4883 (patch)
tree1ce6936f4101cbf796fca93ca3d9d174e4269942 /include
parent393c205aed99a73cb8ff984858f288f8cb901688 (diff)
downloadpemagine-6d58d975a6d69ffafe30f51ec83cccefbecd4883.tar.bz2
pemagine-6d58d975a6d69ffafe30f51ec83cccefbecd4883.tar.xz
ldso: added pe_open_image_from_addr().
Diffstat (limited to 'include')
-rw-r--r--include/pemagine/pemagine.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h
index c222406..d5d0e66 100644
--- a/include/pemagine/pemagine.h
+++ b/include/pemagine/pemagine.h
@@ -197,6 +197,15 @@ pe_api void * pe_get_kernel32_module_handle (void);
/* ldso */
+pe_api int32_t pe_open_image_from_addr(
+ void ** himage,
+ void * addr,
+ uintptr_t * buffer,
+ uint32_t buffer_size,
+ uint32_t desired_access,
+ uint32_t open_options);
+
+
pe_api int32_t pe_open_physical_parent_directory(
void ** hparent,
void * href,
@@ -205,6 +214,7 @@ pe_api int32_t pe_open_physical_parent_directory(
uint32_t desired_access,
uint32_t open_options);
+
#ifdef __cplusplus
}
#endif