mirror of https://github.com/pwndbg/pwndbg.git
Made elfheader run `info files`
parent
0ab757490f
commit
19b1bb2b2f
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
import gdb
|
||||
import pwndbg.commands
|
||||
|
||||
@pwndbg.commands.Command
|
||||
def elfheader():
|
||||
"""
|
||||
Prints the section mappings contained in the ELF header
|
||||
"""
|
||||
gdb.execute('info files')
|
||||
Loading…
Reference in new issue