Loading pyelftools/dwarf_decode_address.py +3 −2 Original line number Original line Diff line number Diff line Loading @@ -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 Loading Loading
pyelftools/dwarf_decode_address.py +3 −2 Original line number Original line Diff line number Diff line Loading @@ -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 Loading