summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-18 03:42:21 +0000
committermidipix <writeonce@midipix.org>2017-10-19 18:18:47 -0400
commitdab206afd4523f16fcda9e8c72dfb1fdfc4c4687 (patch)
tree903b309b208d8963a770d5f2b201f629efdcb180 /include
parentbe94906a87cdad690a717d7eac3d08e591bd658a (diff)
downloadpemagine-dab206afd4523f16fcda9e8c72dfb1fdfc4c4687.tar.bz2
pemagine-dab206afd4523f16fcda9e8c72dfb1fdfc4c4687.tar.xz
ldso: added pe_load_framework_loader_ex().
Diffstat (limited to 'include')
-rw-r--r--include/pemagine/pe_ldso.h1
-rw-r--r--include/pemagine/pemagine.h14
2 files changed, 15 insertions, 0 deletions
diff --git a/include/pemagine/pe_ldso.h b/include/pemagine/pe_ldso.h
index f7ae6af..7f6382c 100644
--- a/include/pemagine/pe_ldso.h
+++ b/include/pemagine/pe_ldso.h
@@ -33,6 +33,7 @@
#define pe_get_symbol_module_info __ldso_get_symbol_module_info
#define pe_get_symbol_name __ldso_get_symbol_name
#define pe_load_framework_loader __ldso_load_framework_loader
+#define pe_load_framework_loader_ex __ldso_load_framework_loader_ex
#define pe_open_image_from_addr __ldso_open_image_from_addr
#define pe_open_physical_parent_directory __ldso_open_physical_parent_directory
#define pe_terminate_current_process __ldso_terminate_current_process
diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h
index 0edd08e..9cfe47a 100644
--- a/include/pemagine/pemagine.h
+++ b/include/pemagine/pemagine.h
@@ -265,6 +265,20 @@ pe_api int32_t pe_load_framework_loader(
uint32_t * flags);
+pe_api int32_t pe_load_framework_loader_ex(
+ void ** baseaddr,
+ void ** hroot,
+ void ** hdsodir,
+ const struct pe_guid * abi,
+ const wchar16_t * basename,
+ const wchar16_t * rrelname,
+ void * refaddr,
+ uintptr_t * buffer,
+ uint32_t bufsize,
+ uint32_t flags,
+ uint32_t * sysflags);
+
+
pe_api int32_t pe_open_image_from_addr(
void ** himage,
void * addr,