Skip to content

Commit

Permalink
libcdb: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Arusekk committed Aug 20, 2023
1 parent 8372b9a commit ae66214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnlib/libcdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def unstrip_libc(filename):
>>> libc = ELF(filename)
>>> hex(libc.symbols.main_arena)
'0x219c80'
>>> unstrip_libc(which('python3'))
>>> unstrip_libc(pwnlib.data.elf.get('test-x86'))
False
>>> filename = search_by_build_id('d1704d25fbbb72fa95d517b883131828c0883fe9', unstrip=True)
>>> 'main_arena' in ELF(filename).symbols
Expand Down

0 comments on commit ae66214

Please sign in to comment.