From 232f31ca12a94eb9f51182955285a4474f876af7 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Fri, 1 Feb 2019 07:26:39 +0000 Subject: on-smash canary detection In addition to detect dead canary, we try to detect the very moment when we smash the stack top. Requested by k0kubun: https://twitter.com/k0kubun/status/1085180749899194368 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/test_insns.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstraptest') diff --git a/bootstraptest/test_insns.rb b/bootstraptest/test_insns.rb index 4ff68ff6c2..1747941cf0 100644 --- a/bootstraptest/test_insns.rb +++ b/bootstraptest/test_insns.rb @@ -418,5 +418,5 @@ tests.compact.each {|(insn, expr, *a)| assert_equal 'true', expr, insn, *a } # with trace tests.compact.each {|(insn, expr, *a)| progn = "set_trace_func(proc{})\n" + expr - assert_equal 'true', progn, insn, *a + assert_equal 'true', progn, 'trace_' + insn, *a } -- cgit v1.2.3