plugins/loader/elf: Don't access r_addend of REL type relocations.
commita32c0ae6961c8d6bd811ec64d7ade289ea6a5e8b
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>
Sat, 2 Jul 2016 21:09:38 +0000 (3 00:09 +0300)
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>
Sat, 2 Jul 2016 21:09:38 +0000 (3 00:09 +0300)
tree49217c77d92b73833e10843fb6303fbc9487ce46
parentd9fd9064e4f57ee35d3cad8366a56277d355f215
plugins/loader/elf: Don't access r_addend of REL type relocations.

Before accessing it, check it's RELA.
plugins/loader/elf.py