Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Kyle committed Apr 30, 2024
1 parent d12d3a3 commit ed51c3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_find_gadgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def test_syscall_gadget():
assert all(gadget_exists(rop, x) for x in [0x0806f860, 0x0806f85e, 0x080939e3, 0x0806f2f1])

def test_shift_gadget():
# pylint: disable=pointless-string-statement
"""
438a91 pop es
438a92 add esp, 0x9c
Expand Down Expand Up @@ -154,6 +155,7 @@ def test_shift_gadget():
assert all(gadget_exists(rop, x) for x in [0x454e75, 0x5622d5, 0x490058])

def test_i386_syscall():
# pylint: disable=pointless-string-statement
proj = angr.Project(os.path.join(tests_dir, "i386", "angrop_syscall_test"), auto_load_libs=False)

rop = proj.analyses.ROP()
Expand All @@ -178,6 +180,7 @@ def test_i386_syscall():
assert all(not gadget_exists(rop, x) for x in [0x8049189, 0x804918f])

def test_gadget_timeout():
# pylint: disable=pointless-string-statement
proj = angr.Project(os.path.join(tests_dir, "x86_64", "datadep_test"), auto_load_libs=False)
rop = proj.analyses.ROP()
"""
Expand Down

0 comments on commit ed51c3e

Please sign in to comment.