view scripts/findglobals.sh @ 1431:e36306d6eece draft

Cleanup pass on lspci.
author Rob Landley <rob@landley.net>
date Mon, 11 Aug 2014 20:11:58 -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