From 6d58d975a6d69ffafe30f51ec83cccefbecd4883 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 18 Jan 2017 00:00:48 +0000 Subject: ldso: added pe_open_image_from_addr(). --- include/pemagine/pemagine.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') 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 -- cgit v1.2.3