From b840ac91dc1d53cb0216edcecc9a0f17ab6e64db Mon Sep 17 00:00:00 2001 From: Chenhao Date: Fri, 5 Jul 2024 16:43:20 +0800 Subject: Fixed the syntax errors in `unicorn_loader.py` within `unicorn_mode`. (#2144) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced a Chinese comma "," with an English comma "," to ensure the code runs correctly. --- unicorn_mode/helper_scripts/unicorn_loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unicorn_mode') 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 -- cgit 1.4.1 From 365129d811e3207651ede2330e681ae43acab4d4 Mon Sep 17 00:00:00 2001 From: Vito <48046520+AlbertnQ@users.noreply.github.com> Date: Mon, 8 Jul 2024 14:34:06 +0800 Subject: Update sample_all.sh (#2146) Incorrect shell syntax --- unicorn_mode/samples/c/sample_all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unicorn_mode') 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 -- cgit 1.4.1