Python memory ranges from core

Francisco Moraes
Mon Mar 2 19:25:00 GMT 2020


I need to automate searching the memory ranges of core dump. I'd like to do
that from a python command but I didn't immediately find a way to list all
the memory ranges from the core file. I can get the output from info files
and post process it to generate a series of find commands.

I would like to remove that post processing step by making it all part of
python command. Is it possible to find the memory ranges of the inferior
being debugged from Python?

More information about the Gdb mailing list