Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information