Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save olegslavkin/e4df58c68f5290ad235db6fa51fb9870 to your computer and use it in GitHub Desktop.
Save olegslavkin/e4df58c68f5290ad235db6fa51fb9870 to your computer and use it in GitHub Desktop.
Extract information about START and ENTRY point from Linux Kernel
START=`${CROSS_COMPILE}objdump -h vmlinux |awk '$2 == ".text" {print $4;}'`
ENTRY=`${CROSS_COMPILE}objdump -f vmlinux |awk '/start/ {print $3;}'`
echo $START
echo $ENTRY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment