1#!/bin/ksh 2 3# Get the address of a symbol in Hex. 4# $1 = object/executable file name 5# $2 = symbol name 6/usr/ccs/bin/elfdump -t +s .symtab "$1" | grep "$2"$ | awk '{print $6}' 7 8exit 0 9