Skip to content

Commit

Permalink
Fix docs of ELF.{libs,maps}
Browse files Browse the repository at this point in the history
Fixes #2400
  • Loading branch information
peace-maker committed Oct 3, 2024
1 parent b08f4b7 commit 9f92ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pwnlib/elf/elf.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,14 +713,14 @@ def non_writable_segments(self):

@property
def libs(self):
"""Dictionary of {path: address} for every library loaded for this ELF."""
"""Dictionary of ``{path: address}`` for every library loaded for this ELF."""
if self._libs is None:
self._populate_libraries()
return self._libs

@property
def maps(self):
"""Dictionary of {name: address} for every mapping in this ELF's address space."""
"""Dictionary of ``{name: address}`` for every mapping in this ELF's address space."""
if self._maps is None:
self._populate_libraries()
return self._maps
Expand Down

0 comments on commit 9f92ed0

Please sign in to comment.