Allow __stack_chk_[a-z]*

This commit is contained in:
2024-03-04 23:31:05 -08:00
parent 1811342cb6
commit 3ea0f405f2

View File

@@ -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]*')