From 707fd8f70aa75fc2f10fa9f023acfcc653655725 Mon Sep 17 00:00:00 2001 From: AndrewQuijano Date: Wed, 28 Aug 2024 22:47:15 -0400 Subject: [PATCH] using this version of PyPanda script, I should be done --- scripts/bug_mining.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/bug_mining.py b/scripts/bug_mining.py index 43bb31c..8bd78b7 100644 --- a/scripts/bug_mining.py +++ b/scripts/bug_mining.py @@ -193,13 +193,16 @@ def progress(msg): # if panda.arch != 'i386': # panda.load_plugin('hypercall') # panda.load_plugin('stackprob') - panda.load_plugin("taint2", args={ + 'enable_hypercalls' : True, 'no_tp': True }) panda.load_plugin("tainted_branch") -panda.load_plugin("pri_taint") +panda.load_plugin("pri_taint", args={ + 'hypercall': True, + 'chaff': False +}) if 'use_stdin' in project and project['use_stdin']: panda.load_plugin("file_taint", @@ -221,6 +224,7 @@ def progress(msg): 'verbose' : True }) + # Default name is 'recording' # https://github.com/panda-re/panda/blob/dev/panda/python/core/pandare/panda.py#L2595 panda.run_replay("recording")