#!/bin/bash
[ -z "$1" ] && echo "usage: $0 <elf>" && exit 1
objdump -x $1|awk '$0~/start address/{print $3}'

