Comment 1 for bug 34129

Revision history for this message
John Moser (nigelenki) wrote : lsmemmap.sh

This is the lsmemmap.sh script I wrote long ago. It is very rough; basically 'lsmemmap -wx' is the only useful form.

lsmemmap.sh in its most useful mode will run through all memory mappings in /proc/[0-9]*/maps and locate any mappings which are both writable and executable. This indicates that the mappings are being treated as PROGRAM DATA (pictures, music, etc) and PROGRAM CODE at the same time, which is likely BS unless the program happens to be a JIT compiler (mono, java).