summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-09 08:32:02 +0000
committermidipix <writeonce@midipix.org>2018-06-09 17:25:49 -0400
commit97b12cf730c0d0844945649c9c22a3f815eb647e (patch)
tree70291426f61b67b994d9160d857878ae8888469e /include
parentc95b4a077b7098eb5c6d558740d8464bb4163b53 (diff)
downloadpemagine-97b12cf730c0d0844945649c9c22a3f815eb647e.tar.bz2
pemagine-97b12cf730c0d0844945649c9c22a3f815eb647e.tar.xz
ldso: pe_load_framework_loader_ex(): rec. val of prev loader and root handles.
Diffstat (limited to 'include')
-rw-r--r--include/pemagine/pemagine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/pemagine/pemagine.h b/include/pemagine/pemagine.h
index 35fbc74..518b567 100644
--- a/include/pemagine/pemagine.h
+++ b/include/pemagine/pemagine.h
@@ -26,6 +26,13 @@ enum pe_callback_reason {
#define PE_LDSO_STANDALONE_EXECUTABLE 0x00000002
+/* ldso loader context pointer index */
+#define PE_LDSO_CTX_IDX_PREV_LOADER 0x0
+#define PE_LDSO_CTX_IDX_PREV_ROOT 0x1
+#define PE_LDSO_CTX_IDX_RESERVED_1 0x2
+#define PE_LDSO_CTX_IDX_RESERVED_2 0x3
+
+
/* library specific structures */
struct pe_export_sym {
uint32_t * ordinal_base;