kweatherman / sigmakerex

Enhanced IDA Pro signature generator plugin.
MIT License
328 stars 47 forks source link

Not registering with Ida pro 7.7, Visual Studio 2022, Windows 11 #3

Closed mistahmikey closed 2 years ago

mistahmikey commented 2 years ago

I was able to build the plugin without error, and it installs itself in the ida pro plugin directory:

Build started...
1>------ Build started: Project: SigMakerEx, Configuration: Debug x64 ------
1>Signature.cpp
1>Main.cpp
1>Search.cpp
1>Utility.cpp
1>Generating Code...
1>   Creating library C:\Users\miked\Source\repos\sigmakerex\x64\Debug\IDA_SigMaker.lib and object C:\Users\miked\Source\repos\sigmakerex\x64\Debug\IDA_SigMaker.exp
1>SigMakerEx.vcxproj -> C:\Users\miked\Source\repos\sigmakerex\x64\Debug\IDA_SigMaker.dLL
1>        1 file(s) copied.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

However, when I start ida pro, it does not appear to be loading. Let me know how I can help you debug this issue.

kweatherman commented 2 years ago

Great. When you say:

does not appear to be loading

Do you mean you press the default Ctrl-Alt-S hotkey and the plugin dialog doesn't come up?
If so, it could be the problem I stated in the README.md:

Since "Ctrl-Alt-S" now combo conflicts with an IDA default, to avoid getting warning messages, edit your "idagui.cfg" and make the "StackTrace" entry like: "StackTrace" = 0 // "Ctrl-Alt-S" // open stack trace window (the '0' disables the key).

Try alternately activating it from your IDA Edit->Plugins menu. An alternative solution is to edit your IDA plugins.cfg to override the default hotkey. For example to make it "Ctrl-7" (which still might be a conflict with an existing IDA hotkey): IDA_SigMaker IDA_SigMaker Ctrl-7 1 WIN

Does this fix the issue?

mistahmikey commented 2 years ago

I believe I found the issue - the default build was not configured to be 64-bit. After changing the build to 64 bit, it is now loading. Sorry for my confusion.

kweatherman commented 2 years ago

No problem. If your are making a modified/derivative build, be sure to set the __EA64__ preprocessor def for the plugin 32bit target version. It's an IDA SDK thing that added after moving to 64bit.

mistahmikey commented 2 years ago

Yep, thanks for getting back to me so quickly.  I had an issue using it, however, that I described in another issue I opened.  I didn't realize I had received these email responses at the time, or I would have simply talked to you about it here.

On 3/13/2022 1:34:46 PM, Kevin Weatherman @.> wrote: Great. When you say: does not appear to be loading Do you mean you press the default Ctrl-Alt-S hotkey and it doesn't come up? If so, it could be the problem I put in the README.md: Since "Ctrl-Alt-S" now combo conflicts with an IDA default, to avoid getting warning messages, edit your "idagui.cfg" and make the "StackTrace" entry like: "StackTrace" = 0 // "Ctrl-Alt-S" // open stack trace window (the '0' disables the key). Try activating it from your IDA Edit->Plugins menu. If this the problem an alternative solution is to edit your IDA plugins.cfg so you can override the default key for example to make the hotkey "Ctrl-7" (which still might be a conflict with an existing IDA key): IDA_SigMaker IDA_SigMaker Ctrl-7 1 WIN Does this fix the issue? — Reply to this email directly, view it on GitHub [https://github.com/kweatherman/sigmakerex/issues/3#issuecomment-1066147552], or unsubscribe [https://github.com/notifications/unsubscribe-auth/ACCGWJAMM4HA2XO2TDYS4FDU7YYMHANCNFSM5QTTKAEQ]. Triage notifications on the go with GitHub Mobile for iOS [https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675] or Android [https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub]. You are receiving this because you authored the thread.Message ID: @.>