From 3ea0f405f2325efd1c1d530347a84cdf6b4da0a0 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Mon, 4 Mar 2024 23:31:05 -0800 Subject: [PATCH] Allow __stack_chk_[a-z]* --- test_symbols.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_symbols.sh b/test_symbols.sh index 2351939..1fa1730 100755 --- a/test_symbols.sh +++ b/test_symbols.sh @@ -3,4 +3,4 @@ set -euo pipefail diff -u <(sort < "$2") <(nm "$1" | grep " T " | cut -f3 -d " " | sort) -nm "$1" | grep " U " | (! grep -Pv 'abort|free|malloc|mem[a-z]*|__ashlti3|__stack_chk_fail') +nm "$1" | grep " U " | (! grep -Pv 'abort|free|malloc|mem[a-z]*|__ashlti3|__stack_chk_[a-z]*')