Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
toybox
/
a0940708fc3a38587b63a28d3f9715d092277790
/
.
/
scripts
/
findglobals.sh
blob: 2c63164be83296b34141a8b897789eafd0cfe471 [
file
] [
log
] [
blame
]
#!/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