Skip to content

How to use the x64dbg Plugin SDK (x64)

fearless edited this page Jul 29, 2016 · 6 revisions

Overview

There are a number of ways of using the pluginsdk files in your own projects, below is a couple of options for using the x64dbg Plugin SDK (x64) with JWasm64 / HJWasm and/or with the RadASM IDE

JWasm64 / HJWasm

  • Copy the x64dbgpluginsdk.inc, x64dbg.inc, x64bridge.inc, debug_x64.inc and TitanEngine_x64.inc files from pluginsdk\include folder to your Jwasm\include folder
  • Copy the x64dbg.lib, x64bridge.lib, debug_x64.lib and TitanEngine_x64.lib files from pluginsdk\lib folder to your Jwasm\lib folder
  • Add a line in your source code:
    include x64dbgpluginsdk.inc
  • or add the following lines to your source code
    include x64dbg.inc
    include x64bridge.inc
    include debug_x64.inc
    include TitanEngine_x64.inc
    includelib x64dbg.lib
    includelib x64bridge.lib
    includelib debug_x64.lib
    includelib TitanEngine_x64.lib

RadASM

Alternatively you can use the included template to easily create a x64dbg plugin project ready to use

  • Copy the template\x64dbg_plugin.tpl file to your RadASM\Jwasm\Templates folder.
  • Open RadASM and choose a new project.
  • Choose assembler type as jwasm - (which requires you to have the JWasm64 or HJWasm and the JWasm for RadASM package and steps above are completed)
  • Choose the project name and folder.
  • Specify project as a Dll64 (64bit dynamic link library) type.
  • Select 'x64dbg plugin' as the project template to use and allow it to create & setup a ready to run barebones x64dbg plugin.

With any of these options, feel free to add any other includes and libs as you normally would.

Resources