Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions D810.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ def init(self):
print("D-810 need Hex-Rays decompiler. Skipping")
return idaapi.PLUGIN_SKIP

kv = ida_kernwin.get_kernel_version().split(".")
if (int(kv[0]) < 7) or (int(kv[1]) < 5):
print("D-810 need IDA version >= 7.5. Skipping")
ver = float(ida_kernwin.get_kernel_version())
if ver < 7.5:
print("Version mismatch; D-810 needs IDA version >= 7.5. Skipping")
return idaapi.PLUGIN_SKIP
if ver >= 8:
print(f"Notice: D-810 was built for IDA version 7.5. You are running v{ver}")
print("D-810 initialized (version {0})".format(D810_VERSION))
return idaapi.PLUGIN_OK

Expand Down