Cleanup deubg
modified: scripts/brandelf.py
This commit is contained in:
parent
533e642945
commit
e8947a6812
@ -85,10 +85,8 @@ def do_file(fn):
|
|||||||
if opts.bfdname == "elf32-bigarm" and opts.elfosabi == "arm":
|
if opts.bfdname == "elf32-bigarm" and opts.elfosabi == "arm":
|
||||||
brand_arm("\x01\x02\x01")
|
brand_arm("\x01\x02\x01")
|
||||||
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "freebsd":
|
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "freebsd":
|
||||||
print ("case 4")
|
|
||||||
brand_freebsd("\x01\x01\x01")
|
brand_freebsd("\x01\x01\x01")
|
||||||
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "linux":
|
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "linux":
|
||||||
print ("case 5")
|
|
||||||
brand_linux("\x01\x01\x01")
|
brand_linux("\x01\x01\x01")
|
||||||
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "netbsd":
|
elif opts.bfdname == "elf32-i386" and opts.elfosabi == "netbsd":
|
||||||
brand_netbsd("\x01\x01\x01")
|
brand_netbsd("\x01\x01\x01")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user