-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCommonDefines.m
33 lines (29 loc) · 995 Bytes
/
CommonDefines.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#define RESET "\033[0m"
#define BOLDWHITE "\033[1m\033[37m"
#define CLEARSCREEN "\e[1;1H\e[2J"
#include <dirent.h>
#include <dlfcn.h>
#include <limits.h>
#include <mach-o/dyld.h>
#include <mach-o/dyld_images.h>
#include <mach-o/nlist.h>
#include <objc/runtime.h>
#include <stdio.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/sysctl.h>
static BOOL addHeadersFolder = NO;
static BOOL shouldImportStructs = 0;
static NSMutableArray* allStructsFound = nil;
static NSMutableArray* classesInStructs = nil;
static NSMutableArray* classesInClass = nil;
static NSMutableArray* processedImages = nil;
NSString* classID = nil;
NSString* onlyOneClass = nil;
@interface NSArray (extras)
- (id)reversedArray;
@end
const struct dyld_all_image_infos* dyld_all_image_infos;
// extern "C" struct dyld_all_image_infos* _dyld_get_all_image_infos();
NSString* propertyLineGenerator(NSString* attributes, NSString* name);
NSString* commonTypes(NSString* atype, NSString** inName, BOOL inIvarList);