about summary refs log tree commit diff
path: root/unicorn_mode
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-07-14 11:23:51 +0200
committerGitHub <noreply@github.com>2024-07-14 11:23:51 +0200
commit19ca7b3761f5abff8b72770d6bbfbde80ef5b985 (patch)
tree62e6316d91ea348228fe3471bfa59ee01e0e393e /unicorn_mode
parent53409530b369e560c7f6f37ead5a5db9e116efd0 (diff)
parent55a2362348cd467b65d6aea33e93ec44c6de1a38 (diff)
downloadafl++-19ca7b3761f5abff8b72770d6bbfbde80ef5b985.tar.gz
Merge pull request #2158 from AFLplusplus/dev
push to stable
Diffstat (limited to 'unicorn_mode')
-rw-r--r--unicorn_mode/helper_scripts/unicorn_loader.py2
-rw-r--r--unicorn_mode/samples/c/sample_all.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/unicorn_mode/helper_scripts/unicorn_loader.py b/unicorn_mode/helper_scripts/unicorn_loader.py
index a83e7000..4219c6ab 100644
--- a/unicorn_mode/helper_scripts/unicorn_loader.py
+++ b/unicorn_mode/helper_scripts/unicorn_loader.py
@@ -90,7 +90,7 @@ class UnicornSimpleHeap(object):
     _chunks_freed = [] # List of all freed chunks
     _debug_print = False  # True to print debug information
 
-    def __init__(self, uc, debug_print=False, uaf_check=False):
+    def __init__(self, uc, debug_print=False, uaf_check=False):
         self._uc = uc
         self._debug_print = debug_print
 
diff --git a/unicorn_mode/samples/c/sample_all.sh b/unicorn_mode/samples/c/sample_all.sh
index 01daf365..3bb396e7 100644
--- a/unicorn_mode/samples/c/sample_all.sh
+++ b/unicorn_mode/samples/c/sample_all.sh
@@ -12,7 +12,7 @@ fi
 
 
 
-if [ ! test -e $DIR/harness]; then
+if [ ! -e $DIR/harness ]; then
   echo "[!] harness not found in $DIR"
   exit 1
-fi
\ No newline at end of file
+fi