Skip to content

Commit

Permalink
Test POC binaries using host libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Apr 25, 2024
1 parent 6d4a0a8 commit afd3cf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_heaphopper.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ def verify_poc_single(poc_path, poc_type, conf_path):
poc_bin = os.path.join(poc_path, "bin", "poc_0_0.bin")

try:
cmd = [loader_path, poc_bin]
cmd = [poc_bin]
output = check_output(
cmd,
env={"LD_PRELOAD": libc_path, "LIBC_FATAL_STDERR_": "1"},
env={"LIBC_FATAL_STDERR_": "1"},
cwd=BASE_DIR,
stderr=STDOUT,
)
Expand Down

0 comments on commit afd3cf9

Please sign in to comment.