2022-10-19 20:19:53 +00:00
|
|
|
-- Retrieves the memory map per process
|
|
|
|
-- platform: posix
|
|
|
|
-- tags: postmortem
|
2023-05-08 17:20:47 +00:00
|
|
|
SELECT
|
|
|
|
pid,
|
2023-02-02 22:47:16 +00:00
|
|
|
permissions,
|
2023-05-08 17:20:47 +00:00
|
|
|
offset
|
|
|
|
,
|
2023-02-02 22:47:16 +00:00
|
|
|
inode,
|
|
|
|
path,
|
|
|
|
pseudo
|
2023-05-08 17:20:47 +00:00
|
|
|
FROM
|
|
|
|
process_memory_map
|
|
|
|
WHERE
|
|
|
|
path != ""
|
|
|
|
GROUP BY
|
|
|
|
pid,
|
2023-02-02 22:47:16 +00:00
|
|
|
permissions,
|
2023-05-08 17:20:47 +00:00
|
|
|
offset
|
|
|
|
,
|
2023-02-02 22:47:16 +00:00
|
|
|
inode,
|
|
|
|
path,
|
2023-05-08 17:20:47 +00:00
|
|
|
pseudo;
|