1*cf5a6c84SAndroid Build Coastguard Worker#!/bin/bash 2*cf5a6c84SAndroid Build Coastguard Worker 3*cf5a6c84SAndroid Build Coastguard Worker# Quick and dirty check to see if anybody's leaked global variables. 4*cf5a6c84SAndroid Build Coastguard Worker# We should have this, toy_list, toybuf, libbuf, toys, and toybox_version. 5*cf5a6c84SAndroid Build Coastguard Worker 6*cf5a6c84SAndroid Build Coastguard Workernm --size-sort generated/unstripped/toybox | grep '[0-9A-Fa-f]* [BCDGRS]' | \ 7*cf5a6c84SAndroid Build Coastguard Worker grep -v GLIBC | while read a b c; do printf '%s %d\t%s\n' $b 0x$a $c; done | \ 8*cf5a6c84SAndroid Build Coastguard Worker sort -k2,2n 9