[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gmon_start



Here's a small script I wrote to help find binaries with the gmon_start bug.
If its output is to be believed, the only packages on my machine with the 
problem are bc_1.06-6 (obsolete already), ispell_3.1.20-15, portmap_5-2 and 
rpc.statd_1:0.3.2-1.

p.

#!/bin/sh
# use as, e.g. "for i in *; do gmon-check.sh $i; done 2>/dev/null"
if objdump -R $1 | grep -q "R_ARM_JUMP_SLOT.*gmon_start" && objdump --dynamic-syms $1 | egrep -q "0*[1-9a-f]+0*  w   DF \*UND\*.*gmon_start"; then
  echo $1 $(dpkg -s $(dpkg -S `pwd`/$1 | cut -d: -f1) | grep "^Version" | cut -d\  -f2)
fi


Attachment: pgpVhesL6y917.pgp
Description: PGP signature


Reply to: