Skip to content

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

Open
@warchiefmarkus

Description

@warchiefmarkus

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions