diff options
author | midipix <writeonce@midipix.org> | 2017-10-18 12:09:39 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-10-19 18:18:47 -0400 |
commit | 224f38d84d94ecc12f4cf5b286967109ff3d9504 (patch) | |
tree | f922cff0b2cb02114f631b7d3f60f61b082bbdcf /include | |
parent | aa2c177ebbcb9f367f63263f2b0071bdc860975a (diff) | |
download | pemagine-224f38d84d94ecc12f4cf5b286967109ff3d9504.tar.bz2 pemagine-224f38d84d94ecc12f4cf5b286967109ff3d9504.tar.xz |
ldso: added pe_load_framework_library().
Diffstat (limited to 'include')
-rw-r--r-- | include/pemagine/pe_ldso.h | 1 | ||||
-rw-r--r-- | include/pemagine/pemagine.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/pemagine/pe_ldso.h b/include/pemagine/pe_ldso.h index 7f6382c..2d81774 100644 --- a/include/pemagine/pe_ldso.h +++ b/include/pemagine/pe_ldso.h @@ -32,6 +32,7 @@ #define pe_get_procedure_address __ldso_get_procedure_address #define pe_get_symbol_module_info __ldso_get_symbol_module_info #define pe_get_symbol_name __ldso_get_symbol_name +#define pe_load_framework_library __ldso_load_framework_library #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 diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h index 9cfe47a..3f374f8 100644 --- a/include/pemagine/pemagine.h +++ b/include/pemagine/pemagine.h @@ -257,6 +257,15 @@ pe_api int32_t pe_find_framework_loader( uint32_t flags); +pe_api int32_t pe_load_framework_library( + void ** baseaddr, + void * hat, + const wchar16_t * atrelname, + uintptr_t * buffer, + uint32_t bufsize, + uint32_t * sysflags); + + pe_api int32_t pe_load_framework_loader( void ** baseaddr, struct pe_framework_runtime_data * rtdata, |