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.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,