Spaces:
Running
Running
Commit
·
8053a4f
1
Parent(s):
9038b35
debug
Browse files
main.py
CHANGED
@@ -26,6 +26,7 @@ def predict(decompiled_code):
|
|
26 |
text=True,
|
27 |
capture_output=True,
|
28 |
)
|
|
|
29 |
assert output.returncode == 0, f"Clang failed to parse: {output}"
|
30 |
|
31 |
output = subprocess.run(
|
@@ -37,7 +38,7 @@ def predict(decompiled_code):
|
|
37 |
text=True,
|
38 |
capture_output=True,
|
39 |
)
|
40 |
-
print(output)
|
41 |
|
42 |
try:
|
43 |
field_data = open(field_file_name).read()
|
|
|
26 |
text=True,
|
27 |
capture_output=True,
|
28 |
)
|
29 |
+
print(f"clang output: {output}")
|
30 |
assert output.returncode == 0, f"Clang failed to parse: {output}"
|
31 |
|
32 |
output = subprocess.run(
|
|
|
38 |
text=True,
|
39 |
capture_output=True,
|
40 |
)
|
41 |
+
print(f"field access output: {output}")
|
42 |
|
43 |
try:
|
44 |
field_data = open(field_file_name).read()
|