view scripts/findglobals.sh @ 1310:7baa19cdce59 draft

Remove debug detritus I didn't mean to to check in, and treat an "this variable can never actually be used uninitialized but gcc's warning generator can't tell and fails spamwards" warning.
author Rob Landley <rob@landley.net>
date Sat, 24 May 2014 12:51:53 -0500
parents a3268a1c055e
children
line wrap: on
line source

#!/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