aboutsummaryrefslogtreecommitdiff
path: root/scripts/findglobals.sh
blob: 2bb94d697a5acfbe75cca1234d4dff064a2dd70b (plain)
1
2
3
4
5
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 --size-sort generated/unstripped/toybox | grep '[0-9A-Fa-f]* [BCDGRS]' #| cut -d ' ' -f 3