Improve symbols test
Remove seed argument and check for disallowed undefined symbols
This commit is contained in:
@@ -2,4 +2,5 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
diff -u <(nm $1 | grep " T " | cut -f3 -d " " | sort) $2
|
||||
diff -u "$2" <(nm "$1" | grep " T " | cut -f3 -d " " | sort)
|
||||
nm "$1" | grep " U " | (! grep -Pv 'abort|free|malloc|mem[a-z]*')
|
||||
|
Reference in New Issue
Block a user