aboutsummaryrefslogtreecommitdiff
path: root/scripts/findglobals.sh
blob: 9455bc6119f0bfc0a480317710662fbfa3a9f370 (plain)
1
2
3
4
5
6
#!/bin/sh

# 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