|
|
|
@ -5,6 +5,7 @@ import pytest
|
|
|
|
|
|
|
|
|
|
|
|
import tests
|
|
|
|
import tests
|
|
|
|
from pwndbg.commands import command_names
|
|
|
|
from pwndbg.commands import command_names
|
|
|
|
|
|
|
|
from pwndbg.commands.shell import pwncmd_names
|
|
|
|
from pwndbg.commands.shell import shellcmd_names
|
|
|
|
from pwndbg.commands.shell import shellcmd_names
|
|
|
|
|
|
|
|
|
|
|
|
BINARY = tests.binaries.get("heap_bins.out")
|
|
|
|
BINARY = tests.binaries.get("heap_bins.out")
|
|
|
|
@ -21,6 +22,7 @@ disallowed_commands = set(
|
|
|
|
|
|
|
|
|
|
|
|
# Don't run any shell commands
|
|
|
|
# Don't run any shell commands
|
|
|
|
disallowed_commands.update(shellcmd_names)
|
|
|
|
disallowed_commands.update(shellcmd_names)
|
|
|
|
|
|
|
|
disallowed_commands.update(pwncmd_names)
|
|
|
|
|
|
|
|
|
|
|
|
filtered_commands = command_names - disallowed_commands
|
|
|
|
filtered_commands = command_names - disallowed_commands
|
|
|
|
|
|
|
|
|
|
|
|
@ -33,6 +35,7 @@ allowed_exceptions = [
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Only run on CI, unless the user requests this with the RUN_FLAKY environment variable
|
|
|
|
running_on_ci = os.getenv("GITHUB_ACTIONS")
|
|
|
|
running_on_ci = os.getenv("GITHUB_ACTIONS")
|
|
|
|
run_flaky = os.getenv("RUN_FLAKY")
|
|
|
|
run_flaky = os.getenv("RUN_FLAKY")
|
|
|
|
|
|
|
|
|
|
|
|
|