annotate scripts/findglobals.sh @ 880:a3268a1c055e

Quick sniff test to find leaked global variables.
author Rob Landley <rob@landley.net>
date Fri, 26 Apr 2013 01:46:03 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
880
a3268a1c055e Quick sniff test to find leaked global variables.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 #!/bin/bash
a3268a1c055e Quick sniff test to find leaked global variables.
Rob Landley <rob@landley.net>
parents:
diff changeset
2
a3268a1c055e Quick sniff test to find leaked global variables.
Rob Landley <rob@landley.net>
parents:
diff changeset
3 # Quick and dirty check to see if anybody's leaked global variables.
a3268a1c055e Quick sniff test to find leaked global variables.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 # We should have this, toy_list, toybuf, and toys.
a3268a1c055e Quick sniff test to find leaked global variables.
Rob Landley <rob@landley.net>
parents:
diff changeset
5
a3268a1c055e Quick sniff test to find leaked global variables.
Rob Landley <rob@landley.net>
parents:
diff changeset
6 nm toybox_unstripped | grep '[0-9A-Fa-f]* [BCDGRS]' | cut -d ' ' -f 3