Skip to content

Commit 6a9deff

Browse files
k4lizenpeace-maker
andauthored
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

File tree

2 files changed

+436
-1
lines changed

2 files changed

+436
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ The table below shows which release corresponds to each branch, and what date th
7272

7373
## 4.14.0 (`dev`)
7474

75+
- [#2371][2371] Add functions for retrieving process mappings
7576
- [#2360][2360] Add offline parameter for `search_by_hash` series function
7677
- [#2356][2356] Add local libc database provider for libcdb
7778
- [#2374][2374] libcdb.unstrip_libc: debug symbols are fetched only if not present
@@ -90,6 +91,7 @@ The table below shows which release corresponds to each branch, and what date th
9091
- [#2382][2382] added optional port, gdb_args and gdbserver_args parameters to gdb.debug()
9192
- [#2435][2435] Speed up gdbserver handshake in gdb.debug()
9293

94+
[2371]: https://github.com/Gallopsled/pwntools/pull/2371
9395
[2360]: https://github.com/Gallopsled/pwntools/pull/2360
9496
[2356]: https://github.com/Gallopsled/pwntools/pull/2356
9597
[2374]: https://github.com/Gallopsled/pwntools/pull/2374

0 commit comments

Comments
 (0)