From 7d4d0a010926ed98f10c410eb1d6549d4131ec18 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 26 Apr 2013 01:46:03 -0500 Subject: Quick sniff test to find leaked global variables. --- scripts/findglobals.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/findglobals.sh (limited to 'scripts/findglobals.sh') diff --git a/scripts/findglobals.sh b/scripts/findglobals.sh new file mode 100755 index 00000000..2c63164b --- /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 -- cgit v1.2.3