Skip to content

added version check and branch for BWN_DISASMS#15

Open
cccs-cw wants to merge 1 commit into
OALabs:masterfrom
cccs-cw:ida9.0-patch
Open

added version check and branch for BWN_DISASMS#15
cccs-cw wants to merge 1 commit into
OALabs:masterfrom
cccs-cw:ida9.0-patch

Conversation

@cccs-cw

@cccs-cw cccs-cw commented Dec 11, 2024

Copy link
Copy Markdown

idaapi.BWN_DISASMS is moved to ida_kernwin.BWN_DISASM
https://python.docs.hex-rays.com/ida_kernwin#bwn_disasms

Note: for ida_kernwin.BWN_DISASM there is no S at the end as in the current working version, both have the same value ida_kernwin.BWN_DISASM according to the documentation, however if you try to access ida_kernwin.BWN_DISASMS in IDA v9.0 it does not exists.

BWN_DISASM

BWN_DISASM = 27

BWN_DISASMS

BWN_DISASMS = 27

source: https://python.docs.hex-rays.com/ida_kernwin#bwn_disasm

to address this i've added a global constant where the value is set based on the version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant