Files
Android11/external/toybox/scripts/findglobals.sh
2023-10-13 14:01:41 +00:00

7 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