Mercurial > hg > toybox
annotate scripts/findglobals.sh @ 1239:9a13e6637d7b draft
Decided not to go with the sflate implementation of deflate/inflate. The decompression side's already reimplemented in compress, and I'm working on compression side.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 02 Apr 2014 06:37:14 -0500 |
parents | a3268a1c055e |
children |
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 |