view scripts/findglobals.sh @ 884:ac9991f66d0d

Add firmware field to modinfo output.
author idunham@lavabit.com
date Sat, 27 Apr 2013 00:57:11 -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