Skip to content

Commit 7c741b5

Browse files
committed
Add plugin template.
1 parent a67a108 commit 7c741b5

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.DS_Store
2+
*.pyc

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# binaryninja-openai
2-
Itegrates OpenAI with BinaryNinja via a plugin.
2+
3+
Integrates OpenAI with BinaryNinja via a plugin.

__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from binaryninja import PluginCommand
2+
3+
PluginCommand.register_for_address("What Does this Function Do?",
4+
"Checks OpenAI to see what this function does." \
5+
"Requires an internet connection and an API key "
6+
"saved under the environment variable "
7+
"OPENAI_API_KEY",
8+
TODO)

0 commit comments

Comments
 (0)