Commit 6a9deff
Add functions for retrieving process mappings (#2371)
* add to process mapping function, and stack, heap, vdso, vvar, libc _mapping properties
* better libc string mapping detection #2370
* return all mappings instead of just the first one
* add single/multiple option to every _mapping function
* undo @Property tags
* added function doc comments
* added elf_mapping
* add get_mapping and refactor helpers to use it
* better doc
* add _location functions
* _location_from_mappings for libc and musl locations
* _location_from_mappings doc
* change comment
* fix executable -> path
* change comment
* python2.7 support
* changelog
* add address_mapping()
* get_mapping comment typo
* mention the path is an exact match
* add references to wrapped functions
* add missing 'the's, make sentences one line, fix 'exact' path description in get_mapping_location
* add private and shared fields to permissions object
* maps doctest
* get_mapping doctest
* stack_mapping doctest
* heap_mapping doctest
* improve stack_mapping and heap_mapping with address example
* vvar and vdso _mapping doctest
* libc_mapping doctest
* elf_mapping doctest
* _location_from_mappings doctest
* get_mapping_location doctest
* heap and stack _location doctest
* vdso vvar _location doctest
* improved vdso and vvar doctest
* elf_location doctest
* libc_location doctest
* address_mapping bugfix
* address_mapping doctest
* fix meow check
* fix len(mappings) check
* actually fix meow check
* why dont docs support format string?
* removed _location functions
* removed the rest of the _location related functions
* added lib_size()
* add lib_size() example
* replace f'' with correct syntax
* remove _location() from other doctests
* cleanup == in doctest
* change " to ' in doctests
---------
Co-authored-by: peace-maker <[email protected]>1 parent 26e72f2 commit 6a9deff
2 files changed
+436
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
0 commit comments