YARV ããªãã¡ã¤ã¢ã試ä½ãã¦ã¿ã¾ããã製ä½æéä¸æ©ããªãã¡ã¯ã¿ãªã³ã°ä¸æ©ãªã®ã§é©å½ã§ããä¸æ£ãªãã¤ãã³ã¼ããé£ãããã¨ä¾å¤ãæãã¾ãã # encoding: utf-8 # bad_example.rb require "verifier" # ããã header = [ "YARVInstructionSequence/SimpleDataFormat", 1, 1, 1, { :arg_size=>0, :local_size=>1, :stack_max=>3 }, "<dummy>", "foo.rb", :top, [], 0, [] ] # ãã¤ãã³ã¼ãæ¬ä½ (ã¹ã¿ãã¯ãã·ã³) body = [ [:getlocal, 10000], # 10000 çªç®ã®ãã¼ã«ã«å¤æ°ãèªã [:leave] # çµãã ] bytecode = header + [body] # ã
{{#tags}}- {{label}}
{{/tags}}