android_mt6572_jiabo/external/toybox/scripts/findglobals.sh
2025-09-05 16:56:03 +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