class method
RubyVM::InstructionSequence.load_from_binary
RubyVM::InstructionSequence.load_from_binary(binary) → iseq
iseq.c
View on GitHub ↗
static VALUE
iseqw_s_load_from_binary(VALUE self, VALUE str)
{
return iseqw_new(rb_iseq_ibf_load(str));
}
Load an iseq object from binary format String object created by RubyVM::InstructionSequence.to_binary.
This loader does not have a verifier, so that loading broken/modified binary causes critical problem.
You should not load binary data provided by others. You should use binary data translated by yourself.
See also
.disassemble
.load_from_binary_extra_data
.disasm
.new
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0