summaryrefslogtreecommitdiffhomepage
path: root/include/pemagine/pemagine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pemagine/pemagine.h')
-rw-r--r--include/pemagine/pemagine.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h
index 61ffb7a..8b7e0a9 100644
--- a/include/pemagine/pemagine.h
+++ b/include/pemagine/pemagine.h
@@ -19,6 +19,12 @@ enum pe_callback_reason {
};
+/* ldso flags */
+#define PE_LDSO_INTEGRAL_ONLY 0x00000000
+#define PE_LDSO_DEFAULT_EXECUTABLE 0x00000001
+#define PE_LDSO_STANDALONE_EXECUTABLE 0x00000002
+
+
/* library specific structures */
struct pe_export_sym {
uint32_t * ordinal_base;
@@ -137,6 +143,8 @@ struct pe_framework_runtime_data {
void * hparent;
void * himage;
void * hroot;
+ void * hdsodir;
+ void * hloader;
void * hcwd;
void * hdrive;
struct pe_guid abi;
@@ -238,6 +246,16 @@ pe_api int32_t pe_get_framework_runtime_data(
const wchar16_t * cmdline,
const struct pe_guid * abi);
+pe_api int32_t pe_find_framework_loader(
+ struct pe_framework_runtime_data * rtdata,
+ const wchar16_t * basename,
+ const wchar16_t * rrelname,
+ void * refaddr,
+ uintptr_t * buffer,
+ uint32_t bufsize,
+ uint32_t flags);
+
+
pe_api int32_t pe_open_image_from_addr(
void ** himage,
void * addr,