2013-04-25 23:46:03 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Quick and dirty check to see if anybody's leaked global variables.
|
2023-12-27 04:05:34 -08:00
|
|
|
# We should have this, toy_list, toybuf, libbuf, toys, and toybox_version.
|
2013-04-25 23:46:03 -07:00
|
|
|
|
2023-11-13 08:40:36 -08:00
|
|
|
nm --size-sort generated/unstripped/toybox | grep '[0-9A-Fa-f]* [BCDGRS]' | \
|
2023-12-27 04:05:34 -08:00
|
|
|
grep -v GLIBC | while read a b c; do printf '%s %d\t%s\n' $b 0x$a $c; done | \
|
|
|
|
sort -k2,2n
|