-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathida-plugin-stub.py
More file actions
27 lines (21 loc) · 753 Bytes
/
ida-plugin-stub.py
File metadata and controls
27 lines (21 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import idaapi
class HaruspexStub(idaapi.plugin_t):
flags = 0
comment = "Stub for haruspex (based on idalib's Rust bindings)"
help = "This plugin is a stub and does not provide any functionality."
wanted_name = "haruspex"
wanted_hotkey = ""
def init(self):
print(
"[WARN] haruspex is a headless plugin based on idalib's Rust bindings and should be used via the "
"`haruspex` crate via crates.io or from source, not as a regular IDA plugin."
)
return idaapi.PLUGIN_SKIP
def run(self, arg):
pass
def term(self):
pass
def PLUGIN_ENTRY():
if not hasattr(PLUGIN_ENTRY, "_inst"):
PLUGIN_ENTRY._inst = HaruspexStub()
return PLUGIN_ENTRY._inst