summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-06-16 19:37:56 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2008-06-16 19:37:56 +0000
commitefd6cd4a4be2d0725ade53a64bbb5d68bdda43ef (patch)
treef2e1552f321759038114fda59a483b5e8c99ad48
parent31ad673ba62d384fcdfa4d6f64d2ca328770da1d (diff)
downloadldid-efd6cd4a4be2d0725ade53a64bbb5d68bdda43ef.tar.gz
ldid-efd6cd4a4be2d0725ade53a64bbb5d68bdda43ef.tar.zst
ldid-efd6cd4a4be2d0725ade53a64bbb5d68bdda43ef.zip
Added a #define for a DYLIB_STUB, not that I need to use it, apparently.
-rw-r--r--ldid.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/ldid.cpp b/ldid.cpp
index dc1902e..107cbae 100644
--- a/ldid.cpp
+++ b/ldid.cpp
@@ -77,9 +77,10 @@ struct mach_header {
#define MH_MAGIC 0xfeedface
#define MH_CIGAM 0xcefaedfe
-#define MH_EXECUTE 0x2
-#define MH_DYLIB 0x6
-#define MH_BUNDLE 0x8
+#define MH_EXECUTE 0x2
+#define MH_DYLIB 0x6
+#define MH_BUNDLE 0x8
+#define MH_DYLIB_STUB 0x9
struct load_command {
uint32_t cmd;