Commit ·
abb881c
1
Parent(s): 9ab25dc
ghidra dir
Browse files- Dockerfile +1 -1
- main.py +4 -3
Dockerfile
CHANGED
|
@@ -27,7 +27,7 @@ USER user
|
|
| 27 |
ENV HOME=/home/user \
|
| 28 |
PATH=/home/user/.local/bin:$PATH
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
# Set the working directory to the user's home directory
|
| 33 |
WORKDIR $HOME/app
|
|
|
|
| 27 |
ENV HOME=/home/user \
|
| 28 |
PATH=/home/user/.local/bin:$PATH
|
| 29 |
|
| 30 |
+
ENV GHIDRA_INSTALL_DIR=/ghidra
|
| 31 |
|
| 32 |
# Set the working directory to the user's home directory
|
| 33 |
WORKDIR $HOME/app
|
main.py
CHANGED
|
@@ -106,6 +106,7 @@ TBD
|
|
| 106 |
outputs=[state, disassembly, original_decompile, decompile, model_output],
|
| 107 |
)
|
| 108 |
|
|
|
|
| 109 |
def file_change_fn(file):
|
| 110 |
|
| 111 |
print("file change fn called with file:", file)
|
|
@@ -141,9 +142,9 @@ TBD
|
|
| 141 |
"cfs": cfs},
|
| 142 |
}
|
| 143 |
|
| 144 |
-
file_widget.change(
|
| 145 |
-
|
| 146 |
-
)
|
| 147 |
|
| 148 |
print("Lauching now.")
|
| 149 |
|
|
|
|
| 106 |
outputs=[state, disassembly, original_decompile, decompile, model_output],
|
| 107 |
)
|
| 108 |
|
| 109 |
+
@file_widget.change(inputs=file_widget, outputs=[intro, state, col, fun_dropdown])
|
| 110 |
def file_change_fn(file):
|
| 111 |
|
| 112 |
print("file change fn called with file:", file)
|
|
|
|
| 142 |
"cfs": cfs},
|
| 143 |
}
|
| 144 |
|
| 145 |
+
#file_widget.change(
|
| 146 |
+
# file_change_fn, file_widget, outputs=[intro, state, col, fun_dropdown]
|
| 147 |
+
#)
|
| 148 |
|
| 149 |
print("Lauching now.")
|
| 150 |
|