commit | 7d4d0a010926ed98f10c410eb1d6549d4131ec18 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Fri Apr 26 01:46:03 2013 -0500 |
committer | Rob Landley <rob@landley.net> | Fri Apr 26 01:46:03 2013 -0500 |
tree | 5de8e8af8640f5e70d8d78fd201aefe0195c8f36 | |
parent | d8bd2214070075d1664e3abea8ace297386cc5f9 [diff] [blame] |
Quick sniff test to find leaked global variables.
diff --git a/scripts/findglobals.sh b/scripts/findglobals.sh new file mode 100755 index 0000000..2c63164 --- /dev/null +++ b/scripts/findglobals.sh
@@ -0,0 +1,6 @@ +#!/bin/bash + +# Quick and dirty check to see if anybody's leaked global variables. +# We should have this, toy_list, toybuf, and toys. + +nm toybox_unstripped | grep '[0-9A-Fa-f]* [BCDGRS]' | cut -d ' ' -f 3