Skip to content

Commit db74f68

Browse files
committedJun 5, 2015
Cosmetic cleanup
1 parent 6455e3c commit db74f68

5 files changed

+0
-10
lines changed
 

‎LICENSE

-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
3030
OTHER DEALINGS IN THE SOFTWARE.
3131

3232
For more information, please refer to <http://unlicense.org/>
33-

‎examples/dwarf_decode_address.py

-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,3 @@ def decode_file_line(dwarfinfo, address):
8282
for filename in sys.argv[1:]:
8383
# For testing we use a hardcoded address.
8484
process_file(filename, 0x400503)
85-

‎examples/elf_low_high_api.py

-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# examples/ dir of the source distribution.
1616
sys.path[0:0] = ['.', '..']
1717

18-
from elftools.common.py3compat import bytes2str
1918
from elftools.elf.elffile import ELFFile
2019
from elftools.elf.sections import SymbolTableSection
2120

@@ -87,5 +86,3 @@ def section_info_highlevel(stream):
8786
if __name__ == '__main__':
8887
for filename in sys.argv[1:]:
8988
process_file(filename)
90-
91-

‎examples/elf_relocations.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
# examples/ dir of the source distribution.
1515
sys.path[0:0] = ['.', '..']
1616

17-
18-
from elftools.common.py3compat import bytes2str
1917
from elftools.elf.elffile import ELFFile
2018
from elftools.elf.relocation import RelocationSection
2119

‎examples/elf_show_debug_sections.py

-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# examples/ dir of the source distribution.
1414
sys.path[0:0] = ['.', '..']
1515

16-
from elftools.common.py3compat import bytes2str
1716
from elftools.elf.elffile import ELFFile
1817

1918

@@ -23,12 +22,10 @@ def process_file(filename):
2322
elffile = ELFFile(f)
2423

2524
for section in elffile.iter_sections():
26-
# Section names are string
2725
if section.name.startswith('.debug'):
2826
print(' ' + section.name)
2927

3028

3129
if __name__ == '__main__':
3230
for filename in sys.argv[1:]:
3331
process_file(filename)
34-

0 commit comments

Comments
 (0)
Please sign in to comment.