1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/objspace
Alan Wu 24820d508b Return nil when argument to ObjectSpace.internal_class_of is T_IMEMO
The added test case crashes the interpreter because it makes
ObjectSpace.internal_class_of return the second VALUE slot of an AST
imemo object. The second VALUE slot of `struct rb_ast_struct` is
not a VALUE and not a pointer to a Ruby object.
2020-09-25 09:27:49 -07:00
..
lib Parse ObjectSpace.dump_all / dump arguments in Ruby to avoid allocation noise 2020-09-15 09:18:13 -07:00
depend Optimize ObjectSpace.dump_all 2020-09-09 11:11:36 -07:00
extconf.rb
object_tracing.c Fix ObjectSpace.trace_object_allocations_stop to not raise if the tracepoint were not initialized 2020-08-19 08:13:09 -07:00
objspace.c Return nil when argument to ObjectSpace.internal_class_of is T_IMEMO 2020-09-25 09:27:49 -07:00
objspace.h
objspace_dump.c Parse ObjectSpace.dump_all / dump arguments in Ruby to avoid allocation noise 2020-09-15 09:18:13 -07:00