Skip to content
class method

RubyVM::InstructionSequence.load_from_binary

RubyVM::InstructionSequence.load_from_binary(binary) → iseq

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.