Mercurial > hg > toybox
view 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 |
line wrap: on
line source
#!/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