File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55# Register the settings group in Binary Ninja to store the API key and model.
66OpenAISettings ()
77
8- PluginCommand .register_for_high_level_il_function ("OpenAI\What Does this Function Do (HLIL)?" ,
8+ PluginCommand .register_for_high_level_il_function (r "OpenAI\What Does this Function Do (HLIL)?" ,
99 "Checks OpenAI to see what this HLIL function does." \
1010 "Requires an internet connection and an API key "
1111 "saved under the environment variable "
1212 "OPENAI_API_KEY or modify the path in entry.py." ,
1313 check_function )
1414
15- PluginCommand .register_for_function ("OpenAI\What Does this Function Do (Pseudo-C)?" ,
15+ PluginCommand .register_for_function (r "OpenAI\What Does this Function Do (Pseudo-C)?" ,
1616 "Checks OpenAI to see what this pseudo-C function does." \
1717 "Requires an internet connection and an API key "
1818 "saved under the environment variable "
1919 "OPENAI_API_KEY or modify the path in entry.py." ,
2020 check_function )
2121
22- PluginCommand .register_for_high_level_il_instruction ("OpenAI\Rename Variable (HLIL)" ,
22+ PluginCommand .register_for_high_level_il_instruction (r "OpenAI\Rename Variable (HLIL)" ,
2323 "If the current expression is a HLIL Initialization " \
2424 "(HighLevelILVarInit), then query OpenAI to rename the " \
2525 "variable to what it believes is correct. If the expression" \
You can’t perform that action at this time.
0 commit comments