summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtool/leaked-globals1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/leaked-globals b/tool/leaked-globals
index 3f4621a35f..ab9fc99823 100755
--- a/tool/leaked-globals
+++ b/tool/leaked-globals
@@ -19,6 +19,7 @@ col = Colorize.new
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|