Skip to content

Commit

Permalink
script fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewQuijano committed Aug 27, 2024
1 parent 532ecf0 commit 670df0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions scripts/bug_mining.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,8 @@ def progress(msg):

panda.load_plugin("taint2",
args={
'enable_hypercalls' : True,
'no_tp': True
})
panda.load_plugin("pri_taint")
panda.load_plugin("tainted_branch")

if 'use_stdin' in project and project['use_stdin']:
Expand All @@ -221,6 +219,7 @@ def progress(msg):
'enable_taint_on_open': True,
'verbose' : True
})
panda.load_plugin("pri_taint")

# Default name is 'recording'
# https://github.com/panda-re/panda/blob/dev/panda/python/core/pandare/panda.py#L2595
Expand Down
2 changes: 1 addition & 1 deletion scripts/lava.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def __init__(self, project):
tar_files = subprocess.check_output(['tar', 'tf',
project['tarfile']],
stderr=sys.stderr)
self.source_root = tar_files.splitlines()[0].split(os.path.sep)[0]
self.source_root = tar_files.decode().splitlines()[0].split(os.path.sep)[0]
self.queries_build = join(self.top_dir, self.source_root)
self.bugs_top_dir = join(self.top_dir, 'bugs')

Expand Down

0 comments on commit 670df0d

Please sign in to comment.