Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Debugging a Plugin

Featured Replies

Posted

How can I debug a plugin?

I can imagine that same way debugging a regular DLL ?

Thanks

 

You can try to analyze it in static, IDA for example, or start this application that uses the plug-in in the debugger (or just attach to the running process) and in the window "Executable modules" (OllyDbg) you will see all the libraries (plugins) that the application uses and you can debug as you like.

Edited by CyberGod

  • Author
13 minutes ago, CyberGod said:

You can try to analyze it in static, IDA for example, or start this application that uses the plug-in in the debugger (or just attach to the running process) and in the window "Executable modules" (OllyDbg) you will see all the libraries (plugins) that the application uses and you can debug as you like.

Thanks. I need to debug my own plugin, for x64dbg.

Oops, I'm sorry I did not look at the name of the forum thread - "x64dbg"

Edited by CyberGod

Just put the version of x64dbg you want to run as a path for the executable in project settings.

  • Author

Thanks both,

Regards

Edited by fred26

For me when im debugging a plugin i use Debug3264 - Its a update from Donkey of the vKim like macros that allow me to print to a debug window some information

I can print contents of variables or registers, dump memory and print text strings all to help figure out the flow of the program - where it might be crashing and any values that i might require to know to figure stuff out

Of course im writing the x64dbg plugins using masm for x86 and jwasm/hjwasm for the x64 version of the plugins

 

Ive uploaded a copy of the Debug3264 lib and include file here: https://www.dropbox.com/s/np5uj1ivbafz7cj/masm32_donkeys_vkimlike_debug.zip?dl=0

It has macros for masm/jwasm that wrap function calls to the library and output to the window of dbgwin.exe (included in the zip)

 

I also created an x86 and x64 version of the x64dbg plugin SDK to help create plugins using assembler. They can be found here for anyone that is interested:

https://github.com/mrfearless/x64dbg-Plugin-SDK-For-x86-Assembler

https://github.com/mrfearless/x64dbg-Plugin-SDK-For-x64-Assembler

 

For other languages, some Debug output functions would also probably help to figure out whats going on and where in your plugin.

 

 

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.