Commit c65f12ee authored by Marek Vrbka's avatar Marek Vrbka
Browse files

elftools fix

parent a470e1e9
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -10,11 +10,12 @@
from __future__ import print_function
from __future__ import print_function
import sys
import sys


from elftools.common.utils import bytes2str

# If pyelftools is not installed, the example can also run from the root or
# If pyelftools is not installed, the example can also run from the root or
# examples/ dir of the source distribution.
# examples/ dir of the source distribution.
sys.path[0:0] = ['.', '..']
sys.path[0:0] = ['.', '..']


from elftools.common.py3compat import maxint, bytes2str
from elftools.dwarf.descriptions import describe_form_class
from elftools.dwarf.descriptions import describe_form_class
from elftools.elf.elffile import ELFFile
from elftools.elf.elffile import ELFFile