Commit ·
cfe2c85
1
Parent(s): dc6986a
minor
Browse files
main.py
CHANGED
|
@@ -133,14 +133,13 @@ This is a space to experiment with our quantized 22B neural model for decompilat
|
|
| 133 |
print(fun_data)
|
| 134 |
|
| 135 |
addrs = [
|
| 136 |
-
(f"{name} ({hex(int(addr))}", int(addr))
|
| 137 |
for name, addr in fun_data
|
| 138 |
]
|
| 139 |
|
| 140 |
print(addrs)
|
| 141 |
|
| 142 |
except Exception as e:
|
| 143 |
-
print("error...", e)
|
| 144 |
raise gr.Error(f"Unable to analyze binary with Ghidra: {e}")
|
| 145 |
|
| 146 |
return {
|
|
|
|
| 133 |
print(fun_data)
|
| 134 |
|
| 135 |
addrs = [
|
| 136 |
+
(f"{name} ({hex(int(addr))})", int(addr))
|
| 137 |
for name, addr in fun_data
|
| 138 |
]
|
| 139 |
|
| 140 |
print(addrs)
|
| 141 |
|
| 142 |
except Exception as e:
|
|
|
|
| 143 |
raise gr.Error(f"Unable to analyze binary with Ghidra: {e}")
|
| 144 |
|
| 145 |
return {
|