Skip to content

Commit

Permalink
I finally see some stuff in the Panda a logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewQuijano committed Aug 27, 2024
1 parent 7e9c9b5 commit f55b2c6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions scripts/bug_mining.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,18 @@ def progress(msg):
'g_debugpath': installdir,
'h_debugpath': installdir
})

# pri_taint is almost same as Zhenghao's hypercall
# Chaffx64 branch says these are needed?
# 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("pri_taint")
panda.load_plugin("tainted_branch")

if 'use_stdin' in project and project['use_stdin']:
Expand All @@ -207,16 +209,18 @@ def progress(msg):
'pos': True,
'cache_process_details_on_basic_block': True,
'first_instr' : 1,
'use_stdin' : proc_name
'use_stdin' : proc_name,
'verbose' : True
})
else:
panda.load_plugin("file_taint",
args={
'filename' : input_file_guest,
'pos': True,
'cache_process_details_on_basic_block': True,
'enable_taint_on_open': True
})
'enable_taint_on_open': True,
'verbose' : True
})

# Default name is 'recording'
# https://github.com/panda-re/panda/blob/dev/panda/python/core/pandare/panda.py#L2595
Expand Down

0 comments on commit f55b2c6

Please sign in to comment.