ruby-changes:64624
From: Nobuyoshi <ko1@a...>
Date: Sun, 27 Dec 2020 17:51:48 +0900 (JST)
Subject: [ruby-changes:64624] d55d0331c7 (master): Exclude entry points
https://git.ruby-lang.org/ruby.git/commit/?id=d55d0331c7 From d55d0331c703f883c4b6fd76b5a14508cc398338 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sat, 26 Dec 2020 21:46:27 +0900 Subject: Exclude entry points diff --git a/tool/leaked-globals b/tool/leaked-globals index 3f4621a..ab9fc99 100755 --- a/tool/leaked-globals +++ b/tool/leaked-globals @@ -19,6 +19,7 @@ col = Colorize.new https://github.com/ruby/ruby/blob/trunk/tool/leaked-globals#L19 config_code = File.read(config) REPLACE = config_code.scan(/\bAC_(?:REPLACE|CHECK)_FUNCS?\(\K\w+/) REPLACE << 'memcmp' if /\bAC_FUNC_MEMCMP\b/ =~ config_code +REPLACE.push('main', 'DllMain') print "Checking leaked global symbols..." STDOUT.flush IO.foreach("|#{NM} -Pgp #{ARGV.join(' ')}") do |line| -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/