Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need minimal plugin class structure to load in IDA Pro #7

Open
warchiefmarkus opened this issue Nov 18, 2024 · 1 comment · May be fixed by #8
Open

Need minimal plugin class structure to load in IDA Pro #7

warchiefmarkus opened this issue Nov 18, 2024 · 1 comment · May be fixed by #8

Comments

@warchiefmarkus
Copy link

warchiefmarkus commented Nov 18, 2024

Ida Pro require plugin structure class with defined entry point methods, or it show error and not load plugin (8/9 version). I use this template stub at the bottom of idapal.py to let plugin load.

class aiDAPalPlugin(idaapi.plugin_t):
    flags = 0
    comment = "aiDAPal Plugin"
    help = "Analyzes and enhances functions in IDA"
    wanted_name = "aiDAPal"
    wanted_hotkey = ""

    def init(self):
        print("aiDAPal Plugin Initialized")
        return idaapi.PLUGIN_OK

    def run(self, arg):
        print("aiDAPal Plugin Running")

    def term(self):
        print("aiDAPal Plugin Terminated")

def PLUGIN_ENTRY():
    return aiDAPalPlugin()

QjZSJ0x1JG

@warchiefmarkus warchiefmarkus changed the title Need minimal plugin class for work in IDA Pro Need minimal plugin class structure to load in IDA Pro Nov 18, 2024
@warchiefmarkus warchiefmarkus linked a pull request Nov 18, 2024 that will close this issue
@AverageBusinessUser
Copy link
Collaborator

ack - I will take a look at this, I did not catch this as I only load the plugin manually, thanks for the update.

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 a pull request may close this issue.

2 participants