plugins/elf: Quick hack to decode addrs of ARM Thumb functions.
commite2199de77f037ddc0d7a75313770a5f1a0d7c5a3
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>
Tue, 6 Jun 2017 21:56:34 +0000 (7 00:56 +0300)
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>
Tue, 6 Jun 2017 21:56:34 +0000 (7 00:56 +0300)
tree7a4e232ce2c5ca2b55cd8eeb98b5748ef444f80c
parent6bf96f7aad4399d91387c9b8e11c176607d7a7c1
plugins/elf: Quick hack to decode addrs of ARM Thumb functions.

In symbol table, addresses of ARM Thumb functions are odd (have LSB set),
but actual instructions start at even address.

TODO: This change applies mask to all addresses in ARM ELF sybtab, but
it should do that only to addresses in code sections/segments.
plugins/loader/elf.py