CUMLSec / stateformer

MIT License
60 stars 6 forks source link

i got NameError: name 'getScriptArgs' is not defined #3

Open iamawhalez opened 2 years ago

iamawhalez commented 2 years ago

when i run the script command/finetune/prepare_finetune_complete.py , i found that it rely on '_stacks' files which produced by command/finetune/get_var_loc_complete.py, but when i try to run command/finetune/get_var_loc_complete.py, i got NameError: name 'getScriptArgs' is not defined, i am not know how to solve it. will you help me?

peikexin9 commented 2 years ago

Hi @iamawhalez, yes the prepare_finetune_complete.py is just a code example to help you tokenize trace to prepare the input. get_var_loc_complete.py relies on Ghidra headless scripting. You can leave your email address and I can talk to you to help.

iamawhalez commented 2 years ago

Hi @iamawhalez, yes the prepare_finetune_complete.py is just a code example to help you tokenize trace to prepare the input. get_var_loc_complete.py relies on Ghidra headless scripting. You can leave your email address and I can talk to you to help.

Thank you very much & my email address is sunruijin@gmail.com. i am looking forward to your message