subclass_lldb 0.2.1 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rubygems_plugin.rb +1 -1
- data/lib/setup +14 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f69606a3b3e1378497130b2df331c7c46457b9cc6a132d759486957b269e9ba
|
4
|
+
data.tar.gz: e03def798eb2ffb5ee22f6781d36022ee6fa822abc171c9e7217e9300b017927
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1518934a206781fcc2419c3751ea7bb8633bdbf166a71f986472156bad4736b64c74787d4f695eac77ad5462f53e6a170be93ba76f6cc64115809cf2b0e393d3
|
7
|
+
data.tar.gz: 67924cdcac119bb12be95ea4198d537aaf1fe342c68eee96607fcfdae8f2721fb8bb8c12e6003fea0be9f4b212606a621262ad6b84d0fc6e3133fc14f8604075
|
data/lib/rubygems_plugin.rb
CHANGED
data/lib/setup
CHANGED
@@ -5,8 +5,8 @@ def help ():#line:50
|
|
5
5
|
print ("Usage:")#line:51
|
6
6
|
print (" subclass superclass_name eg:subclass NSObject")#line:52
|
7
7
|
pass #line:53
|
8
|
-
def process (
|
9
|
-
|
8
|
+
def process (O00OOOO0O000O0000 ):#line:55
|
9
|
+
OOO0000O00000O00O =r'''
|
10
10
|
@import <dlfcn.h>;
|
11
11
|
@import <objc/runtime.h>;
|
12
12
|
@import Foundation;
|
@@ -22,7 +22,7 @@ def process (OOOOOO0O00O0OO00O ):#line:55
|
|
22
22
|
NSInteger backLevel = 0;//继承层级
|
23
23
|
NSMutableDictionary * visited_class = [[NSMutableDictionary alloc]init];
|
24
24
|
NSMutableArray * class_stack = [[NSMutableArray alloc] init];
|
25
|
-
[class_stack addObject:@"'''+
|
25
|
+
[class_stack addObject:@"'''+O00OOOO0O000O0000 +'''"];
|
26
26
|
BOOL isPrint = NO;
|
27
27
|
printf("\\n");
|
28
28
|
while (true) {
|
@@ -84,17 +84,16 @@ def process (OOOOOO0O00O0OO00O ):#line:55
|
|
84
84
|
}
|
85
85
|
}
|
86
86
|
'''#line:133
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
print (
|
93
|
-
def helloworld (
|
94
|
-
if
|
87
|
+
OO00OOOOOOOO000O0 =lldb .debugger .GetCommandInterpreter ()#line:135
|
88
|
+
OO00O00OO0OO000O0 =lldb .SBCommandReturnObject ()#line:136
|
89
|
+
OO00OOOOOOOO000O0 .HandleCommand ('expression -lobjc -O -- '+OOO0000O00000O00O ,OO00O00OO0OO000O0 )#line:138
|
90
|
+
O00OOOOOO0OOOOO00 =OO00O00OO0OO000O0 .GetOutput ()#line:139
|
91
|
+
OOOO0000OOO000OOO =re .search ('error',O00OOOOOO0OOOOO00 )#line:140
|
92
|
+
print (OO00O00OO0OO000O0 .GetError ())#line:141
|
93
|
+
def helloworld (O000O0O0OO0OOOOOO ,O00OOO00000OOO0O0 ,OO0O0OOOOO0OO0OO0 ,O000OO0OO0O0O00O0 ):#line:144
|
94
|
+
if O00OOO00000OOO0O0 ==None or O00OOO00000OOO0O0 =='-h':#line:146
|
95
95
|
help ()#line:147
|
96
96
|
else :#line:148
|
97
|
-
process (
|
98
|
-
def
|
99
|
-
|
100
|
-
OOO00OO00000OOO00 .HandleCommand ("command script add -f subclass_lldb.helloworld subclass")#line:155
|
97
|
+
process (O00OOO00000OOO0O0 )#line:149
|
98
|
+
def __OO0OOO000O000O0OO (O0O0O0O00OO00O00O ,OOOOOOOOOOOO0O0OO ):#line:152
|
99
|
+
O0O0O0O00OO00O00O .HandleCommand ("command script add -f subclass_lldb.helloworld subclass")#line:154
|