Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functions for retrieving process mappings #2371

Merged
merged 56 commits into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
5f30518
add to process mapping function, and stack, heap, vdso, vvar, libc _m…
k4lizen Mar 21, 2024
2d56b95
better libc string mapping detection #2370
k4lizen Mar 21, 2024
62e8ee0
return all mappings instead of just the first one
k4lizen Mar 21, 2024
8967ea9
add single/multiple option to every _mapping function
k4lizen Mar 21, 2024
e5bfdc1
undo @property tags
k4lizen Mar 21, 2024
5274721
added function doc comments
k4lizen Mar 21, 2024
1be84ad
added elf_mapping
k4lizen Mar 21, 2024
56233cc
add get_mapping and refactor helpers to use it
k4lizen Mar 21, 2024
e6e7bb9
better doc
k4lizen Mar 21, 2024
333ea58
add _location functions
k4lizen Mar 21, 2024
bbb9ee1
_location_from_mappings for libc and musl locations
k4lizen Mar 21, 2024
dfc02eb
_location_from_mappings doc
k4lizen Mar 21, 2024
9407e93
change comment
k4lizen Mar 21, 2024
4cd0f1a
fix executable -> path
k4lizen Mar 21, 2024
f263d55
change comment
k4lizen Mar 21, 2024
2583ec4
python2.7 support
k4lizen Mar 21, 2024
898c733
changelog
k4lizen Mar 21, 2024
245f34a
add address_mapping()
k4lizen Mar 21, 2024
4400158
get_mapping comment typo
k4lizen Apr 2, 2024
377d146
mention the path is an exact match
k4lizen Apr 2, 2024
83c75f8
add references to wrapped functions
k4lizen Apr 2, 2024
1df7550
add missing 'the's, make sentences one line, fix 'exact' path descrip…
k4lizen Apr 2, 2024
60f112f
Merge branch 'dev' into add-proc-maps
k4lizen Apr 2, 2024
17ebb0e
add private and shared fields to permissions object
k4lizen Apr 22, 2024
3333862
maps doctest
k4lizen Apr 22, 2024
d1ffaef
get_mapping doctest
k4lizen Apr 22, 2024
184b131
stack_mapping doctest
k4lizen Apr 22, 2024
f30efe5
heap_mapping doctest
k4lizen Apr 22, 2024
d786c86
improve stack_mapping and heap_mapping with address example
k4lizen Apr 22, 2024
70b9e56
vvar and vdso _mapping doctest
k4lizen Apr 22, 2024
76e9a33
libc_mapping doctest
k4lizen Apr 22, 2024
6c455d1
elf_mapping doctest
k4lizen Apr 22, 2024
8942959
_location_from_mappings doctest
k4lizen Apr 22, 2024
2e658b7
get_mapping_location doctest
k4lizen Apr 22, 2024
f4f13ea
heap and stack _location doctest
k4lizen Apr 22, 2024
3759cc1
vdso vvar _location doctest
k4lizen Apr 22, 2024
cc916c7
improved vdso and vvar doctest
k4lizen Apr 22, 2024
56af14d
elf_location doctest
k4lizen Apr 22, 2024
9fe09c1
libc_location doctest
k4lizen Apr 22, 2024
995120f
address_mapping bugfix
k4lizen Apr 22, 2024
a6144d2
address_mapping doctest
k4lizen Apr 22, 2024
d29dd5e
Merge branch 'dev' into add-proc-maps
k4lizen Apr 22, 2024
ddd7a6d
fix meow check
k4lizen Apr 22, 2024
8c2d9c6
fix len(mappings) check
k4lizen Apr 22, 2024
fe5e0f6
actually fix meow check
k4lizen Apr 22, 2024
677fd96
why dont docs support format string?
k4lizen Apr 22, 2024
f7b170b
removed _location functions
k4lizen Apr 30, 2024
0646bb5
removed the rest of the _location related functions
k4lizen Apr 30, 2024
0181cca
added lib_size()
k4lizen Apr 30, 2024
61ba86d
add lib_size() example
k4lizen Apr 30, 2024
c305d7e
replace f'' with correct syntax
k4lizen Apr 30, 2024
1b04193
remove _location() from other doctests
k4lizen Apr 30, 2024
7213429
cleanup == in doctest
k4lizen Apr 30, 2024
55b7c08
change " to ' in doctests
k4lizen Apr 30, 2024
9330045
Merge branch 'dev' into add-proc-maps
k4lizen Jul 15, 2024
9a9040f
Merge branch 'dev' into add-proc-maps
peace-maker Aug 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ The table below shows which release corresponds to each branch, and what date th

## 4.14.0 (`dev`)

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

[2371]: https://github.com/Gallopsled/pwntools/pull/2371
[2360]: https://github.com/Gallopsled/pwntools/pull/2360
[2356]: https://github.com/Gallopsled/pwntools/pull/2356
[2374]: https://github.com/Gallopsled/pwntools/pull/2374
Expand Down
Loading