proc:maps_file
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
proc:maps_file [2017/04/05 09:54] – created peter | proc:maps_file [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Proc - maps file ====== | ====== Proc - maps file ====== | ||
+ | |||
+ | The **/ | ||
+ | |||
+ | The format is: | ||
+ | |||
+ | ^address^perms^offset^dev^inode^pathname^ | ||
+ | |08048000-08049000|r-xp|00000000|03: | ||
+ | |08049000-0804a000|rw-p|00001000|03: | ||
+ | |0804a000-0806b000|rw-p|00000000|00: | ||
+ | |a7cb1000-a7cb2000|< | ||
+ | |a7cb2000-a7eb2000|rw-p|00000000|00: | ||
+ | |a7eb2000-a7eb3000|< | ||
+ | |a7eb3000-a7ed5000|rw-p|00000000|00: | ||
+ | |a7ed5000-a8008000|r-xp|00000000|03: | ||
+ | |a8008000-a800a000|< | ||
+ | |a800a000-a800b000|rw-p|00135000|03: | ||
+ | |a800b000-a800e000|rw-p|00000000|00: | ||
+ | |a800e000-a8022000|r-xp|00000000|03: | ||
+ | |a8022000-a8023000|< | ||
+ | |a8023000-a8024000|rw-p|00014000|03: | ||
+ | |a8024000-a8027000|rw-p|00000000|00: | ||
+ | |a8027000-a8043000|r-xp|00000000|03: | ||
+ | |a8043000-a8044000|< | ||
+ | |a8044000-a8045000|rw-p|0001c000|03: | ||
+ | |aff35000-aff4a000|rw-p|00000000|00: | ||
+ | |ffffe000-fffff000|r-xp|00000000|00: | ||
+ | |||
+ | where: | ||
+ | |||
+ | * **address** is the address space in the process that it occupies. | ||
+ | * **perms** is a set of permissions: | ||
+ | * r = read. | ||
+ | * w = write. | ||
+ | * x = execute. | ||
+ | * s = shared. | ||
+ | * p = private (copy on write). | ||
+ | * **offset** is the offset into the mapping. | ||
+ | * **dev** is the device (major: | ||
+ | * **inode** is the inode on that device. | ||
+ | * 0 indicates that no inode is associated with the memory region, as the case would be with BSS (uninitialized data). | ||
+ | * **pathname** shows the name associated file for this mapping. | ||
+ | * [heap] | ||
+ | * [stack] | ||
+ | * [vdso] | ||
+ | * If empty, the mapping is anonymous. | ||
proc/maps_file.1491386062.txt.gz · Last modified: 2020/07/15 09:30 (external edit)