]> git.saurik.com Git - cycript.git/blobdiff - Analysis.cpp
Instance's toPointer() should return as CFTypeRef.
[cycript.git] / Analysis.cpp
index 8a03ebf43769b2efc37cfbe51f9e7f83fc58c1c3..7da64f308fb330a2e60220daac97a5a8673504d3 100644 (file)
 
 #define __USE_EXTERN_INLINES
 
+#include <dirent.h>
 #include <dlfcn.h>
 #include <fcntl.h>
+#include <math.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 #include <sys/mman.h>
+#include <sys/mount.h>
 #include <sys/stat.h>
 
 #include <sqlite3.h>
 
 #if CY_JAVA
-#ifdef __APPLE__
+#if defined(__APPLE__) && !defined(__arm__)
 #include <JavaVM/jni.h>
 #else
 #include <jni.h>
 #include <AddressBook/AddressBook.h>
 #include <CoreData/CoreData.h>
 #include <CoreLocation/CoreLocation.h>
+#include <MapKit/MapKit.h>
 #include <Security/Security.h>
 
+#include <dispatch/dispatch.h>
+
+#include <mach/mach.h>
+#include <mach/mach_vm.h>
+#include <mach/vm_map.h>
+
+#include <mach-o/dyld.h>
+#include <mach-o/dyld_images.h>
+#include <mach-o/nlist.h>
+
 #if TARGET_OS_IPHONE
 #include <UIKit/UIKit.h>
+extern "C" UIApplication *UIApp;
 #else
 #include <AppKit/AppKit.h>
 #endif
 #endif
+
+#ifdef __ANDROID__
+#include <android/log.h>
+#endif