subclass_lldb 0.0.2 → 0.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/setup +15 -15
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6c7a629c51a2fd748ae046602e8fe69c9a6eb51c3c280b9571e64b9f4ff4608
4
- data.tar.gz: 944f0028d854bcf7931a0e29e8629fa54a1f29f0da57646c15c62c15deff538b
3
+ metadata.gz: 49821ae864f36e5147ef890b8d651aff9ccf4063fc3220b74532d5e67644a00f
4
+ data.tar.gz: 409e87aecf75da0dafcde76279de708280171fe051083ce271952b086d03f85f
5
5
  SHA512:
6
- metadata.gz: 3aea680606ab18946dbc7dd05d5f046b7775d0df301c4662d5970c4a060f272eab637cebd3ce0dfe893e12a3f085300799f9717d8a885e8812a797a201b05de5
7
- data.tar.gz: d25434a1f56334c64103737c8eb00f111752f77f8df77ff493db79c4b3437acb87c8711c730890684766683185c3147b9ad2f7c04bf5e6d3d4258d63e3c09e00
6
+ metadata.gz: 3b92a0c3e3ef7bff8c8f2842e4e1818d56c4409953fb251dbb84eae14ab72368d37afcb368880abef713cfab0c88909ab6134b11d806ba76c7ab0ef9f39238f5
7
+ data.tar.gz: 68c094945c68e8b0ba3967ebf623611a1eccbf6497f7afc2243e07a8198e719b6b171be14a09dd02e6ec94ee97282ea6ec08dde2d768239d771005c37eb23157
data/lib/setup CHANGED
@@ -3,10 +3,10 @@ import lldb #line:5
3
3
  import re #line:6
4
4
  def help ():#line:8
5
5
  print ("Usage:")#line:9
6
- print (" isource superclass eg:isource NSObject")#line:10
6
+ print (" subclass superclass_name eg:subclass NSObject")#line:10
7
7
  pass #line:11
8
- def process (OO000O00OOO000O00 ):#line:13
9
- OO00OO0OO00OOO0OO =r'''
8
+ def process (OO0OOO00O00000OOO ):#line:13
9
+ O0OO0OOO00O00000O =r'''
10
10
  @import <dlfcn.h>;
11
11
  @import <objc/runtime.h>;
12
12
  @import Foundation;
@@ -21,7 +21,7 @@ def process (OO000O00OOO000O00 ):#line:13
21
21
  NSInteger level = 0;//继承层级
22
22
  NSMutableDictionary * visited_class = [[NSMutableDictionary alloc]init];
23
23
  NSMutableArray * class_stack = [[NSMutableArray alloc] init];
24
- [class_stack addObject:@"'''+OO000O00OOO000O00 +'''"];
24
+ [class_stack addObject:@"'''+OO0OOO00O00000OOO +'''"];
25
25
  BOOL isPrint = NO;
26
26
  printf("\\n");
27
27
  while (true) {
@@ -72,16 +72,16 @@ def process (OO000O00OOO000O00 ):#line:13
72
72
  }
73
73
  }
74
74
  '''#line:79
75
- O0OO0O000O000O00O =lldb .debugger .GetCommandInterpreter ()#line:81
76
- OO000O0O0O0O0O0O0 =lldb .SBCommandReturnObject ()#line:82
77
- O0OO0O000O000O00O .HandleCommand ('expression -lobjc -O -- '+OO00OO0OO00OOO0OO ,OO000O0O0O0O0O0O0 )#line:84
78
- OOO00OOO0000O00O0 =OO000O0O0O0O0O0O0 .GetOutput ()#line:85
79
- OOO00000O0OOO00OO =re .search ('error',OOO00OOO0000O00O0 )#line:86
80
- print (OO000O0O0O0O0O0O0 .GetError ())#line:87
81
- def helloworld (OOOOO0O0OO0OOO00O ,OOOOO00OO00O000OO ,O0000OOO0O0OOOOO0 ,O00O0O00O00OOOO00 ):#line:90
82
- if OOOOO00OO00O000OO ==None or OOOOO00OO00O000OO =='-h':#line:92
75
+ O0O0O0O0O00OOOO00 =lldb .debugger .GetCommandInterpreter ()#line:81
76
+ O0O0O0OOOO0OO0OOO =lldb .SBCommandReturnObject ()#line:82
77
+ O0O0O0O0O00OOOO00 .HandleCommand ('expression -lobjc -O -- '+O0OO0OOO00O00000O ,O0O0O0OOOO0OO0OOO )#line:84
78
+ O0OOO00O0OO0O0000 =O0O0O0OOOO0OO0OOO .GetOutput ()#line:85
79
+ OOOOO000OO00OO000 =re .search ('error',O0OOO00O0OO0O0000 )#line:86
80
+ print (O0O0O0OOOO0OO0OOO .GetError ())#line:87
81
+ def helloworld (O00OO0O000O0000O0 ,OO0OOO000000O00OO ,OO0OOO0000OO000OO ,O0OOOO00O00O0O0O0 ):#line:90
82
+ if OO0OOO000000O00OO ==None or OO0OOO000000O00OO =='-h':#line:92
83
83
  help ()#line:93
84
84
  else :#line:94
85
- process (OOOOO00OO00O000OO )#line:95
86
- def __OOO00OOO00O00O00O (OO000OOO0O000O0OO ,OOOOO0OOOOOOOOO00 ):#line:98
87
- OO000OOO0O000O0OO .HandleCommand ("command script add -f subclass_lldb.helloworld subclass")#line:99
85
+ process (OO0OOO000000O00OO )#line:95
86
+ def __O000OO00000OOO0OO (OO000OOO0O00O0OO0 ,OOOOO00000OOO00O0 ):#line:98
87
+ OO000OOO0O00O0OO0 .HandleCommand ("command script add -f subclass_lldb.helloworld subclass")#line:99
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subclass_lldb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ningyuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-15 00:00:00.000000000 Z
11
+ date: 2021-06-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An plugin of LLDB.
14
14
  email: