allwinner_a64/android/external/toybox/scripts/findglobals.sh
2018-08-08 16:14:42 +08:00

6 lines
204 B
Bash
Executable file

#!/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