]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
scripts: add check_extable.sh script.
authorQuentin Casasnovas <quentin.casasnovas@oracle.com>
Mon, 13 Apr 2015 11:14:04 +0000 (20:44 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Apr 2015 11:33:02 +0000 (21:03 +0930)
commitc31e4b832f124dccdb5d80ba3c1cd4f9081f7fb2
treecc176f7fdc81d922fec0705e960174207f3346b5
parentc7a65e0645b2d1f8382ce27f4edaf1b4f2e09549
scripts: add check_extable.sh script.

This shell script can be used to sanity check the __ex_table section on an
object file, making sure the relocations in there are pointing to valid
executable sections.  If it finds some suspicious relocations, it'll use
addr2line to try and dump where this is coming from.

This works best with CONFIG_DEBUG_INFO.

Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
scripts/check_extable.sh [new file with mode: 0755]