From afd3cf915e67caa2b02646080d63651787c2d882 Mon Sep 17 00:00:00 2001 From: Kevin Phoenix Date: Thu, 25 Apr 2024 16:59:52 -0700 Subject: [PATCH] Test POC binaries using host libraries --- tests/test_heaphopper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_heaphopper.py b/tests/test_heaphopper.py index 8767f22..08e6ad9 100755 --- a/tests/test_heaphopper.py +++ b/tests/test_heaphopper.py @@ -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, )