On Fri, Nov 08, 2002 at 04:16:06PM -0700, M. Warner Losh wrote: > I'd love for there to be a way to know which binaries use __sF.
The following script run on your bin, sbin, lib, and libexec directories
does a pretty decent job of finding files that contain refrences to __sF
and listing the ports that use them (depend on portupgrade).
-- Brooks
#!/bin/sh
sym=__sF
for file in $*; do
if [ -n "`nm ${file} 2>&1 | egrep " ${sym}$"`" ]; then
echo ${file} `pkg_which $file`
fi
done
msg46400/pgp00000.pgp
Description: PGP signature
