I am looking for a python script that can dump ELF file (of type core-dump).
Any pointers to existing scripts ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I suggest you use GDB to look at the core dump file. You can control GDB from Python:
Invoke and control GDB from Python
But recent versions of GDB have Python built in! You might be able to to what you want from within GDB, rather than running GDB from within Python.
http://sourceware.org/gdb/wiki/PythonGdb
P.S. You would probably be interested in the book Gray Hat Python:
http://nostarch.com/ghpython.htm