Sort before diff
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
diff -u "$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')
|
||||
|
Reference in New Issue
Block a user