Remove unused file, fix unicode error, add syntax checking for all files

pull/104/head
Zach Riggle 9 years ago
parent 31d255afe3
commit 9905d43350

@ -21,4 +21,5 @@ before_script:
- isort --check-only --diff pwndbg
script:
- nosetests ./tests/
- python -m py_compile ida_script.py
- python2.7 -m py_compile ida_script.py $(git ls-files 'pwndbg/*.py')
- python3 -m py_compile $(git ls-files 'pwndbg/*.py')

@ -27,11 +27,11 @@ def elfheader():
continue
size = section['sh_size']
sections.append((start, start + size, section.name.decode('ascii')))
sections.append((start, start + size, section.name))
sections.sort()
for start, end, name in sections:
print('%#x - %#x %s' % (start, end, name))
print('%#x - %#x ' % (start, end), name)
@pwndbg.commands.Command
def gotplt():

@ -1,8 +0,0 @@
from __future__ import print_function
import struct
import gdb
def pack(data, size=None):
Loading…
Cancel
Save