From dab206afd4523f16fcda9e8c72dfb1fdfc4c4687 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 18 Oct 2017 03:42:21 +0000 Subject: ldso: added pe_load_framework_loader_ex(). --- include/pemagine/pe_ldso.h | 1 + include/pemagine/pemagine.h | 14 ++++++++++++++ 2 files changed, 15 insertions(+) (limited to 'include') 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, -- cgit v1.2.3