Skip to content

Commit e7bb41f

Browse files
committed
Fix docs of ELF.{libs,maps}
Fixes Gallopsled#2400
1 parent 3ea58d7 commit e7bb41f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pwnlib/elf/elf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,14 +713,14 @@ def non_writable_segments(self):
713713

714714
@property
715715
def libs(self):
716-
"""Dictionary of {path: address} for every library loaded for this ELF."""
716+
"""Dictionary of ``{path: address}`` for every library loaded for this ELF."""
717717
if self._libs is None:
718718
self._populate_libraries()
719719
return self._libs
720720

721721
@property
722722
def maps(self):
723-
"""Dictionary of {name: address} for every mapping in this ELF's address space."""
723+
"""Dictionary of ``{name: address}`` for every mapping in this ELF's address space."""
724724
if self._maps is None:
725725
self._populate_libraries()
726726
return self._maps

0 commit comments

Comments
 (0)