Skip to content

Instantly share code, notes, and snippets.

@mame
Created September 30, 2019 04:35
Show Gist options
  • Save mame/b86cc62fbbccc38a62c9a78696b21979 to your computer and use it in GitHub Desktop.
Save mame/b86cc62fbbccc38a62c9a78696b21979 to your computer and use it in GitHub Desktop.
$ ./miniruby -e 'use_symbol = Object.instance_methods[0].is_a?(Symbol)
nummodule = nummethod = 0
mods = []
ObjectSpace.each_object(Module) {|m| mods << m if m.name }
mods = mods.sort_by {|m| m.name }
mods.each {|mod|
nummodule += 1
mc = mod.kind_of?(Class) ? "class" : "module"
puts "#{mc} #{mod.name} #{(mod.ancestors - [mod]).inspect}"
mod.singleton_methods(false).sort.each {|methname|
nummethod += 1
meth = mod.method(methname)
line = "#{mod.name}.#{methname} #{meth.arity}"
line << " not-implemented" if !mod.respond_to?(methname)
puts line
}
ms = mod.instance_methods(false)
if use_symbol
ms << :initialize if mod.private_instance_methods(false).include? :initialize
else
ms << "initialize" if mod.private_instance_methods(false).include? "initialize"
end
ms.sort.each {|methname|
nummethod += 1
meth = mod.instance_method(methname)
line = "#{mod.name}\##{methname} #{meth.arity}"
line << " not-implemented" if /\(not-implemented\)/ =~ meth.inspect
puts line
}
}
puts "#{nummodule} modules, #{nummethod} methods"
'
class ARGF.class [Enumerable, Object, Kernel, BasicObject]
ARGF.class#argv 0
ARGF.class#binmode 0
ARGF.class#binmode? 0
ARGF.class#bytes 0
ARGF.class#chars 0
ARGF.class#close 0
ARGF.class#closed? 0
ARGF.class#codepoints 0
ARGF.class#each -1
ARGF.class#each_byte 0
ARGF.class#each_char 0
ARGF.class#each_codepoint 0
ARGF.class#each_line -1
ARGF.class#eof 0
ARGF.class#eof? 0
ARGF.class#external_encoding 0
ARGF.class#file 0
ARGF.class#filename 0
ARGF.class#fileno 0
ARGF.class#getbyte 0
ARGF.class#getc 0
ARGF.class#gets -1
ARGF.class#initialize -1
ARGF.class#inplace_mode 0
ARGF.class#inplace_mode= 1
ARGF.class#inspect 0
ARGF.class#internal_encoding 0
ARGF.class#lineno 0
ARGF.class#lineno= 1
ARGF.class#lines -1
ARGF.class#path 0
ARGF.class#pos 0
ARGF.class#pos= 1
ARGF.class#print -1
ARGF.class#printf -1
ARGF.class#putc 1
ARGF.class#puts -1
ARGF.class#read -1
ARGF.class#read_nonblock -1
ARGF.class#readbyte 0
ARGF.class#readchar 0
ARGF.class#readline -1
ARGF.class#readlines -1
ARGF.class#readpartial -1
ARGF.class#rewind 0
ARGF.class#seek -1
ARGF.class#set_encoding -1
ARGF.class#skip 0
ARGF.class#tell 0
ARGF.class#to_a -1
ARGF.class#to_i 0
ARGF.class#to_io 0
ARGF.class#to_s 0
ARGF.class#to_write_io 0
ARGF.class#write 1
class ArgumentError [StandardError, Exception, Object, Kernel, BasicObject]
class Array [Enumerable, Object, Kernel, BasicObject]
Array.[] -1
Array.try_convert 1
Array#& 1
Array#* 1
Array#+ 1
Array#- 1
Array#<< 1
Array#<=> 1
Array#== 1
Array#[] -1
Array#[]= -1
Array#all? -1
Array#any? -1
Array#append -1
Array#assoc 1
Array#at 1
Array#bsearch 0
Array#bsearch_index 0
Array#clear 0
Array#collect 0
Array#collect! 0
Array#combination 1
Array#compact 0
Array#compact! 0
Array#concat -1
Array#count -1
Array#cycle -1
Array#deconstruct 0
Array#delete 1
Array#delete_at 1
Array#delete_if 0
Array#difference -1
Array#dig -1
Array#drop 1
Array#drop_while 0
Array#each 0
Array#each_index 0
Array#empty? 0
Array#eql? 1
Array#fetch -1
Array#fill -1
Array#filter 0
Array#filter! 0
Array#find_index -1
Array#first -1
Array#flatten -1
Array#flatten! -1
Array#hash 0
Array#include? 1
Array#index -1
Array#initialize -1
Array#insert -1
Array#inspect 0
Array#join -1
Array#keep_if 0
Array#last -1
Array#length 0
Array#map 0
Array#map! 0
Array#max -1
Array#min -1
Array#minmax 0
Array#none? -1
Array#one? -1
Array#pack -1
Array#permutation -1
Array#pop -1
Array#prepend -1
Array#product -1
Array#push -1
Array#rassoc 1
Array#reject 0
Array#reject! 0
Array#repeated_combination 1
Array#repeated_permutation 1
Array#replace 1
Array#reverse 0
Array#reverse! 0
Array#reverse_each 0
Array#rindex -1
Array#rotate -1
Array#rotate! -1
Array#sample -1
Array#select 0
Array#select! 0
Array#shift -1
Array#shuffle -1
Array#shuffle! -1
Array#size 0
Array#slice -1
Array#slice! -1
Array#sort 0
Array#sort! 0
Array#sort_by! 0
Array#sum -1
Array#take 1
Array#take_while 0
Array#to_a 0
Array#to_ary 0
Array#to_h 0
Array#to_s 0
Array#transpose 0
Array#union -1
Array#uniq 0
Array#uniq! 0
Array#unshift -1
Array#values_at -1
Array#zip -1
Array#| 1
class BasicObject []
BasicObject#! 0
BasicObject#!= 1
BasicObject#== 1
BasicObject#__id__ 0
BasicObject#__send__ -1
BasicObject#equal? 1
BasicObject#initialize 0
BasicObject#instance_eval -1
BasicObject#instance_exec -1
class Binding [Object, Kernel, BasicObject]
Binding#clone 0
Binding#dup 0
Binding#eval -1
Binding#local_variable_defined? 1
Binding#local_variable_get 1
Binding#local_variable_set 2
Binding#local_variables 0
Binding#receiver 0
Binding#source_location 0
class Class [Module, Object, Kernel, BasicObject]
Class#allocate 0
Class#initialize -1
Class#new -1
Class#superclass 0
class ClosedQueueError [StopIteration, IndexError, StandardError, Exception, Object, Kernel, BasicObject]
module Comparable []
Comparable#< 1
Comparable#<= 1
Comparable#== 1
Comparable#> 1
Comparable#>= 1
Comparable#between? 2
Comparable#clamp 2
class Complex [Numeric, Comparable, Object, Kernel, BasicObject]
Complex.polar -1
Complex.rect -1
Complex.rectangular -1
Complex#* 1
Complex#** 1
Complex#+ 1
Complex#- 1
Complex#-@ 0
Complex#/ 1
Complex#<=> 1
Complex#== 1
Complex#abs 0
Complex#abs2 0
Complex#angle 0
Complex#arg 0
Complex#coerce 1
Complex#conj 0
Complex#conjugate 0
Complex#denominator 0
Complex#eql? 1
Complex#fdiv 1
Complex#finite? 0
Complex#hash 0
Complex#imag 0
Complex#imaginary 0
Complex#infinite? 0
Complex#inspect 0
Complex#magnitude 0
Complex#numerator 0
Complex#phase 0
Complex#polar 0
Complex#quo 1
Complex#rationalize -1
Complex#real 0
Complex#real? 0
Complex#rect 0
Complex#rectangular 0
Complex#to_c 0
Complex#to_f 0
Complex#to_i 0
Complex#to_r 0
Complex#to_s 0
class Complex::compatible [Object, Kernel, BasicObject]
class Data [Object, Kernel, BasicObject]
module DidYouMean []
class Dir [Enumerable, Object, Kernel, BasicObject]
Dir.[] -1
Dir.chdir -1
Dir.children -1
Dir.chroot 1
Dir.delete 1
Dir.each_child -1
Dir.empty? 1
Dir.entries -1
Dir.exist? 1
Dir.exists? 1
Dir.foreach -1
Dir.getwd 0
Dir.glob -1
Dir.home -1
Dir.mkdir -1
Dir.open -1
Dir.pwd 0
Dir.rmdir 1
Dir.unlink 1
Dir#children 0
Dir#close 0
Dir#each 0
Dir#each_child 0
Dir#fileno 0
Dir#initialize -1
Dir#inspect 0
Dir#path 0
Dir#pos 0
Dir#pos= 1
Dir#read 0
Dir#rewind 0
Dir#seek 1
Dir#tell 0
Dir#to_path 0
class EOFError [IOError, StandardError, Exception, Object, Kernel, BasicObject]
class Encoding [Object, Kernel, BasicObject]
Encoding._load 1
Encoding.aliases 0
Encoding.compatible? 2
Encoding.default_external 0
Encoding.default_external= 1
Encoding.default_internal 0
Encoding.default_internal= 1
Encoding.find 1
Encoding.list 0
Encoding.locale_charmap 0
Encoding.name_list 0
Encoding#_dump -1
Encoding#ascii_compatible? 0
Encoding#dummy? 0
Encoding#inspect 0
Encoding#name 0
Encoding#names 0
Encoding#replicate 1
Encoding#to_s 0
class Encoding::CompatibilityError [EncodingError, StandardError, Exception, Object, Kernel, BasicObject]
class Encoding::Converter [Data, Object, Kernel, BasicObject]
Encoding::Converter.asciicompat_encoding 1
Encoding::Converter.search_convpath -1
Encoding::Converter#== 1
Encoding::Converter#convert 1
Encoding::Converter#convpath 0
Encoding::Converter#destination_encoding 0
Encoding::Converter#finish 0
Encoding::Converter#initialize -1
Encoding::Converter#insert_output 1
Encoding::Converter#inspect 0
Encoding::Converter#last_error 0
Encoding::Converter#primitive_convert -1
Encoding::Converter#primitive_errinfo 0
Encoding::Converter#putback -1
Encoding::Converter#replacement 0
Encoding::Converter#replacement= 1
Encoding::Converter#source_encoding 0
class Encoding::ConverterNotFoundError [EncodingError, StandardError, Exception, Object, Kernel, BasicObject]
class Encoding::InvalidByteSequenceError [EncodingError, StandardError, Exception, Object, Kernel, BasicObject]
Encoding::InvalidByteSequenceError#destination_encoding 0
Encoding::InvalidByteSequenceError#destination_encoding_name 0
Encoding::InvalidByteSequenceError#error_bytes 0
Encoding::InvalidByteSequenceError#incomplete_input? 0
Encoding::InvalidByteSequenceError#readagain_bytes 0
Encoding::InvalidByteSequenceError#source_encoding 0
Encoding::InvalidByteSequenceError#source_encoding_name 0
class Encoding::UndefinedConversionError [EncodingError, StandardError, Exception, Object, Kernel, BasicObject]
Encoding::UndefinedConversionError#destination_encoding 0
Encoding::UndefinedConversionError#destination_encoding_name 0
Encoding::UndefinedConversionError#error_char 0
Encoding::UndefinedConversionError#source_encoding 0
Encoding::UndefinedConversionError#source_encoding_name 0
class EncodingError [StandardError, Exception, Object, Kernel, BasicObject]
module Enumerable []
Enumerable#all? -1
Enumerable#any? -1
Enumerable#chain -1
Enumerable#chunk 0
Enumerable#chunk_while 0
Enumerable#collect 0
Enumerable#collect_concat 0
Enumerable#count -1
Enumerable#cycle -1
Enumerable#detect -1
Enumerable#drop 1
Enumerable#drop_while 0
Enumerable#each_cons 1
Enumerable#each_entry -1
Enumerable#each_slice 1
Enumerable#each_with_index -1
Enumerable#each_with_object 1
Enumerable#entries -1
Enumerable#filter 0
Enumerable#filter_map 0
Enumerable#find -1
Enumerable#find_all 0
Enumerable#find_index -1
Enumerable#first -1
Enumerable#flat_map 0
Enumerable#grep 1
Enumerable#grep_v 1
Enumerable#group_by 0
Enumerable#include? 1
Enumerable#inject -1
Enumerable#lazy 0
Enumerable#map 0
Enumerable#max -1
Enumerable#max_by -1
Enumerable#member? 1
Enumerable#min -1
Enumerable#min_by -1
Enumerable#minmax 0
Enumerable#minmax_by 0
Enumerable#none? -1
Enumerable#one? -1
Enumerable#partition 0
Enumerable#reduce -1
Enumerable#reject 0
Enumerable#reverse_each -1
Enumerable#select 0
Enumerable#slice_after -1
Enumerable#slice_before -1
Enumerable#slice_when 0
Enumerable#sort 0
Enumerable#sort_by 0
Enumerable#sum -1
Enumerable#take 1
Enumerable#take_while 0
Enumerable#tally 0
Enumerable#to_a -1
Enumerable#to_h -1
Enumerable#uniq 0
Enumerable#zip -1
class Enumerator [Enumerable, Object, Kernel, BasicObject]
Enumerator.produce -1
Enumerator#+ 1
Enumerator#each -1
Enumerator#each_with_index 0
Enumerator#each_with_object 1
Enumerator#feed 1
Enumerator#initialize -1
Enumerator#inspect 0
Enumerator#next 0
Enumerator#next_values 0
Enumerator#peek 0
Enumerator#peek_values 0
Enumerator#rewind 0
Enumerator#size 0
Enumerator#with_index -1
Enumerator#with_object 1
class Enumerator::ArithmeticSequence [Enumerator, Enumerable, Object, Kernel, BasicObject]
Enumerator::ArithmeticSequence#== 1
Enumerator::ArithmeticSequence#=== 1
Enumerator::ArithmeticSequence#begin 0
Enumerator::ArithmeticSequence#each 0
Enumerator::ArithmeticSequence#end 0
Enumerator::ArithmeticSequence#eql? 1
Enumerator::ArithmeticSequence#exclude_end? 0
Enumerator::ArithmeticSequence#first -1
Enumerator::ArithmeticSequence#hash 0
Enumerator::ArithmeticSequence#inspect 0
Enumerator::ArithmeticSequence#last -1
Enumerator::ArithmeticSequence#size 0
Enumerator::ArithmeticSequence#step 0
class Enumerator::Chain [Enumerator, Enumerable, Object, Kernel, BasicObject]
Enumerator::Chain#each -1
Enumerator::Chain#initialize -1
Enumerator::Chain#inspect 0
Enumerator::Chain#rewind 0
Enumerator::Chain#size 0
class Enumerator::Generator [Enumerable, Object, Kernel, BasicObject]
Enumerator::Generator#each -1
Enumerator::Generator#initialize -1
class Enumerator::Lazy [Enumerator, Enumerable, Object, Kernel, BasicObject]
Enumerator::Lazy#chunk -1
Enumerator::Lazy#chunk_while -1
Enumerator::Lazy#collect 0
Enumerator::Lazy#collect_concat 0
Enumerator::Lazy#drop 1
Enumerator::Lazy#drop_while 0
Enumerator::Lazy#eager 0
Enumerator::Lazy#enum_for -1
Enumerator::Lazy#filter 0
Enumerator::Lazy#filter_map 0
Enumerator::Lazy#find_all 0
Enumerator::Lazy#flat_map 0
Enumerator::Lazy#force -1
Enumerator::Lazy#grep 1
Enumerator::Lazy#grep_v 1
Enumerator::Lazy#initialize -1
Enumerator::Lazy#lazy 0
Enumerator::Lazy#map 0
Enumerator::Lazy#reject 0
Enumerator::Lazy#select 0
Enumerator::Lazy#slice_after -1
Enumerator::Lazy#slice_before -1
Enumerator::Lazy#slice_when -1
Enumerator::Lazy#take 1
Enumerator::Lazy#take_while 0
Enumerator::Lazy#to_enum -1
Enumerator::Lazy#uniq 0
Enumerator::Lazy#with_index -1
Enumerator::Lazy#zip -1
class Enumerator::Producer [Object, Kernel, BasicObject]
Enumerator::Producer#each 0
class Enumerator::Yielder [Object, Kernel, BasicObject]
Enumerator::Yielder#<< 1
Enumerator::Yielder#initialize 0
Enumerator::Yielder#to_proc 0
Enumerator::Yielder#yield -1
module Errno []
class Errno::E2BIG [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EACCES [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EADDRINUSE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EADDRNOTAVAIL [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EADV [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EAFNOSUPPORT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EAGAIN [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EALREADY [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EBADE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EBADF [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EBADFD [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EBADMSG [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EBADR [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EBADRQC [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EBADSLT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EBFONT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EBUSY [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ECANCELED [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ECHILD [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ECHRNG [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ECOMM [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ECONNABORTED [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ECONNREFUSED [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ECONNRESET [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EDEADLK [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EDESTADDRREQ [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EDOM [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EDOTDOT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EDQUOT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EEXIST [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EFAULT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EFBIG [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EHOSTDOWN [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EHOSTUNREACH [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EHWPOISON [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EIDRM [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EILSEQ [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EINPROGRESS [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EINTR [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EINVAL [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EIO [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EISCONN [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EISDIR [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EISNAM [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EKEYEXPIRED [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EKEYREJECTED [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EKEYREVOKED [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EL2HLT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EL2NSYNC [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EL3HLT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EL3RST [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ELIBACC [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ELIBBAD [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ELIBEXEC [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ELIBMAX [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ELIBSCN [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ELNRNG [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ELOOP [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EMEDIUMTYPE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EMFILE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EMLINK [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EMSGSIZE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EMULTIHOP [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENAMETOOLONG [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENAVAIL [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENETDOWN [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENETRESET [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENETUNREACH [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENFILE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOANO [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOBUFS [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOCSI [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENODATA [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENODEV [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOENT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOEXEC [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOKEY [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOLCK [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOLINK [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOMEDIUM [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOMEM [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOMSG [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENONET [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOPKG [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOPROTOOPT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOSPC [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOSR [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOSTR [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOSYS [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTBLK [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTCONN [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTDIR [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTEMPTY [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTNAM [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTRECOVERABLE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTSOCK [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTSUP [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTTY [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENOTUNIQ [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ENXIO [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EOVERFLOW [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EOWNERDEAD [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EPERM [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EPFNOSUPPORT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EPIPE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EPROTO [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EPROTONOSUPPORT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EPROTOTYPE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ERANGE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EREMCHG [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EREMOTE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EREMOTEIO [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ERESTART [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ERFKILL [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EROFS [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ESHUTDOWN [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ESOCKTNOSUPPORT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ESPIPE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ESRCH [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ESRMNT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ESTALE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ESTRPIPE [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ETIME [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ETIMEDOUT [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ETOOMANYREFS [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::ETXTBSY [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EUCLEAN [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EUNATCH [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EUSERS [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EXDEV [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::EXFULL [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Errno::NOERROR [SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class Exception [Object, Kernel, BasicObject]
Exception.exception -1
Exception.to_tty? 0
Exception#== 1
Exception#backtrace 0
Exception#backtrace_locations 0
Exception#cause 0
Exception#exception -1
Exception#full_message -1
Exception#initialize -1
Exception#inspect 0
Exception#message 0
Exception#respond_to? -1
Exception#set_backtrace 1
Exception#to_s 0
class FalseClass [Object, Kernel, BasicObject]
FalseClass#& 1
FalseClass#=== 1
FalseClass#^ 1
FalseClass#inspect 0
FalseClass#to_s 0
FalseClass#| 1
class Fiber [Object, Kernel, BasicObject]
Fiber.yield -1
Fiber#initialize -1
Fiber#inspect 0
Fiber#raise -1
Fiber#resume -1
Fiber#to_s 0
class FiberError [StandardError, Exception, Object, Kernel, BasicObject]
class File [IO, File::Constants, Enumerable, Object, Kernel, BasicObject]
File.absolute_path -1
File.absolute_path? 1
File.atime 1
File.basename -1
File.birthtime 1
File.blockdev? 1
File.chardev? 1
File.chmod -1
File.chown -1
File.ctime 1
File.delete -1
File.directory? 1
File.dirname 1
File.empty? 1
File.executable? 1
File.executable_real? 1
File.exist? 1
File.exists? 1
File.expand_path -1
File.extname 1
File.file? 1
File.fnmatch -1
File.fnmatch? -1
File.ftype 1
File.grpowned? 1
File.identical? 2
File.join -1
File.lchmod 0 not-implemented
File.lchown -1
File.link 2
File.lstat 1
File.lutime -1
File.mkfifo -1
File.mtime 1
File.owned? 1
File.path 1
File.pipe? 1
File.readable? 1
File.readable_real? 1
File.readlink 1
File.realdirpath -1
File.realpath -1
File.rename 2
File.setgid? 1
File.setuid? 1
File.size 1
File.size? 1
File.socket? 1
File.split 1
File.stat 1
File.sticky? 1
File.symlink 2
File.symlink? 1
File.truncate 2
File.umask -1
File.unlink -1
File.utime -1
File.world_readable? 1
File.world_writable? 1
File.writable? 1
File.writable_real? 1
File.zero? 1
File#atime 0
File#birthtime 0
File#chmod 1
File#chown 2
File#ctime 0
File#flock 1
File#initialize -1
File#lstat 0
File#mtime 0
File#path 0
File#size 0
File#to_path 0
File#truncate 1
module File::Constants []
class File::Stat [Comparable, Object, Kernel, BasicObject]
File::Stat#<=> 1
File::Stat#atime 0
File::Stat#birthtime 0 not-implemented
File::Stat#blksize 0
File::Stat#blockdev? 0
File::Stat#blocks 0
File::Stat#chardev? 0
File::Stat#ctime 0
File::Stat#dev 0
File::Stat#dev_major 0
File::Stat#dev_minor 0
File::Stat#directory? 0
File::Stat#executable? 0
File::Stat#executable_real? 0
File::Stat#file? 0
File::Stat#ftype 0
File::Stat#gid 0
File::Stat#grpowned? 0
File::Stat#initialize 1
File::Stat#ino 0
File::Stat#inspect 0
File::Stat#mode 0
File::Stat#mtime 0
File::Stat#nlink 0
File::Stat#owned? 0
File::Stat#pipe? 0
File::Stat#rdev 0
File::Stat#rdev_major 0
File::Stat#rdev_minor 0
File::Stat#readable? 0
File::Stat#readable_real? 0
File::Stat#setgid? 0
File::Stat#setuid? 0
File::Stat#size 0
File::Stat#size? 0
File::Stat#socket? 0
File::Stat#sticky? 0
File::Stat#symlink? 0
File::Stat#uid 0
File::Stat#world_readable? 0
File::Stat#world_writable? 0
File::Stat#writable? 0
File::Stat#writable_real? 0
File::Stat#zero? 0
module FileTest []
FileTest.blockdev? 1
FileTest.chardev? 1
FileTest.directory? 1
FileTest.empty? 1
FileTest.executable? 1
FileTest.executable_real? 1
FileTest.exist? 1
FileTest.exists? 1
FileTest.file? 1
FileTest.grpowned? 1
FileTest.identical? 2
FileTest.owned? 1
FileTest.pipe? 1
FileTest.readable? 1
FileTest.readable_real? 1
FileTest.setgid? 1
FileTest.setuid? 1
FileTest.size 1
FileTest.size? 1
FileTest.socket? 1
FileTest.sticky? 1
FileTest.symlink? 1
FileTest.world_readable? 1
FileTest.world_writable? 1
FileTest.writable? 1
FileTest.writable_real? 1
FileTest.zero? 1
class Float [Numeric, Comparable, Object, Kernel, BasicObject]
Float#% 1
Float#* 1
Float#** 1
Float#+ 1
Float#- 1
Float#-@ 0
Float#/ 1
Float#< 1
Float#<= 1
Float#<=> 1
Float#== 1
Float#=== 1
Float#> 1
Float#>= 1
Float#abs 0
Float#angle 0
Float#arg 0
Float#ceil -1
Float#coerce 1
Float#denominator 0
Float#divmod 1
Float#eql? 1
Float#fdiv 1
Float#finite? 0
Float#floor -1
Float#hash 0
Float#infinite? 0
Float#inspect 0
Float#magnitude 0
Float#modulo 1
Float#nan? 0
Float#negative? 0
Float#next_float 0
Float#numerator 0
Float#phase 0
Float#positive? 0
Float#prev_float 0
Float#quo 1
Float#rationalize -1
Float#round -1
Float#to_f 0
Float#to_i 0
Float#to_int 0
Float#to_r 0
Float#to_s 0
Float#truncate -1
Float#zero? 0
class FloatDomainError [RangeError, StandardError, Exception, Object, Kernel, BasicObject]
class FrozenError [RuntimeError, StandardError, Exception, Object, Kernel, BasicObject]
FrozenError#initialize -1
FrozenError#receiver 0
module GC []
GC.compact 0
GC.count 0
GC.disable 0
GC.enable 0
GC.latest_gc_info -1
GC.start -1
GC.stat -1
GC.stress 0
GC.stress= 1
GC.verify_compaction_references -1
GC.verify_internal_consistency 0
GC.verify_transient_heap_internal_consistency 0
GC#garbage_collect -1
module GC::Profiler []
GC::Profiler.clear 0
GC::Profiler.disable 0
GC::Profiler.enable 0
GC::Profiler.enabled? 0
GC::Profiler.raw_data 0
GC::Profiler.report -1
GC::Profiler.result 0
GC::Profiler.total_time 0
module Gem []
class Hash [Enumerable, Object, Kernel, BasicObject]
Hash.[] -1
Hash.try_convert 1
Hash#< 1
Hash#<= 1
Hash#== 1
Hash#> 1
Hash#>= 1
Hash#[] 1
Hash#[]= 2
Hash#any? -1
Hash#assoc 1
Hash#clear 0
Hash#compact 0
Hash#compact! 0
Hash#compare_by_identity 0
Hash#compare_by_identity? 0
Hash#deconstruct_keys 1
Hash#default -1
Hash#default= 1
Hash#default_proc 0
Hash#default_proc= 1
Hash#delete 1
Hash#delete_if 0
Hash#dig -1
Hash#each 0
Hash#each_key 0
Hash#each_pair 0
Hash#each_value 0
Hash#empty? 0
Hash#eql? 1
Hash#fetch -1
Hash#fetch_values -1
Hash#filter 0
Hash#filter! 0
Hash#flatten -1
Hash#has_key? 1
Hash#has_value? 1
Hash#hash 0
Hash#include? 1
Hash#index 1
Hash#initialize -1
Hash#inspect 0
Hash#invert 0
Hash#keep_if 0
Hash#key 1
Hash#key? 1
Hash#keys 0
Hash#length 0
Hash#member? 1
Hash#merge -1
Hash#merge! -1
Hash#rassoc 1
Hash#rehash 0
Hash#reject 0
Hash#reject! 0
Hash#replace 1
Hash#select 0
Hash#select! 0
Hash#shift 0
Hash#size 0
Hash#slice -1
Hash#store 2
Hash#to_a 0
Hash#to_h 0
Hash#to_hash 0
Hash#to_proc 0
Hash#to_s 0
Hash#transform_keys 0
Hash#transform_keys! 0
Hash#transform_values 0
Hash#transform_values! 0
Hash#update -1
Hash#value? 1
Hash#values 0
Hash#values_at -1
class IO [File::Constants, Enumerable, Object, Kernel, BasicObject]
IO.binread -1
IO.binwrite -1
IO.copy_stream -1
IO.for_fd -1
IO.foreach -1
IO.new -1
IO.open -1
IO.pipe -1
IO.popen -1
IO.read -1
IO.readlines -1
IO.select -1
IO.sysopen -1
IO.try_convert 1
IO.write -1
IO#<< 1
IO#advise -1
IO#autoclose= 1
IO#autoclose? 0
IO#binmode 0
IO#binmode? 0
IO#bytes 0
IO#chars 0
IO#close 0
IO#close_on_exec= 1
IO#close_on_exec? 0
IO#close_read 0
IO#close_write 0
IO#closed? 0
IO#codepoints 0
IO#each -1
IO#each_byte 0
IO#each_char 0
IO#each_codepoint 0
IO#each_line -1
IO#eof 0
IO#eof? 0
IO#external_encoding 0
IO#fcntl -1
IO#fdatasync 0
IO#fileno 0
IO#flush 0
IO#fsync 0
IO#getbyte 0
IO#getc 0
IO#gets -1
IO#initialize -1
IO#inspect 0
IO#internal_encoding 0
IO#ioctl -1
IO#isatty 0
IO#lineno 0
IO#lineno= 1
IO#lines -1
IO#pid 0
IO#pos 0
IO#pos= 1
IO#pread -1
IO#print -1
IO#printf -1
IO#putc 1
IO#puts -1
IO#pwrite 2
IO#read -1
IO#readbyte 0
IO#readchar 0
IO#readline -1
IO#readlines -1
IO#readpartial -1
IO#reopen -1
IO#rewind 0
IO#seek -1
IO#set_encoding -1
IO#set_encoding_by_bom 0
IO#stat 0
IO#sync 0
IO#sync= 1
IO#sysread -1
IO#sysseek -1
IO#syswrite 1
IO#tell 0
IO#to_i 0
IO#to_io 0
IO#tty? 0
IO#ungetbyte 1
IO#ungetc 1
IO#write -1
class IO::EAGAINWaitReadable [IO::WaitReadable, Errno::EAGAIN, SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class IO::EAGAINWaitWritable [IO::WaitWritable, Errno::EAGAIN, SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class IO::EINPROGRESSWaitReadable [IO::WaitReadable, Errno::EINPROGRESS, SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
class IO::EINPROGRESSWaitWritable [IO::WaitWritable, Errno::EINPROGRESS, SystemCallError, StandardError, Exception, Object, Kernel, BasicObject]
module IO::WaitReadable []
module IO::WaitWritable []
class IOError [StandardError, Exception, Object, Kernel, BasicObject]
class IndexError [StandardError, Exception, Object, Kernel, BasicObject]
class Integer [Numeric, Comparable, Object, Kernel, BasicObject]
Integer.sqrt 1
Integer#% 1
Integer#& 1
Integer#* 1
Integer#** 1
Integer#+ 1
Integer#- 1
Integer#-@ 0
Integer#/ 1
Integer#< 1
Integer#<< 1
Integer#<= 1
Integer#<=> 1
Integer#== 1
Integer#=== 1
Integer#> 1
Integer#>= 1
Integer#>> 1
Integer#[] -1
Integer#^ 1
Integer#abs 0
Integer#allbits? 1
Integer#anybits? 1
Integer#bit_length 0
Integer#ceil -1
Integer#chr -1
Integer#coerce 1
Integer#denominator 0
Integer#digits -1
Integer#div 1
Integer#divmod 1
Integer#downto 1
Integer#even? 0
Integer#fdiv 1
Integer#floor -1
Integer#gcd 1
Integer#gcdlcm 1
Integer#inspect -1
Integer#integer? 0
Integer#lcm 1
Integer#magnitude 0
Integer#modulo 1
Integer#next 0
Integer#nobits? 1
Integer#numerator 0
Integer#odd? 0
Integer#ord 0
Integer#pow -1
Integer#pred 0
Integer#rationalize -1
Integer#remainder 1
Integer#round -1
Integer#size 0
Integer#succ 0
Integer#times 0
Integer#to_f 0
Integer#to_i 0
Integer#to_int 0
Integer#to_r 0
Integer#to_s -1
Integer#truncate -1
Integer#upto 1
Integer#| 1
Integer#~ 0
class Interrupt [SignalException, Exception, Object, Kernel, BasicObject]
Interrupt#initialize -1
module Kernel []
Kernel.Array 1
Kernel.Complex -1
Kernel.Float -1
Kernel.Hash 1
Kernel.Integer -1
Kernel.Rational -1
Kernel.String 1
Kernel.__callee__ 0
Kernel.__dir__ 0
Kernel.__method__ 0
Kernel.` 1
Kernel.abort -1
Kernel.at_exit 0
Kernel.autoload 2
Kernel.autoload? -1
Kernel.binding 0
Kernel.block_given? 0
Kernel.caller -1
Kernel.caller_locations -1
Kernel.catch -1
Kernel.eval -1
Kernel.exec -1
Kernel.exit -1
Kernel.exit! -1
Kernel.fail -1
Kernel.fork 0
Kernel.format -1
Kernel.gets -1
Kernel.global_variables 0
Kernel.iterator? 0
Kernel.lambda 0
Kernel.load -1
Kernel.local_variables 0
Kernel.loop 0
Kernel.open -1
Kernel.p -1
Kernel.print -1
Kernel.printf -1
Kernel.proc 0
Kernel.putc 1
Kernel.puts -1
Kernel.raise -1
Kernel.rand -1
Kernel.readline -1
Kernel.readlines -1
Kernel.require 1
Kernel.require_relative 1
Kernel.select -1
Kernel.set_trace_func 1
Kernel.sleep -1
Kernel.spawn -1
Kernel.sprintf -1
Kernel.srand -1
Kernel.syscall -1
Kernel.system -1
Kernel.test -1
Kernel.throw -1
Kernel.trace_var -1
Kernel.trap -1
Kernel.untrace_var -1
Kernel.warn -1
Kernel#!~ 1
Kernel#<=> 1
Kernel#=== 1
Kernel#=~ 1
Kernel#class 0
Kernel#clone -1
Kernel#define_singleton_method -1
Kernel#display -1
Kernel#dup 0
Kernel#enum_for -1
Kernel#eql? 1
Kernel#extend -1
Kernel#freeze 0
Kernel#frozen? 0
Kernel#hash 0
Kernel#inspect 0
Kernel#instance_of? 1
Kernel#instance_variable_defined? 1
Kernel#instance_variable_get 1
Kernel#instance_variable_set 2
Kernel#instance_variables 0
Kernel#is_a? 1
Kernel#itself 0
Kernel#kind_of? 1
Kernel#method 1
Kernel#methods -1
Kernel#nil? 0
Kernel#object_id 0
Kernel#private_methods -1
Kernel#protected_methods -1
Kernel#public_method 1
Kernel#public_methods -1
Kernel#public_send -1
Kernel#remove_instance_variable 1
Kernel#respond_to? -1
Kernel#send -1
Kernel#singleton_class 0
Kernel#singleton_method 1
Kernel#singleton_methods -1
Kernel#taint 0
Kernel#tainted? 0
Kernel#tap 0
Kernel#then 0
Kernel#to_enum -1
Kernel#to_s 0
Kernel#trust 0
Kernel#untaint 0
Kernel#untrust 0
Kernel#untrusted? 0
Kernel#yield_self 0
class KeyError [IndexError, StandardError, Exception, Object, Kernel, BasicObject]
KeyError#initialize -1
KeyError#key 0
KeyError#receiver 0
class LoadError [ScriptError, Exception, Object, Kernel, BasicObject]
-e:27: [BUG] Segmentation fault at 0x0000000000000008
ruby 2.7.0dev (2019-09-30T01:31:08Z master 649a64ae29) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0007 p:---- s:0035 e:000034 CFUNC :inspect
c:0006 p:0077 s:0031 e:000029 BLOCK -e:27 [FINISH]
c:0005 p:---- s:0024 e:000023 CFUNC :each
c:0004 p:0180 s:0020 e:000019 BLOCK -e:23 [FINISH]
c:0003 p:---- s:0014 e:000013 CFUNC :each
c:0002 p:0079 s:0010 E:000f10 EVAL -e:6 [FINISH]
c:0001 p:0000 s:0003 E:000730 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
-e:6:in `<main>'
-e:6:in `each'
-e:23:in `block in <main>'
-e:23:in `each'
-e:27:in `block (2 levels) in <main>'
-e:27:in `inspect'
-- Machine register context ------------------------------------------------
RIP: 0x0000562f1ad8fb27 RBP: 0x0000000000000008 RSP: 0x00007fffb35f8250
RAX: 0x0000000000000008 RBX: 0x0000562f1baec9f0 RCX: 0x0000000000102005
RDX: 0x0000562f1bb7bf20 RDI: 0x0000000000000008 RSI: 0x0000562f1b0e4640
R8: 0x0000000000000000 R9: 0xffffffffffffffff R10: 0x0000000000000011
R11: 0x0000000000000000 R12: 0x0000562f1bb2ac50 R13: 0x0000562f1baeca68
R14: 0x0000562f1bb2ac50 R15: 0x0000562f1b01f0e7 EFL: 0x0000000000010202
-- C level backtrace information -------------------------------------------
/home/mame/work/ruby/miniruby(rb_vm_bugreport+0x554) [0x562f1afe2774] vm_dump.c:717
/home/mame/work/ruby/miniruby(rb_bug_context+0xe8) [0x562f1ae15ac8] error.c:611
/home/mame/work/ruby/miniruby(sigsegv+0x42) [0x562f1af4a512] signal.c:964
/lib/x86_64-linux-gnu/libpthread.so.0(__restore_rt+0x0) [0x7f236d33ef40]
/home/mame/work/ruby/miniruby(rb_array_len+0x0) [0x562f1ad8fb27] array.c:2237
/home/mame/work/ruby/miniruby(rb_ary_dup) array.c:2238
/home/mame/work/ruby/miniruby(method_def_location+0x45) [0x562f1aef4365] proc.c:2715
/home/mame/work/ruby/miniruby(rb_method_location) proc.c:2751
/home/mame/work/ruby/miniruby(method_inspect+0x13f) [0x562f1aef44ef] proc.c:2861
/home/mame/work/ruby/miniruby(vm_cfp_consistent_p+0x0) [0x562f1afc302b] vm_insnhelper.c:2276
/home/mame/work/ruby/miniruby(vm_call_cfunc_with_frame) vm_insnhelper.c:2278
/home/mame/work/ruby/miniruby(vm_call_cfunc) vm_insnhelper.c:2300
/home/mame/work/ruby/miniruby(vm_sendish+0x5a) [0x562f1afd43de] vm_insnhelper.c:3759
/home/mame/work/ruby/miniruby(vm_exec_core) insns.def:810
/home/mame/work/ruby/miniruby(rb_vm_exec+0xa8) [0x562f1afcbe78] vm.c:1894
/home/mame/work/ruby/miniruby(invoke_iseq_block_from_c+0xb0) [0x562f1afcd879] vm.c:1103
/home/mame/work/ruby/miniruby(invoke_block_from_c_bh) vm.c:1121
/home/mame/work/ruby/miniruby(vm_yield) vm.c:1166
/home/mame/work/ruby/miniruby(rb_yield_0) vm_eval.c:1233
/home/mame/work/ruby/miniruby(rb_yield_1) vm_eval.c:1239
/home/mame/work/ruby/miniruby(rb_yield) vm_eval.c:1249
/home/mame/work/ruby/miniruby(rb_array_len+0x0) [0x562f1ad87b6c] array.c:2133
/home/mame/work/ruby/miniruby(rb_ary_each) array.c:2132
/home/mame/work/ruby/miniruby(vm_cfp_consistent_p+0x0) [0x562f1afc302b] vm_insnhelper.c:2276
/home/mame/work/ruby/miniruby(vm_call_cfunc_with_frame) vm_insnhelper.c:2278
/home/mame/work/ruby/miniruby(vm_call_cfunc) vm_insnhelper.c:2300
/home/mame/work/ruby/miniruby(vm_sendish+0x5b) [0x562f1afd449d] vm_insnhelper.c:3759
/home/mame/work/ruby/miniruby(vm_exec_core) insns.def:792
/home/mame/work/ruby/miniruby(rb_vm_exec+0xa8) [0x562f1afcbe78] vm.c:1894
/home/mame/work/ruby/miniruby(invoke_iseq_block_from_c+0xb0) [0x562f1afcd879] vm.c:1103
/home/mame/work/ruby/miniruby(invoke_block_from_c_bh) vm.c:1121
/home/mame/work/ruby/miniruby(vm_yield) vm.c:1166
/home/mame/work/ruby/miniruby(rb_yield_0) vm_eval.c:1233
/home/mame/work/ruby/miniruby(rb_yield_1) vm_eval.c:1239
/home/mame/work/ruby/miniruby(rb_yield) vm_eval.c:1249
/home/mame/work/ruby/miniruby(rb_array_len+0x0) [0x562f1ad87b6c] array.c:2133
/home/mame/work/ruby/miniruby(rb_ary_each) array.c:2132
/home/mame/work/ruby/miniruby(vm_cfp_consistent_p+0x0) [0x562f1afc302b] vm_insnhelper.c:2276
/home/mame/work/ruby/miniruby(vm_call_cfunc_with_frame) vm_insnhelper.c:2278
/home/mame/work/ruby/miniruby(vm_call_cfunc) vm_insnhelper.c:2300
/home/mame/work/ruby/miniruby(vm_call_method_each_type+0xff) [0x562f1afd9daf] vm_insnhelper.c:2677
/home/mame/work/ruby/miniruby(vm_call_method+0x55) [0x562f1afda495] vm_insnhelper.c:2773
/home/mame/work/ruby/miniruby(vm_sendish+0x5b) [0x562f1afd449d] vm_insnhelper.c:3759
/home/mame/work/ruby/miniruby(vm_exec_core) insns.def:792
/home/mame/work/ruby/miniruby(rb_vm_exec+0xa8) [0x562f1afcbe78] vm.c:1894
/home/mame/work/ruby/miniruby(rb_ec_exec_node+0xbc) [0x562f1ae1a4dc] eval.c:273
/home/mame/work/ruby/miniruby(ruby_run_node+0x46) [0x562f1ae1e706] eval.c:331
/home/mame/work/ruby/miniruby(main+0x6f) [0x562f1ad8124f] ./main.c:50
-- Other runtime information -----------------------------------------------
* Loaded script: -e
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
* Process memory map:
562f1ad57000-562f1ad7c000 r--p 00000000 fd:00 7081451 /home/mame/work/ruby/miniruby
562f1ad7c000-562f1afef000 r-xp 00025000 fd:00 7081451 /home/mame/work/ruby/miniruby
562f1afef000-562f1b0e1000 r--p 00298000 fd:00 7081451 /home/mame/work/ruby/miniruby
562f1b0e2000-562f1b0e8000 r--p 0038a000 fd:00 7081451 /home/mame/work/ruby/miniruby
562f1b0e8000-562f1b0e9000 rw-p 00390000 fd:00 7081451 /home/mame/work/ruby/miniruby
562f1b0e9000-562f1b0ff000 rw-p 00000000 00:00 0
562f1bad2000-562f1bc29000 rw-p 00000000 00:00 0 [heap]
7f23679d1000-7f2367bba000 r--s 00000000 fd:00 19268902 /lib/x86_64-linux-gnu/libc-2.29.so
7f2367bba000-7f236934e000 r--s 00000000 fd:00 7081451 /home/mame/work/ruby/miniruby
7f236934e000-7f2369351000 r--p 00000000 fd:00 19267617 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2369351000-7f2369362000 r-xp 00003000 fd:00 19267617 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2369362000-7f2369366000 r--p 00014000 fd:00 19267617 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2369366000-7f2369367000 r--p 00017000 fd:00 19267617 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2369367000-7f2369368000 rw-p 00018000 fd:00 19267617 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f2369368000-7f2369369000 ---p 00000000 00:00 0
7f2369369000-7f236940a000 rw-p 00000000 00:00 0
7f236940a000-7f236940b000 ---p 00000000 00:00 0
7f236940b000-7f23694ac000 rw-p 00000000 00:00 0
7f23694ac000-7f23694ad000 ---p 00000000 00:00 0
7f23694ad000-7f236954e000 rw-p 00000000 00:00 0
7f236954e000-7f236954f000 ---p 00000000 00:00 0
7f236954f000-7f23695f0000 rw-p 00000000 00:00 0
7f23695f0000-7f23695f1000 ---p 00000000 00:00 0
7f23695f1000-7f2369692000 rw-p 00000000 00:00 0
7f2369692000-7f2369693000 ---p 00000000 00:00 0
7f2369693000-7f2369734000 rw-p 00000000 00:00 0
7f2369734000-7f2369735000 ---p 00000000 00:00 0
7f2369735000-7f23697d6000 rw-p 00000000 00:00 0
7f23697d6000-7f23697d7000 ---p 00000000 00:00 0
7f23697d7000-7f2369878000 rw-p 00000000 00:00 0
7f2369878000-7f2369879000 ---p 00000000 00:00 0
7f2369879000-7f236991a000 rw-p 00000000 00:00 0
7f236991a000-7f236991b000 ---p 00000000 00:00 0
7f236991b000-7f23699bc000 rw-p 00000000 00:00 0
7f23699bc000-7f23699bd000 ---p 00000000 00:00 0
7f23699bd000-7f2369a5e000 rw-p 00000000 00:00 0
7f2369a5e000-7f2369a5f000 ---p 00000000 00:00 0
7f2369a5f000-7f2369b00000 rw-p 00000000 00:00 0
7f2369b00000-7f2369b01000 ---p 00000000 00:00 0
7f2369b01000-7f2369ba2000 rw-p 00000000 00:00 0
7f2369ba2000-7f2369ba3000 ---p 00000000 00:00 0
7f2369ba3000-7f2369c44000 rw-p 00000000 00:00 0
7f2369c44000-7f2369c45000 ---p 00000000 00:00 0
7f2369c45000-7f2369ce6000 rw-p 00000000 00:00 0
7f2369ce6000-7f2369ce7000 ---p 00000000 00:00 0
7f2369ce7000-7f2369d88000 rw-p 00000000 00:00 0
7f2369d88000-7f2369d89000 ---p 00000000 00:00 0
7f2369d89000-7f2369e2a000 rw-p 00000000 00:00 0
7f2369e2a000-7f2369e2b000 ---p 00000000 00:00 0
7f2369e2b000-7f2369ecc000 rw-p 00000000 00:00 0
7f2369ecc000-7f2369ecd000 ---p 00000000 00:00 0
7f2369ecd000-7f2369f6e000 rw-p 00000000 00:00 0
7f2369f6e000-7f2369f6f000 ---p 00000000 00:00 0
7f2369f6f000-7f236a010000 rw-p 00000000 00:00 0
7f236a010000-7f236a011000 ---p 00000000 00:00 0
7f236a011000-7f236a0b2000 rw-p 00000000 00:00 0
7f236a0b2000-7f236a0b3000 ---p 00000000 00:00 0
7f236a0b3000-7f236a154000 rw-p 00000000 00:00 0
7f236a154000-7f236a155000 ---p 00000000 00:00 0
7f236a155000-7f236a1f6000 rw-p 00000000 00:00 0
7f236a1f6000-7f236a1f7000 ---p 00000000 00:00 0
7f236a1f7000-7f236a298000 rw-p 00000000 00:00 0
7f236a298000-7f236a299000 ---p 00000000 00:00 0
7f236a299000-7f236a33a000 rw-p 00000000 00:00 0
7f236a33a000-7f236a33b000 ---p 00000000 00:00 0
7f236a33b000-7f236a3dc000 rw-p 00000000 00:00 0
7f236a3dc000-7f236a3dd000 ---p 00000000 00:00 0
7f236a3dd000-7f236a47e000 rw-p 00000000 00:00 0
7f236a47e000-7f236a47f000 ---p 00000000 00:00 0
7f236a47f000-7f236a520000 rw-p 00000000 00:00 0
7f236a520000-7f236a521000 ---p 00000000 00:00 0
7f236a521000-7f236a5c2000 rw-p 00000000 00:00 0
7f236a5c2000-7f236a5c3000 ---p 00000000 00:00 0
7f236a5c3000-7f236a664000 rw-p 00000000 00:00 0
7f236a664000-7f236a665000 ---p 00000000 00:00 0
7f236a665000-7f236a706000 rw-p 00000000 00:00 0
7f236a706000-7f236a707000 ---p 00000000 00:00 0
7f236a707000-7f236c8b2000 rw-p 00000000 00:00 0
7f236c8b2000-7f236cf22000 r--p 00000000 fd:00 12976557 /usr/lib/locale/locale-archive
7f236cf22000-7f236cf24000 rw-p 00000000 00:00 0
7f236cf24000-7f236cf49000 r--p 00000000 fd:00 19268902 /lib/x86_64-linux-gnu/libc-2.29.so
7f236cf49000-7f236d0bc000 r-xp 00025000 fd:00 19268902 /lib/x86_64-linux-gnu/libc-2.29.so
7f236d0bc000-7f236d105000 r--p 00198000 fd:00 19268902 /lib/x86_64-linux-gnu/libc-2.29.so
7f236d105000-7f236d108000 r--p 001e0000 fd:00 19268902 /lib/x86_64-linux-gnu/libc-2.29.so
7f236d108000-7f236d10b000 rw-p 001e3000 fd:00 19268902 /lib/x86_64-linux-gnu/libc-2.29.so
7f236d10b000-7f236d10f000 rw-p 00000000 00:00 0
7f236d10f000-7f236d11e000 r--p 00000000 fd:00 19269337 /lib/x86_64-linux-gnu/libm-2.29.so
7f236d11e000-7f236d1c4000 r-xp 0000f000 fd:00 19269337 /lib/x86_64-linux-gnu/libm-2.29.so
7f236d1c4000-7f236d25b000 r--p 000b5000 fd:00 19269337 /lib/x86_64-linux-gnu/libm-2.29.so
7f236d25b000-7f236d25c000 r--p 0014b000 fd:00 19269337 /lib/x86_64-linux-gnu/libm-2.29.so
7f236d25c000-7f236d25d000 rw-p 0014c000 fd:00 19269337 /lib/x86_64-linux-gnu/libm-2.29.so
7f236d25d000-7f236d25f000 rw-p 00000000 00:00 0
7f236d25f000-7f236d260000 r--p 00000000 fd:00 19269264 /lib/x86_64-linux-gnu/libcrypt-2.29.so
7f236d260000-7f236d266000 r-xp 00001000 fd:00 19269264 /lib/x86_64-linux-gnu/libcrypt-2.29.so
7f236d266000-7f236d268000 r--p 00007000 fd:00 19269264 /lib/x86_64-linux-gnu/libcrypt-2.29.so
7f236d268000-7f236d269000 ---p 00009000 fd:00 19269264 /lib/x86_64-linux-gnu/libcrypt-2.29.so
7f236d269000-7f236d26a000 r--p 00009000 fd:00 19269264 /lib/x86_64-linux-gnu/libcrypt-2.29.so
7f236d26a000-7f236d26b000 rw-p 0000a000 fd:00 19269264 /lib/x86_64-linux-gnu/libcrypt-2.29.so
7f236d26b000-7f236d299000 rw-p 00000000 00:00 0
7f236d299000-7f236d29a000 r--p 00000000 fd:00 19269333 /lib/x86_64-linux-gnu/libdl-2.29.so
7f236d29a000-7f236d29c000 r-xp 00001000 fd:00 19269333 /lib/x86_64-linux-gnu/libdl-2.29.so
7f236d29c000-7f236d29d000 r--p 00003000 fd:00 19269333 /lib/x86_64-linux-gnu/libdl-2.29.so
7f236d29d000-7f236d29e000 r--p 00003000 fd:00 19269333 /lib/x86_64-linux-gnu/libdl-2.29.so
7f236d29e000-7f236d29f000 rw-p 00004000 fd:00 19269333 /lib/x86_64-linux-gnu/libdl-2.29.so
7f236d29f000-7f236d2a9000 r--p 00000000 fd:00 12980257 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7f236d2a9000-7f236d306000 r-xp 0000a000 fd:00 12980257 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7f236d306000-7f236d31d000 r--p 00067000 fd:00 12980257 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7f236d31d000-7f236d31e000 ---p 0007e000 fd:00 12980257 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7f236d31e000-7f236d31f000 r--p 0007e000 fd:00 12980257 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7f236d31f000-7f236d320000 rw-p 0007f000 fd:00 12980257 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
7f236d320000-7f236d323000 r--p 00000000 fd:00 19269452 /lib/x86_64-linux-gnu/librt-2.29.so
7f236d323000-7f236d327000 r-xp 00003000 fd:00 19269452 /lib/x86_64-linux-gnu/librt-2.29.so
7f236d327000-7f236d329000 r--p 00007000 fd:00 19269452 /lib/x86_64-linux-gnu/librt-2.29.so
7f236d329000-7f236d32a000 r--p 00008000 fd:00 19269452 /lib/x86_64-linux-gnu/librt-2.29.so
7f236d32a000-7f236d32b000 rw-p 00009000 fd:00 19269452 /lib/x86_64-linux-gnu/librt-2.29.so
7f236d32b000-7f236d332000 r--p 00000000 fd:00 19269447 /lib/x86_64-linux-gnu/libpthread-2.29.so
7f236d332000-7f236d341000 r-xp 00007000 fd:00 19269447 /lib/x86_64-linux-gnu/libpthread-2.29.so
7f236d341000-7f236d346000 r--p 00016000 fd:00 19269447 /lib/x86_64-linux-gnu/libpthread-2.29.so
7f236d346000-7f236d347000 r--p 0001a000 fd:00 19269447 /lib/x86_64-linux-gnu/libpthread-2.29.so
7f236d347000-7f236d348000 rw-p 0001b000 fd:00 19269447 /lib/x86_64-linux-gnu/libpthread-2.29.so
7f236d348000-7f236d34c000 rw-p 00000000 00:00 0
7f236d34c000-7f236d34e000 r--p 00000000 fd:00 19268775 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f236d34e000-7f236d35f000 r-xp 00002000 fd:00 19268775 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f236d35f000-7f236d365000 r--p 00013000 fd:00 19268775 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f236d365000-7f236d366000 ---p 00019000 fd:00 19268775 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f236d366000-7f236d367000 r--p 00019000 fd:00 19268775 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f236d367000-7f236d368000 rw-p 0001a000 fd:00 19268775 /lib/x86_64-linux-gnu/libz.so.1.2.11
7f236d368000-7f236d36a000 rw-p 00000000 00:00 0
7f236d375000-7f236d39a000 r--s 00000000 fd:00 19269447 /lib/x86_64-linux-gnu/libpthread-2.29.so
7f236d39a000-7f236d39b000 r--p 00000000 fd:00 19267638 /lib/x86_64-linux-gnu/ld-2.29.so
7f236d39b000-7f236d3bc000 r-xp 00001000 fd:00 19267638 /lib/x86_64-linux-gnu/ld-2.29.so
7f236d3bc000-7f236d3c4000 r--p 00022000 fd:00 19267638 /lib/x86_64-linux-gnu/ld-2.29.so
7f236d3c4000-7f236d3c5000 r--p 00029000 fd:00 19267638 /lib/x86_64-linux-gnu/ld-2.29.so
7f236d3c5000-7f236d3c6000 rw-p 0002a000 fd:00 19267638 /lib/x86_64-linux-gnu/ld-2.29.so
7f236d3c6000-7f236d3c7000 rw-p 00000000 00:00 0
7fffb2dfc000-7fffb35fb000 rw-p 00000000 00:00 0 [stack]
7fffb35fc000-7fffb35ff000 r--p 00000000 00:00 0 [vvar]
7fffb35ff000-7fffb3600000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
中止 (コアダンプ)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment