2015-02-09 08:37:59 +00:00
|
|
|
table_name("process_memory_map")
|
|
|
|
description("Process memory mapped files and pseudo device/regions.")
|
|
|
|
schema([
|
2015-06-01 22:53:52 +00:00
|
|
|
Column("pid", INTEGER, "Process (or thread) ID", index=True),
|
2015-02-09 08:37:59 +00:00
|
|
|
Column("start", TEXT, "Virtual start address (hex)"),
|
|
|
|
Column("end", TEXT, "Virtual end address (hex)"),
|
|
|
|
Column("permissions", TEXT, "r=read, w=write, x=execute, p=private (cow)"),
|
|
|
|
Column("offset", BIGINT, "Offset into mapped path"),
|
|
|
|
Column("device", TEXT, "MA:MI Major/minor device ID"),
|
|
|
|
Column("inode", INTEGER, "Mapped path inode, 0 means uninitialized (BSS)"),
|
|
|
|
Column("path", TEXT, "Path to mapped file or mapped type"),
|
2015-07-16 06:23:42 +00:00
|
|
|
Column("pseudo", INTEGER, "1 If path is a pseudo path, else 0"),
|
2015-02-09 08:37:59 +00:00
|
|
|
])
|
|
|
|
implementation("processes@genProcessMemoryMap")
|
2015-06-01 22:53:52 +00:00
|
|
|
examples([
|
|
|
|
"select * from process_memory_map where pid = 1",
|
|
|
|
])
|