Will de la Vega
Will de la Vega

Reputation: 554

debug disassembled dylib with hopper?

Is there a way to connect gdb to hopper, then load a dylyb that is loaded by an app and then run the app while stepping through the dylib code? is there a way to do this?

Upvotes: 1

Views: 1192

Answers (2)

Adam Wallner
Adam Wallner

Reputation: 2412

Today (2020) actually you can debug dylibs by opening them in a separate window before starting debugger. When you go back in the callstack window it shows the actual code in the window of dylib. You can also place breakpoints and do whatever you want in it.

For debugging to work you should remove the codesigning of the main executable.

Upvotes: 2

Will de la Vega
Will de la Vega

Reputation: 554

I asked the developer and got a reply indicating that this feature (debugging a dylib), is not available in the current version.

The best way to go for now seems to be to use the available tools to find the right place to edit the code and then reassemble it.

Upvotes: 1

Related Questions