Spaces:
Sleeping
Sleeping
Edward J. Schwartz
commited on
Commit
·
8d4b813
1
Parent(s):
5fa614e
verbose
Browse files
main.py
CHANGED
@@ -12,7 +12,7 @@ def new_binary(file):
|
|
12 |
|
13 |
# python3 generate.py --ghidra PATH_TO_GHIDRA_ANALYZEHEADLESS -t NUM_THREADS -n [NUM_FILES|None] -b BINARIES_DIR -o OUTPUT_DIR
|
14 |
print("Running DIRTY-Ghidra...", file=sys.stderr)
|
15 |
-
output = subprocess.check_output(f"python /DIRTY/dataset-gen-ghidra/generate.py --ghidra /ghidra/support/analyzeHeadless -t 1 -b {TEMP_DIR} -o {OUTPUT_DIR} 2>&1", shell=True)
|
16 |
print(output, file=sys.stderr)
|
17 |
subprocess.run(f"ls -lR {TEMP_DIR}", shell=True)
|
18 |
subprocess.run(f"ls -lR {OUTPUT_DIR}", shell=True)
|
|
|
12 |
|
13 |
# python3 generate.py --ghidra PATH_TO_GHIDRA_ANALYZEHEADLESS -t NUM_THREADS -n [NUM_FILES|None] -b BINARIES_DIR -o OUTPUT_DIR
|
14 |
print("Running DIRTY-Ghidra...", file=sys.stderr)
|
15 |
+
output = subprocess.check_output(f"python /DIRTY/dataset-gen-ghidra/generate.py --verbose --ghidra /ghidra/support/analyzeHeadless -t 1 -b {TEMP_DIR} -o {OUTPUT_DIR} 2>&1", shell=True)
|
16 |
print(output, file=sys.stderr)
|
17 |
subprocess.run(f"ls -lR {TEMP_DIR}", shell=True)
|
18 |
subprocess.run(f"ls -lR {OUTPUT_DIR}", shell=True)
|