4 #include <mach/shared_region.h>
13 #define str2(x) str(x)
20 ".globl L_category \n"
21 ".section __DATA,__objc_data \n"
25 PTR "_OBJC_CLASS_$_NSObject \n"
26 #if EVIL_INSTANCE_METHOD
27 PTR "L_evil_methods \n"
29 PTR "L_good_methods \n"
32 PTR "L_evil_methods \n"
34 PTR "L_good_methods \n"
44 PTR str2(SHARED_REGION_BASE+SHARED_REGION_SIZE-0x1000) " \n"
54 "L_cat_name: .ascii \"Evil\\0\" \n"
55 "L_load: .ascii \"load\\0\" \n"
57 ".section __DATA,__objc_catlist \n"
62 ".section __DATA,__objc_nlcatlist \n"