mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
11 lines
200 B
Python
Executable File
11 lines
200 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
def parse_elf(filename):
|
|
import struct
|
|
with open(filename, 'rb') as elf:
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
for arg in sys.argv[1:]:
|
|
parse_elf(arg)
|