Skip to content

x64dbg plugin manual build instructions

fearless edited this page Jul 29, 2016 · 1 revision

JWasm / HJWasm command line assembling and linking

If you are not using the RadASM IDE or prefer to use the command line (or batch files to assemble and link) then these settings may be of use to you when manually building your x64dbg plugin. (replace MyPlugin with the name of your x64dbg plugin in the examples below)

Assemble

\JWASM\BIN\JWASM64.EXE /c -win64 -Zp8 /Zi /win64 /D_WIN64 /Cp /nologo /W2 /I"\JWasm\Include", "MyPlugin.asm"

Resource

\JWASM\BIN\RC.EXE /v "MyPlugin.rc"

Link

\JWASM\BIN\LINK.EXE /SUBSYSTEM:WINDOWS /RELEASE /DLL /DEF:"MyPlugin.def" /LIBPATH:"\JWasm\Lib\x64" /MACHINE:X64 /OUT:"MyPlugin.dp64", "MyPlugin.obj", "MyPlugin.res"