]> git.saurik.com Git - cycript.git/blobdiff - Analysis.cpp
Also use CXType walker to for function prototypes.
[cycript.git] / Analysis.cpp
index 4429d22fd09645383488a4862f8ed2648a3686d6..23fc5a3cc70553b89342ca5ab2fec2b44e173b53 100644 (file)
@@ -37,7 +37,7 @@
 #include <sqlite3.h>
 
 #if CY_JAVA
-#ifdef __APPLE__
+#if defined(__APPLE__) && !defined(__arm__)
 #include <JavaVM/jni.h>
 #else
 #include <jni.h>
 #include <CoreLocation/CoreLocation.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>
+
 #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