diff options
Diffstat (limited to 'scripts/probes/findglobals')
-rwxr-xr-x | scripts/probes/findglobals | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/probes/findglobals b/scripts/probes/findglobals new file mode 100755 index 00000000..c4855dec --- /dev/null +++ b/scripts/probes/findglobals @@ -0,0 +1,7 @@ +#!/bin/bash + +# Quick and dirty check to see if anybody's leaked global variables. +# We should have this, toy_list, toybuf, and toys. + +nm --size-sort generated/unstripped/toybox | grep '[0-9A-Fa-f]* [BCDGRS]' | \ + grep -v GLIBC |