rbx-trepanning 0.0.5-universal-rubinius-1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +2002 -0
- data/LICENSE +25 -0
- data/NEWS +31 -0
- data/README.textile +34 -0
- data/Rakefile +165 -0
- data/THANKS +14 -0
- data/app/breakpoint.rb +219 -0
- data/app/breakpoint.rbc +3551 -0
- data/app/brkptmgr.rb +140 -0
- data/app/brkptmgr.rbc +2903 -0
- data/app/client.rb +61 -0
- data/app/client.rbc +1225 -0
- data/app/complete.rb +52 -0
- data/app/complete.rbc +1288 -0
- data/app/default.rb +71 -0
- data/app/default.rbc +1132 -0
- data/app/display.rb +148 -0
- data/app/display.rbc +2578 -0
- data/app/frame.rb +98 -0
- data/app/frame.rbc +1808 -0
- data/app/irb.rb +111 -0
- data/app/irb.rbc +2094 -0
- data/app/iseq.rb +117 -0
- data/app/iseq.rbc +2192 -0
- data/app/llvm.rbc +2478 -0
- data/app/method.rb +173 -0
- data/app/method.rbc +2492 -0
- data/app/method_name.rbc +2467 -0
- data/app/mock.rb +13 -0
- data/app/mock.rbc +398 -0
- data/app/options.rb +137 -0
- data/app/options.rbc +2898 -0
- data/app/rbx-llvm.rb +165 -0
- data/app/rbx-llvm.rbc +2478 -0
- data/app/run.rb +86 -0
- data/app/run.rbc +1244 -0
- data/app/util.rb +49 -0
- data/app/util.rbc +1146 -0
- data/app/validate.rb +30 -0
- data/app/validate.rbc +676 -0
- data/bin/trepan.compiled.rbc +1043 -0
- data/bin/trepanx +69 -0
- data/bin/trepanx.compiled.rbc +1049 -0
- data/data/irbrc +41 -0
- data/data/irbrc.compiled.rbc +640 -0
- data/interface/base_intf.rb +105 -0
- data/interface/base_intf.rbc +1899 -0
- data/interface/client.rb +80 -0
- data/interface/client.rbc +1072 -0
- data/interface/comcodes.rb +20 -0
- data/interface/comcodes.rbc +385 -0
- data/interface/script.rb +104 -0
- data/interface/script.rbc +1642 -0
- data/interface/server.rb +143 -0
- data/interface/server.rbc +2213 -0
- data/interface/user.rb +150 -0
- data/interface/user.rbc +2867 -0
- data/io/base_io.rb +148 -0
- data/io/base_io.rbc +2111 -0
- data/io/input.rb +135 -0
- data/io/input.rbc +2528 -0
- data/io/null_output.rb +42 -0
- data/io/null_output.rbc +730 -0
- data/io/string_array.rb +156 -0
- data/io/string_array.rbc +2466 -0
- data/io/tcpclient.rb +129 -0
- data/io/tcpclient.rbc +2419 -0
- data/io/tcpfns.rb +33 -0
- data/io/tcpfns.rbc +694 -0
- data/io/tcpserver.rb +141 -0
- data/io/tcpserver.rbc +2638 -0
- data/lib/trepanning.rb +474 -0
- data/lib/trepanning.rbc +7705 -0
- data/lib/trepanning2.rb +441 -0
- data/processor/breakpoint.rb +164 -0
- data/processor/command/alias.rb +55 -0
- data/processor/command/backtrace.rb +76 -0
- data/processor/command/base/cmd.rb +173 -0
- data/processor/command/base/subcmd.rb +229 -0
- data/processor/command/base/submgr.rb +182 -0
- data/processor/command/base/subsubcmd.rb +103 -0
- data/processor/command/base/subsubmgr.rb +195 -0
- data/processor/command/break.rb +100 -0
- data/processor/command/complete.rb +37 -0
- data/processor/command/continue.rb +91 -0
- data/processor/command/delete.rb +30 -0
- data/processor/command/directory.rb +51 -0
- data/processor/command/disassemble.rb +145 -0
- data/processor/command/display.rb +82 -0
- data/processor/command/down.rb +54 -0
- data/processor/command/eval.rb +51 -0
- data/processor/command/exit.rb +62 -0
- data/processor/command/finish.rb +80 -0
- data/processor/command/frame.rb +89 -0
- data/processor/command/help.rb +251 -0
- data/processor/command/info.rb +28 -0
- data/processor/command/info_subcmd/breakpoints.rb +73 -0
- data/processor/command/info_subcmd/files.rb +209 -0
- data/processor/command/info_subcmd/line.rb +86 -0
- data/processor/command/info_subcmd/method.rb +71 -0
- data/processor/command/info_subcmd/program.rb +49 -0
- data/processor/command/info_subcmd/ruby.rb +62 -0
- data/processor/command/info_subcmd/variables.rb +48 -0
- data/processor/command/irb.rb +128 -0
- data/processor/command/kill.rb +70 -0
- data/processor/command/list.rb +300 -0
- data/processor/command/macro.rb +76 -0
- data/processor/command/next.rb +66 -0
- data/processor/command/nexti.rb +59 -0
- data/processor/command/pr.rb +38 -0
- data/processor/command/ps.rb +40 -0
- data/processor/command/restart.rb +60 -0
- data/processor/command/server.rb +72 -0
- data/processor/command/set.rb +47 -0
- data/processor/command/set_subcmd/auto.rb +27 -0
- data/processor/command/set_subcmd/auto_subcmd/dis.rb +33 -0
- data/processor/command/set_subcmd/auto_subcmd/eval.rb +54 -0
- data/processor/command/set_subcmd/auto_subcmd/irb.rb +34 -0
- data/processor/command/set_subcmd/auto_subcmd/list.rb +34 -0
- data/processor/command/set_subcmd/basename.rb +25 -0
- data/processor/command/set_subcmd/confirm.rb +24 -0
- data/processor/command/set_subcmd/debug.rb +26 -0
- data/processor/command/set_subcmd/debug_subcmd/dbgr.rb +36 -0
- data/processor/command/set_subcmd/debug_subcmd/skip.rb +23 -0
- data/processor/command/set_subcmd/debug_subcmd/step.rb +23 -0
- data/processor/command/set_subcmd/different.rb +59 -0
- data/processor/command/set_subcmd/hidelevel.rb +62 -0
- data/processor/command/set_subcmd/highlight.rb +33 -0
- data/processor/command/set_subcmd/kernelstep.rb +60 -0
- data/processor/command/set_subcmd/max.rb +26 -0
- data/processor/command/set_subcmd/max_subcmd/list.rb +49 -0
- data/processor/command/set_subcmd/max_subcmd/stack.rb +50 -0
- data/processor/command/set_subcmd/max_subcmd/string.rb +76 -0
- data/processor/command/set_subcmd/max_subcmd/width.rb +49 -0
- data/processor/command/set_subcmd/substitute.rb +24 -0
- data/processor/command/set_subcmd/substitute_subcmd/path.rb +56 -0
- data/processor/command/set_subcmd/trace.rb +36 -0
- data/processor/command/set_subcmd/trace_subcmd/print.rb +57 -0
- data/processor/command/show.rb +38 -0
- data/processor/command/show_subcmd/alias.rb +42 -0
- data/processor/command/show_subcmd/args.rb +25 -0
- data/processor/command/show_subcmd/auto.rb +28 -0
- data/processor/command/show_subcmd/auto_subcmd/dis.rb +37 -0
- data/processor/command/show_subcmd/auto_subcmd/eval.rb +28 -0
- data/processor/command/show_subcmd/auto_subcmd/irb.rb +23 -0
- data/processor/command/show_subcmd/auto_subcmd/list.rb +22 -0
- data/processor/command/show_subcmd/basename.rb +20 -0
- data/processor/command/show_subcmd/confirm.rb +18 -0
- data/processor/command/show_subcmd/debug.rb +26 -0
- data/processor/command/show_subcmd/debug_subcmd/dbgr.rb +21 -0
- data/processor/command/show_subcmd/debug_subcmd/skip.rb +22 -0
- data/processor/command/show_subcmd/debug_subcmd/step.rb +22 -0
- data/processor/command/show_subcmd/different.rb +26 -0
- data/processor/command/show_subcmd/hidelevel.rb +41 -0
- data/processor/command/show_subcmd/highlight.rb +24 -0
- data/processor/command/show_subcmd/kernelstep.rb +34 -0
- data/processor/command/show_subcmd/max.rb +27 -0
- data/processor/command/show_subcmd/max_subcmd/list.rb +38 -0
- data/processor/command/show_subcmd/max_subcmd/stack.rb +36 -0
- data/processor/command/show_subcmd/max_subcmd/string.rb +42 -0
- data/processor/command/show_subcmd/max_subcmd/width.rb +37 -0
- data/processor/command/show_subcmd/trace.rb +27 -0
- data/processor/command/show_subcmd/trace_subcmd/print.rb +38 -0
- data/processor/command/show_subcmd/version.rb +23 -0
- data/processor/command/source.rb +126 -0
- data/processor/command/step.rb +84 -0
- data/processor/command/tbreak.rb +19 -0
- data/processor/command/unalias.rb +44 -0
- data/processor/command/undisplay.rb +59 -0
- data/processor/command/up.rb +86 -0
- data/processor/default.rb +58 -0
- data/processor/disassemble.rb +46 -0
- data/processor/display.rb +18 -0
- data/processor/eval.rb +96 -0
- data/processor/frame.rb +211 -0
- data/processor/help.rb +72 -0
- data/processor/hook.rb +133 -0
- data/processor/load_cmds.rb +185 -0
- data/processor/location.rb +137 -0
- data/processor/main.rb +412 -0
- data/processor/mock.rb +144 -0
- data/processor/msg.rb +43 -0
- data/processor/running.rb +234 -0
- data/processor/stepping.rb +114 -0
- data/processor/subcmd.rb +161 -0
- data/processor/validate.rb +355 -0
- data/sample/list-terminal-colors.rb +139 -0
- data/sample/list-terminal-colors.rbc +2318 -0
- data/sample/rocky-dot-trepanxrc +14 -0
- data/sample/rocky-trepanx-colors.rb +47 -0
- data/sample/rocky-trepanx-colors.rbc +530 -0
- data/test/data/enable.right +36 -0
- data/test/data/fname-with-blank.cmd +6 -0
- data/test/data/fname-with-blank.right +4 -0
- data/test/data/inline-call.cmd +6 -0
- data/test/data/inline-call.right +13 -0
- data/test/data/quit-Xdebug.right +3 -0
- data/test/data/quit.cmd +5 -0
- data/test/data/quit.right +2 -0
- data/test/data/quit2.cmd +6 -0
- data/test/data/quit2.right +3 -0
- data/test/data/step-bug.cmd +11 -0
- data/test/data/step-bug.right +3 -0
- data/test/example/fname with blank.rb +1 -0
- data/test/example/gcd-server.rb +22 -0
- data/test/example/gcd.rb +19 -0
- data/test/example/inline-call.rb +23 -0
- data/test/example/null.rb +1 -0
- data/test/example/step-bug.rb +14 -0
- data/test/example/thread1.rb +3 -0
- data/test/functional/fn_helper.rb +112 -0
- data/test/functional/test-break-name.rb +52 -0
- data/test/functional/test-break.rb +51 -0
- data/test/functional/test-finish.rb +70 -0
- data/test/functional/test-fn_helper.rb +43 -0
- data/test/functional/test-list.rb +55 -0
- data/test/functional/test-next-bug.rb +49 -0
- data/test/functional/test-next.rb +101 -0
- data/test/functional/test-step.rb +272 -0
- data/test/functional/test-step2.rb +35 -0
- data/test/functional/test-tbreak.rb +41 -0
- data/test/integration/file-diff.rb +89 -0
- data/test/integration/helper.rb +78 -0
- data/test/integration/skip-test-step-bug.rb +17 -0
- data/test/integration/test-fname-with-blank.rb +16 -0
- data/test/integration/test-inline-call.rb +20 -0
- data/test/integration/test-quit.rb +47 -0
- data/test/unit/cmd-helper.rb +50 -0
- data/test/unit/mock-helper.rb +10 -0
- data/test/unit/test-app-brkpt.rb +29 -0
- data/test/unit/test-app-brkptmgr.rb +51 -0
- data/test/unit/test-app-iseq.rb +64 -0
- data/test/unit/test-app-method.rb +54 -0
- data/test/unit/test-app-options.rb +82 -0
- data/test/unit/test-app-run.rb +16 -0
- data/test/unit/test-app-util.rb +27 -0
- data/test/unit/test-app-validate.rb +18 -0
- data/test/unit/test-base-cmd.rb +47 -0
- data/test/unit/test-base-subcmd.rb +61 -0
- data/test/unit/test-base-submgr.rb +24 -0
- data/test/unit/test-bin-trepanx.rb +48 -0
- data/test/unit/test-cmd-alias.rb +48 -0
- data/test/unit/test-cmd-break.rb +22 -0
- data/test/unit/test-cmd-exit.rb +27 -0
- data/test/unit/test-cmd-finish.rb +27 -0
- data/test/unit/test-cmd-help.rb +104 -0
- data/test/unit/test-cmd-kill.rb +47 -0
- data/test/unit/test-cmd-source.rb +34 -0
- data/test/unit/test-cmd-step.rb +29 -0
- data/test/unit/test-completion.rb +38 -0
- data/test/unit/test-intf-user.rb +46 -0
- data/test/unit/test-io-input.rb +27 -0
- data/test/unit/test-io-tcp.rb +33 -0
- data/test/unit/test-io-tcpclient.rb +54 -0
- data/test/unit/test-io-tcpfns.rb +17 -0
- data/test/unit/test-io-tcpserver.rb +50 -0
- data/test/unit/test-proc-eval.rb +36 -0
- data/test/unit/test-proc-frame.rb +79 -0
- data/test/unit/test-proc-help.rb +16 -0
- data/test/unit/test-proc-hook.rb +30 -0
- data/test/unit/test-proc-load_cmds.rb +50 -0
- data/test/unit/test-proc-location.rb +53 -0
- data/test/unit/test-proc-main.rb +99 -0
- data/test/unit/test-proc-validate.rb +91 -0
- data/test/unit/test-subcmd-help.rb +47 -0
- metadata +398 -0
data/app/util.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Copyright (C) 2010, 2011 Rocky Bernstein <rockyb@rubyforge.net>
|
2
|
+
|
3
|
+
class Trepan
|
4
|
+
module Util
|
5
|
+
|
6
|
+
module_function
|
7
|
+
def safe_repr(str, max, elipsis='... ')
|
8
|
+
if str.is_a?(String) && max > 0 && str.size > max && !str.index("\n")
|
9
|
+
"%s%s%s" % [ str[0...max/2], elipsis, str[str.size-max/2..str.size]]
|
10
|
+
else
|
11
|
+
str
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
# Find user portion of script skipping over Rubinius code loading.
|
16
|
+
# Unless hidestack is off, we don't show parts of the frame below this.
|
17
|
+
def find_main_script(locs)
|
18
|
+
candidate = nil
|
19
|
+
(locs.size-1).downto(0) do |i|
|
20
|
+
loc = locs[i]
|
21
|
+
if 'main.' == loc.describe_receiver &&
|
22
|
+
:__script__ == loc.name
|
23
|
+
if loc.method.active_path =~ /\/trepanx$/
|
24
|
+
# Might have been run from standalone trepanx.
|
25
|
+
candidate = i
|
26
|
+
else
|
27
|
+
return locs.size - i - 1
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
candidate ? locs.size - candidate - 1 : nil
|
32
|
+
end
|
33
|
+
module_function :find_main_script
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
if __FILE__ == $0
|
38
|
+
include Trepan::Util
|
39
|
+
string = 'The time has come to talk of many things.'
|
40
|
+
puts safe_repr(string, 50)
|
41
|
+
puts safe_repr(string, 17)
|
42
|
+
puts safe_repr(string.inspect, 17)
|
43
|
+
puts safe_repr(string.inspect, 17, '')
|
44
|
+
locs = Rubinius::VM.backtrace(0)
|
45
|
+
locs.each_with_index do |l, i|
|
46
|
+
puts "#{i}: #{l.describe}"
|
47
|
+
end
|
48
|
+
puts "main script in above is #{locs.size() - 1 - find_main_script(locs)}"
|
49
|
+
end
|
data/app/util.rbc
ADDED
@@ -0,0 +1,1146 @@
|
|
1
|
+
!RBIX
|
2
|
+
0
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
184
|
13
|
+
99
|
14
|
+
7
|
15
|
+
0
|
16
|
+
1
|
17
|
+
65
|
18
|
+
49
|
19
|
+
1
|
20
|
+
3
|
21
|
+
13
|
22
|
+
99
|
23
|
+
12
|
24
|
+
7
|
25
|
+
2
|
26
|
+
12
|
27
|
+
7
|
28
|
+
3
|
29
|
+
12
|
30
|
+
65
|
31
|
+
12
|
32
|
+
49
|
33
|
+
4
|
34
|
+
4
|
35
|
+
15
|
36
|
+
49
|
37
|
+
2
|
38
|
+
0
|
39
|
+
15
|
40
|
+
65
|
41
|
+
49
|
42
|
+
5
|
43
|
+
0
|
44
|
+
99
|
45
|
+
43
|
46
|
+
6
|
47
|
+
7
|
48
|
+
7
|
49
|
+
49
|
50
|
+
8
|
51
|
+
1
|
52
|
+
83
|
53
|
+
9
|
54
|
+
9
|
55
|
+
180
|
56
|
+
5
|
57
|
+
45
|
58
|
+
0
|
59
|
+
10
|
60
|
+
43
|
61
|
+
11
|
62
|
+
47
|
63
|
+
49
|
64
|
+
12
|
65
|
+
1
|
66
|
+
15
|
67
|
+
7
|
68
|
+
13
|
69
|
+
64
|
70
|
+
19
|
71
|
+
0
|
72
|
+
15
|
73
|
+
5
|
74
|
+
5
|
75
|
+
20
|
76
|
+
0
|
77
|
+
4
|
78
|
+
50
|
79
|
+
47
|
80
|
+
49
|
81
|
+
14
|
82
|
+
2
|
83
|
+
47
|
84
|
+
49
|
85
|
+
15
|
86
|
+
1
|
87
|
+
15
|
88
|
+
5
|
89
|
+
5
|
90
|
+
20
|
91
|
+
0
|
92
|
+
4
|
93
|
+
17
|
94
|
+
47
|
95
|
+
49
|
96
|
+
14
|
97
|
+
2
|
98
|
+
47
|
99
|
+
49
|
100
|
+
15
|
101
|
+
1
|
102
|
+
15
|
103
|
+
5
|
104
|
+
5
|
105
|
+
20
|
106
|
+
0
|
107
|
+
49
|
108
|
+
16
|
109
|
+
0
|
110
|
+
4
|
111
|
+
17
|
112
|
+
47
|
113
|
+
49
|
114
|
+
14
|
115
|
+
2
|
116
|
+
47
|
117
|
+
49
|
118
|
+
15
|
119
|
+
1
|
120
|
+
15
|
121
|
+
5
|
122
|
+
5
|
123
|
+
20
|
124
|
+
0
|
125
|
+
49
|
126
|
+
16
|
127
|
+
0
|
128
|
+
4
|
129
|
+
17
|
130
|
+
7
|
131
|
+
17
|
132
|
+
64
|
133
|
+
47
|
134
|
+
49
|
135
|
+
14
|
136
|
+
3
|
137
|
+
47
|
138
|
+
49
|
139
|
+
15
|
140
|
+
1
|
141
|
+
15
|
142
|
+
45
|
143
|
+
18
|
144
|
+
19
|
145
|
+
43
|
146
|
+
20
|
147
|
+
78
|
148
|
+
49
|
149
|
+
21
|
150
|
+
1
|
151
|
+
19
|
152
|
+
1
|
153
|
+
15
|
154
|
+
20
|
155
|
+
1
|
156
|
+
56
|
157
|
+
22
|
158
|
+
50
|
159
|
+
23
|
160
|
+
0
|
161
|
+
15
|
162
|
+
5
|
163
|
+
7
|
164
|
+
24
|
165
|
+
20
|
166
|
+
1
|
167
|
+
49
|
168
|
+
25
|
169
|
+
0
|
170
|
+
79
|
171
|
+
82
|
172
|
+
26
|
173
|
+
5
|
174
|
+
20
|
175
|
+
1
|
176
|
+
47
|
177
|
+
49
|
178
|
+
27
|
179
|
+
1
|
180
|
+
82
|
181
|
+
26
|
182
|
+
47
|
183
|
+
101
|
184
|
+
28
|
185
|
+
63
|
186
|
+
2
|
187
|
+
47
|
188
|
+
49
|
189
|
+
15
|
190
|
+
1
|
191
|
+
8
|
192
|
+
181
|
193
|
+
1
|
194
|
+
15
|
195
|
+
2
|
196
|
+
11
|
197
|
+
I
|
198
|
+
8
|
199
|
+
I
|
200
|
+
2
|
201
|
+
I
|
202
|
+
0
|
203
|
+
I
|
204
|
+
0
|
205
|
+
n
|
206
|
+
p
|
207
|
+
29
|
208
|
+
x
|
209
|
+
6
|
210
|
+
Trepan
|
211
|
+
x
|
212
|
+
10
|
213
|
+
open_class
|
214
|
+
x
|
215
|
+
14
|
216
|
+
__class_init__
|
217
|
+
M
|
218
|
+
1
|
219
|
+
n
|
220
|
+
n
|
221
|
+
x
|
222
|
+
6
|
223
|
+
Trepan
|
224
|
+
i
|
225
|
+
28
|
226
|
+
5
|
227
|
+
66
|
228
|
+
99
|
229
|
+
7
|
230
|
+
0
|
231
|
+
65
|
232
|
+
49
|
233
|
+
1
|
234
|
+
2
|
235
|
+
13
|
236
|
+
99
|
237
|
+
12
|
238
|
+
7
|
239
|
+
2
|
240
|
+
12
|
241
|
+
7
|
242
|
+
3
|
243
|
+
12
|
244
|
+
65
|
245
|
+
12
|
246
|
+
49
|
247
|
+
4
|
248
|
+
4
|
249
|
+
15
|
250
|
+
49
|
251
|
+
2
|
252
|
+
0
|
253
|
+
11
|
254
|
+
I
|
255
|
+
6
|
256
|
+
I
|
257
|
+
0
|
258
|
+
I
|
259
|
+
0
|
260
|
+
I
|
261
|
+
0
|
262
|
+
n
|
263
|
+
p
|
264
|
+
5
|
265
|
+
x
|
266
|
+
4
|
267
|
+
Util
|
268
|
+
x
|
269
|
+
11
|
270
|
+
open_module
|
271
|
+
x
|
272
|
+
15
|
273
|
+
__module_init__
|
274
|
+
M
|
275
|
+
1
|
276
|
+
n
|
277
|
+
n
|
278
|
+
x
|
279
|
+
4
|
280
|
+
Util
|
281
|
+
i
|
282
|
+
42
|
283
|
+
5
|
284
|
+
66
|
285
|
+
5
|
286
|
+
48
|
287
|
+
0
|
288
|
+
15
|
289
|
+
99
|
290
|
+
7
|
291
|
+
1
|
292
|
+
7
|
293
|
+
2
|
294
|
+
65
|
295
|
+
67
|
296
|
+
49
|
297
|
+
3
|
298
|
+
0
|
299
|
+
49
|
300
|
+
4
|
301
|
+
4
|
302
|
+
15
|
303
|
+
99
|
304
|
+
7
|
305
|
+
5
|
306
|
+
7
|
307
|
+
6
|
308
|
+
65
|
309
|
+
67
|
310
|
+
49
|
311
|
+
3
|
312
|
+
0
|
313
|
+
49
|
314
|
+
4
|
315
|
+
4
|
316
|
+
15
|
317
|
+
5
|
318
|
+
7
|
319
|
+
5
|
320
|
+
47
|
321
|
+
49
|
322
|
+
0
|
323
|
+
1
|
324
|
+
11
|
325
|
+
I
|
326
|
+
5
|
327
|
+
I
|
328
|
+
0
|
329
|
+
I
|
330
|
+
0
|
331
|
+
I
|
332
|
+
0
|
333
|
+
n
|
334
|
+
p
|
335
|
+
7
|
336
|
+
x
|
337
|
+
15
|
338
|
+
module_function
|
339
|
+
x
|
340
|
+
9
|
341
|
+
safe_repr
|
342
|
+
M
|
343
|
+
1
|
344
|
+
n
|
345
|
+
n
|
346
|
+
x
|
347
|
+
9
|
348
|
+
safe_repr
|
349
|
+
i
|
350
|
+
123
|
351
|
+
23
|
352
|
+
2
|
353
|
+
10
|
354
|
+
10
|
355
|
+
7
|
356
|
+
0
|
357
|
+
64
|
358
|
+
19
|
359
|
+
2
|
360
|
+
15
|
361
|
+
20
|
362
|
+
0
|
363
|
+
45
|
364
|
+
1
|
365
|
+
2
|
366
|
+
49
|
367
|
+
3
|
368
|
+
1
|
369
|
+
13
|
370
|
+
9
|
371
|
+
58
|
372
|
+
15
|
373
|
+
20
|
374
|
+
1
|
375
|
+
78
|
376
|
+
85
|
377
|
+
4
|
378
|
+
13
|
379
|
+
9
|
380
|
+
58
|
381
|
+
15
|
382
|
+
20
|
383
|
+
0
|
384
|
+
49
|
385
|
+
5
|
386
|
+
0
|
387
|
+
20
|
388
|
+
1
|
389
|
+
85
|
390
|
+
4
|
391
|
+
13
|
392
|
+
9
|
393
|
+
58
|
394
|
+
15
|
395
|
+
20
|
396
|
+
0
|
397
|
+
7
|
398
|
+
6
|
399
|
+
64
|
400
|
+
49
|
401
|
+
7
|
402
|
+
1
|
403
|
+
10
|
404
|
+
57
|
405
|
+
2
|
406
|
+
8
|
407
|
+
58
|
408
|
+
3
|
409
|
+
9
|
410
|
+
120
|
411
|
+
7
|
412
|
+
8
|
413
|
+
64
|
414
|
+
20
|
415
|
+
0
|
416
|
+
44
|
417
|
+
43
|
418
|
+
9
|
419
|
+
78
|
420
|
+
20
|
421
|
+
1
|
422
|
+
80
|
423
|
+
49
|
424
|
+
10
|
425
|
+
1
|
426
|
+
2
|
427
|
+
49
|
428
|
+
11
|
429
|
+
3
|
430
|
+
49
|
431
|
+
12
|
432
|
+
1
|
433
|
+
20
|
434
|
+
2
|
435
|
+
20
|
436
|
+
0
|
437
|
+
44
|
438
|
+
43
|
439
|
+
9
|
440
|
+
20
|
441
|
+
0
|
442
|
+
49
|
443
|
+
5
|
444
|
+
0
|
445
|
+
20
|
446
|
+
1
|
447
|
+
80
|
448
|
+
49
|
449
|
+
10
|
450
|
+
1
|
451
|
+
82
|
452
|
+
13
|
453
|
+
20
|
454
|
+
0
|
455
|
+
49
|
456
|
+
5
|
457
|
+
0
|
458
|
+
49
|
459
|
+
11
|
460
|
+
2
|
461
|
+
49
|
462
|
+
12
|
463
|
+
1
|
464
|
+
35
|
465
|
+
3
|
466
|
+
49
|
467
|
+
14
|
468
|
+
1
|
469
|
+
8
|
470
|
+
122
|
471
|
+
20
|
472
|
+
0
|
473
|
+
11
|
474
|
+
I
|
475
|
+
b
|
476
|
+
I
|
477
|
+
3
|
478
|
+
I
|
479
|
+
2
|
480
|
+
I
|
481
|
+
3
|
482
|
+
n
|
483
|
+
p
|
484
|
+
15
|
485
|
+
s
|
486
|
+
4
|
487
|
+
...
|
488
|
+
x
|
489
|
+
6
|
490
|
+
String
|
491
|
+
n
|
492
|
+
x
|
493
|
+
5
|
494
|
+
is_a?
|
495
|
+
x
|
496
|
+
1
|
497
|
+
>
|
498
|
+
x
|
499
|
+
4
|
500
|
+
size
|
501
|
+
s
|
502
|
+
1
|
503
|
+
|
504
|
+
|
505
|
+
x
|
506
|
+
5
|
507
|
+
index
|
508
|
+
s
|
509
|
+
6
|
510
|
+
%s%s%s
|
511
|
+
x
|
512
|
+
5
|
513
|
+
Range
|
514
|
+
x
|
515
|
+
1
|
516
|
+
/
|
517
|
+
x
|
518
|
+
3
|
519
|
+
new
|
520
|
+
x
|
521
|
+
2
|
522
|
+
[]
|
523
|
+
x
|
524
|
+
1
|
525
|
+
-
|
526
|
+
x
|
527
|
+
1
|
528
|
+
%
|
529
|
+
p
|
530
|
+
9
|
531
|
+
I
|
532
|
+
-1
|
533
|
+
I
|
534
|
+
7
|
535
|
+
I
|
536
|
+
a
|
537
|
+
I
|
538
|
+
8
|
539
|
+
I
|
540
|
+
3c
|
541
|
+
I
|
542
|
+
9
|
543
|
+
I
|
544
|
+
78
|
545
|
+
I
|
546
|
+
b
|
547
|
+
I
|
548
|
+
7b
|
549
|
+
x
|
550
|
+
51
|
551
|
+
/home/rocky-rvm/.rvm/src/rbx-trepanning/app/util.rb
|
552
|
+
p
|
553
|
+
3
|
554
|
+
x
|
555
|
+
3
|
556
|
+
str
|
557
|
+
x
|
558
|
+
3
|
559
|
+
max
|
560
|
+
x
|
561
|
+
7
|
562
|
+
elipsis
|
563
|
+
x
|
564
|
+
17
|
565
|
+
method_visibility
|
566
|
+
x
|
567
|
+
15
|
568
|
+
add_defn_method
|
569
|
+
x
|
570
|
+
16
|
571
|
+
find_main_script
|
572
|
+
M
|
573
|
+
1
|
574
|
+
n
|
575
|
+
n
|
576
|
+
x
|
577
|
+
16
|
578
|
+
find_main_script
|
579
|
+
i
|
580
|
+
39
|
581
|
+
1
|
582
|
+
19
|
583
|
+
1
|
584
|
+
15
|
585
|
+
20
|
586
|
+
0
|
587
|
+
49
|
588
|
+
0
|
589
|
+
0
|
590
|
+
79
|
591
|
+
82
|
592
|
+
1
|
593
|
+
78
|
594
|
+
56
|
595
|
+
2
|
596
|
+
50
|
597
|
+
3
|
598
|
+
1
|
599
|
+
15
|
600
|
+
20
|
601
|
+
1
|
602
|
+
9
|
603
|
+
37
|
604
|
+
20
|
605
|
+
0
|
606
|
+
49
|
607
|
+
0
|
608
|
+
0
|
609
|
+
20
|
610
|
+
1
|
611
|
+
82
|
612
|
+
1
|
613
|
+
79
|
614
|
+
82
|
615
|
+
1
|
616
|
+
8
|
617
|
+
38
|
618
|
+
1
|
619
|
+
11
|
620
|
+
I
|
621
|
+
5
|
622
|
+
I
|
623
|
+
2
|
624
|
+
I
|
625
|
+
1
|
626
|
+
I
|
627
|
+
1
|
628
|
+
n
|
629
|
+
p
|
630
|
+
4
|
631
|
+
x
|
632
|
+
4
|
633
|
+
size
|
634
|
+
x
|
635
|
+
1
|
636
|
+
-
|
637
|
+
M
|
638
|
+
1
|
639
|
+
p
|
640
|
+
2
|
641
|
+
x
|
642
|
+
9
|
643
|
+
for_block
|
644
|
+
t
|
645
|
+
n
|
646
|
+
x
|
647
|
+
16
|
648
|
+
find_main_script
|
649
|
+
i
|
650
|
+
96
|
651
|
+
57
|
652
|
+
19
|
653
|
+
0
|
654
|
+
15
|
655
|
+
21
|
656
|
+
1
|
657
|
+
0
|
658
|
+
20
|
659
|
+
0
|
660
|
+
49
|
661
|
+
0
|
662
|
+
1
|
663
|
+
19
|
664
|
+
1
|
665
|
+
15
|
666
|
+
7
|
667
|
+
1
|
668
|
+
64
|
669
|
+
20
|
670
|
+
1
|
671
|
+
49
|
672
|
+
2
|
673
|
+
0
|
674
|
+
83
|
675
|
+
3
|
676
|
+
13
|
677
|
+
9
|
678
|
+
38
|
679
|
+
15
|
680
|
+
7
|
681
|
+
4
|
682
|
+
20
|
683
|
+
1
|
684
|
+
49
|
685
|
+
5
|
686
|
+
0
|
687
|
+
83
|
688
|
+
3
|
689
|
+
9
|
690
|
+
94
|
691
|
+
20
|
692
|
+
1
|
693
|
+
49
|
694
|
+
6
|
695
|
+
0
|
696
|
+
49
|
697
|
+
7
|
698
|
+
0
|
699
|
+
7
|
700
|
+
8
|
701
|
+
13
|
702
|
+
70
|
703
|
+
9
|
704
|
+
66
|
705
|
+
15
|
706
|
+
44
|
707
|
+
43
|
708
|
+
9
|
709
|
+
7
|
710
|
+
10
|
711
|
+
78
|
712
|
+
49
|
713
|
+
11
|
714
|
+
2
|
715
|
+
6
|
716
|
+
8
|
717
|
+
49
|
718
|
+
12
|
719
|
+
1
|
720
|
+
9
|
721
|
+
78
|
722
|
+
20
|
723
|
+
0
|
724
|
+
22
|
725
|
+
1
|
726
|
+
1
|
727
|
+
8
|
728
|
+
92
|
729
|
+
21
|
730
|
+
1
|
731
|
+
0
|
732
|
+
49
|
733
|
+
13
|
734
|
+
0
|
735
|
+
20
|
736
|
+
0
|
737
|
+
82
|
738
|
+
14
|
739
|
+
79
|
740
|
+
82
|
741
|
+
14
|
742
|
+
31
|
743
|
+
8
|
744
|
+
95
|
745
|
+
1
|
746
|
+
11
|
747
|
+
I
|
748
|
+
7
|
749
|
+
I
|
750
|
+
2
|
751
|
+
I
|
752
|
+
1
|
753
|
+
I
|
754
|
+
1
|
755
|
+
n
|
756
|
+
p
|
757
|
+
15
|
758
|
+
x
|
759
|
+
2
|
760
|
+
[]
|
761
|
+
s
|
762
|
+
5
|
763
|
+
main.
|
764
|
+
x
|
765
|
+
17
|
766
|
+
describe_receiver
|
767
|
+
x
|
768
|
+
2
|
769
|
+
==
|
770
|
+
x
|
771
|
+
10
|
772
|
+
__script__
|
773
|
+
x
|
774
|
+
4
|
775
|
+
name
|
776
|
+
x
|
777
|
+
6
|
778
|
+
method
|
779
|
+
x
|
780
|
+
11
|
781
|
+
active_path
|
782
|
+
n
|
783
|
+
x
|
784
|
+
6
|
785
|
+
Regexp
|
786
|
+
s
|
787
|
+
10
|
788
|
+
\/trepanx$
|
789
|
+
x
|
790
|
+
3
|
791
|
+
new
|
792
|
+
x
|
793
|
+
2
|
794
|
+
=~
|
795
|
+
x
|
796
|
+
4
|
797
|
+
size
|
798
|
+
x
|
799
|
+
1
|
800
|
+
-
|
801
|
+
p
|
802
|
+
17
|
803
|
+
I
|
804
|
+
0
|
805
|
+
I
|
806
|
+
13
|
807
|
+
I
|
808
|
+
4
|
809
|
+
I
|
810
|
+
14
|
811
|
+
I
|
812
|
+
f
|
813
|
+
I
|
814
|
+
15
|
815
|
+
I
|
816
|
+
1d
|
817
|
+
I
|
818
|
+
16
|
819
|
+
I
|
820
|
+
28
|
821
|
+
I
|
822
|
+
17
|
823
|
+
I
|
824
|
+
47
|
825
|
+
I
|
826
|
+
19
|
827
|
+
I
|
828
|
+
4e
|
829
|
+
I
|
830
|
+
1b
|
831
|
+
I
|
832
|
+
5e
|
833
|
+
I
|
834
|
+
16
|
835
|
+
I
|
836
|
+
60
|
837
|
+
x
|
838
|
+
51
|
839
|
+
/home/rocky-rvm/.rvm/src/rbx-trepanning/app/util.rb
|
840
|
+
p
|
841
|
+
2
|
842
|
+
x
|
843
|
+
1
|
844
|
+
i
|
845
|
+
x
|
846
|
+
3
|
847
|
+
loc
|
848
|
+
x
|
849
|
+
6
|
850
|
+
downto
|
851
|
+
p
|
852
|
+
9
|
853
|
+
I
|
854
|
+
-1
|
855
|
+
I
|
856
|
+
11
|
857
|
+
I
|
858
|
+
0
|
859
|
+
I
|
860
|
+
12
|
861
|
+
I
|
862
|
+
4
|
863
|
+
I
|
864
|
+
13
|
865
|
+
I
|
866
|
+
13
|
867
|
+
I
|
868
|
+
1f
|
869
|
+
I
|
870
|
+
27
|
871
|
+
x
|
872
|
+
51
|
873
|
+
/home/rocky-rvm/.rvm/src/rbx-trepanning/app/util.rb
|
874
|
+
p
|
875
|
+
2
|
876
|
+
x
|
877
|
+
4
|
878
|
+
locs
|
879
|
+
x
|
880
|
+
9
|
881
|
+
candidate
|
882
|
+
p
|
883
|
+
9
|
884
|
+
I
|
885
|
+
2
|
886
|
+
I
|
887
|
+
6
|
888
|
+
I
|
889
|
+
6
|
890
|
+
I
|
891
|
+
7
|
892
|
+
I
|
893
|
+
14
|
894
|
+
I
|
895
|
+
11
|
896
|
+
I
|
897
|
+
22
|
898
|
+
I
|
899
|
+
21
|
900
|
+
I
|
901
|
+
2a
|
902
|
+
x
|
903
|
+
51
|
904
|
+
/home/rocky-rvm/.rvm/src/rbx-trepanning/app/util.rb
|
905
|
+
p
|
906
|
+
0
|
907
|
+
x
|
908
|
+
13
|
909
|
+
attach_method
|
910
|
+
p
|
911
|
+
3
|
912
|
+
I
|
913
|
+
2
|
914
|
+
I
|
915
|
+
4
|
916
|
+
I
|
917
|
+
1c
|
918
|
+
x
|
919
|
+
51
|
920
|
+
/home/rocky-rvm/.rvm/src/rbx-trepanning/app/util.rb
|
921
|
+
p
|
922
|
+
0
|
923
|
+
x
|
924
|
+
13
|
925
|
+
attach_method
|
926
|
+
x
|
927
|
+
11
|
928
|
+
active_path
|
929
|
+
x
|
930
|
+
7
|
931
|
+
Globals
|
932
|
+
x
|
933
|
+
2
|
934
|
+
$0
|
935
|
+
x
|
936
|
+
2
|
937
|
+
[]
|
938
|
+
x
|
939
|
+
2
|
940
|
+
==
|
941
|
+
n
|
942
|
+
x
|
943
|
+
4
|
944
|
+
Util
|
945
|
+
x
|
946
|
+
7
|
947
|
+
include
|
948
|
+
s
|
949
|
+
41
|
950
|
+
The time has come to talk of many things.
|
951
|
+
x
|
952
|
+
9
|
953
|
+
safe_repr
|
954
|
+
x
|
955
|
+
4
|
956
|
+
puts
|
957
|
+
x
|
958
|
+
7
|
959
|
+
inspect
|
960
|
+
s
|
961
|
+
0
|
962
|
+
|
963
|
+
x
|
964
|
+
8
|
965
|
+
Rubinius
|
966
|
+
n
|
967
|
+
x
|
968
|
+
2
|
969
|
+
VM
|
970
|
+
x
|
971
|
+
9
|
972
|
+
backtrace
|
973
|
+
M
|
974
|
+
1
|
975
|
+
p
|
976
|
+
2
|
977
|
+
x
|
978
|
+
9
|
979
|
+
for_block
|
980
|
+
t
|
981
|
+
n
|
982
|
+
x
|
983
|
+
9
|
984
|
+
__block__
|
985
|
+
i
|
986
|
+
33
|
987
|
+
58
|
988
|
+
37
|
989
|
+
19
|
990
|
+
0
|
991
|
+
15
|
992
|
+
37
|
993
|
+
19
|
994
|
+
1
|
995
|
+
15
|
996
|
+
15
|
997
|
+
5
|
998
|
+
20
|
999
|
+
1
|
1000
|
+
47
|
1001
|
+
101
|
1002
|
+
0
|
1003
|
+
7
|
1004
|
+
1
|
1005
|
+
20
|
1006
|
+
0
|
1007
|
+
49
|
1008
|
+
2
|
1009
|
+
0
|
1010
|
+
47
|
1011
|
+
101
|
1012
|
+
0
|
1013
|
+
63
|
1014
|
+
3
|
1015
|
+
47
|
1016
|
+
49
|
1017
|
+
3
|
1018
|
+
1
|
1019
|
+
11
|
1020
|
+
I
|
1021
|
+
7
|
1022
|
+
I
|
1023
|
+
2
|
1024
|
+
I
|
1025
|
+
2
|
1026
|
+
I
|
1027
|
+
2
|
1028
|
+
n
|
1029
|
+
p
|
1030
|
+
4
|
1031
|
+
x
|
1032
|
+
4
|
1033
|
+
to_s
|
1034
|
+
s
|
1035
|
+
2
|
1036
|
+
:
|
1037
|
+
x
|
1038
|
+
8
|
1039
|
+
describe
|
1040
|
+
x
|
1041
|
+
4
|
1042
|
+
puts
|
1043
|
+
p
|
1044
|
+
5
|
1045
|
+
I
|
1046
|
+
0
|
1047
|
+
I
|
1048
|
+
2d
|
1049
|
+
I
|
1050
|
+
a
|
1051
|
+
I
|
1052
|
+
2e
|
1053
|
+
I
|
1054
|
+
21
|
1055
|
+
x
|
1056
|
+
51
|
1057
|
+
/home/rocky-rvm/.rvm/src/rbx-trepanning/app/util.rb
|
1058
|
+
p
|
1059
|
+
2
|
1060
|
+
x
|
1061
|
+
1
|
1062
|
+
l
|
1063
|
+
x
|
1064
|
+
1
|
1065
|
+
i
|
1066
|
+
x
|
1067
|
+
15
|
1068
|
+
each_with_index
|
1069
|
+
s
|
1070
|
+
24
|
1071
|
+
main script in above is
|
1072
|
+
x
|
1073
|
+
4
|
1074
|
+
size
|
1075
|
+
x
|
1076
|
+
1
|
1077
|
+
-
|
1078
|
+
x
|
1079
|
+
16
|
1080
|
+
find_main_script
|
1081
|
+
x
|
1082
|
+
4
|
1083
|
+
to_s
|
1084
|
+
p
|
1085
|
+
25
|
1086
|
+
I
|
1087
|
+
0
|
1088
|
+
I
|
1089
|
+
3
|
1090
|
+
I
|
1091
|
+
1b
|
1092
|
+
I
|
1093
|
+
25
|
1094
|
+
I
|
1095
|
+
2b
|
1096
|
+
I
|
1097
|
+
26
|
1098
|
+
I
|
1099
|
+
36
|
1100
|
+
I
|
1101
|
+
27
|
1102
|
+
I
|
1103
|
+
3c
|
1104
|
+
I
|
1105
|
+
28
|
1106
|
+
I
|
1107
|
+
4b
|
1108
|
+
I
|
1109
|
+
29
|
1110
|
+
I
|
1111
|
+
5a
|
1112
|
+
I
|
1113
|
+
2a
|
1114
|
+
I
|
1115
|
+
6c
|
1116
|
+
I
|
1117
|
+
2b
|
1118
|
+
I
|
1119
|
+
81
|
1120
|
+
I
|
1121
|
+
2c
|
1122
|
+
I
|
1123
|
+
8d
|
1124
|
+
I
|
1125
|
+
2d
|
1126
|
+
I
|
1127
|
+
95
|
1128
|
+
I
|
1129
|
+
30
|
1130
|
+
I
|
1131
|
+
b4
|
1132
|
+
I
|
1133
|
+
25
|
1134
|
+
I
|
1135
|
+
b8
|
1136
|
+
x
|
1137
|
+
51
|
1138
|
+
/home/rocky-rvm/.rvm/src/rbx-trepanning/app/util.rb
|
1139
|
+
p
|
1140
|
+
2
|
1141
|
+
x
|
1142
|
+
6
|
1143
|
+
string
|
1144
|
+
x
|
1145
|
+
4
|
1146
|
+
locs
|