OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>
-
for filename in sys.argv[1:]:
# For testing we use a hardcoded address.
process_file(filename, 0x400503)
-
# examples/ dir of the source distribution.
sys.path[0:0] = ['.', '..']
-from elftools.common.py3compat import bytes2str
from elftools.elf.elffile import ELFFile
from elftools.elf.sections import SymbolTableSection
if __name__ == '__main__':
for filename in sys.argv[1:]:
process_file(filename)
-
-
# examples/ dir of the source distribution.
sys.path[0:0] = ['.', '..']
-
-from elftools.common.py3compat import bytes2str
from elftools.elf.elffile import ELFFile
from elftools.elf.relocation import RelocationSection
# examples/ dir of the source distribution.
sys.path[0:0] = ['.', '..']
-from elftools.common.py3compat import bytes2str
from elftools.elf.elffile import ELFFile
elffile = ELFFile(f)
for section in elffile.iter_sections():
- # Section names are string
if section.name.startswith('.debug'):
print(' ' + section.name)
if __name__ == '__main__':
for filename in sys.argv[1:]:
process_file(filename)
-