Is there an efficient method to find specific data in the memory of a running application on Linux?
So far, I found that I can use /proc/[pid]/maps
to access the memory of the running application. But how can I find specific data in it? For example, if the running application is firefox, how could I find the html code of the current window? Or how could I at least find the title of the current firefox window?
Is there a solution to find virtual addresses of variables containing known data? Could I use D-bus to achieve any of this?
In most cases, the data I would like to fetch is displayed in a GUI, if that makes it any easier.