aboutsummaryrefslogtreecommitdiff
path: root/scripts/findglobals.sh
blob: 2c63164be83296b34141a8b897789eafd0cfe471 (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 toybox_unstripped | grep '[0-9A-Fa-f]* [BCDGRS]' | cut -d ' ' -f 3