Whitelist __stack_chk_fail

This commit is contained in:
andrew committed 2024-02-09 23:03:44 -08:00
1 parent 35a3289ab9
commit 2929a341db
1 file changed
+1 -1
+1 -1
View File
@@ -3,4 +3,4 @@
set -euo pipefail set -euo pipefail
diff -u <(sort < "$2") <(nm "$1" | grep " T " | cut -f3 -d " " | sort) 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') nm "$1" | grep " U " | (! grep -Pv 'abort|free|malloc|mem[a-z]*|__ashlti3|__stack_chk_fail')