开发者

python script to dump ELF (core and out)?

开发者 https://www.devze.com 2023-04-03 19:35 出处:网络
I am 开发者_开发技巧looking for a python script that can dump ELF file (of type core-dump). Any pointers to existing scripts ? I suggest you use GDB to look at the core dump file.You can control GDB

I am 开发者_开发技巧looking for a python script that can dump ELF file (of type core-dump).

Any pointers to existing scripts ?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消