Skip to content

x64dbg plugin manual build instructions

fearless edited this page Jul 29, 2016 · 1 revision

Masm32 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

\MASM32\BIN\ML.EXE /c /coff /Cp /nologo /I"\Masm32\Include", "MyPlugin.asm"

Resource

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

Link

\MASM32\BIN\LINK.EXE /SUBSYSTEM:WINDOWS /RELEASE /DLL /DEF:"MyPlugin.def" /LIBPATH:"\Masm32\Lib" /OUT:"MyPlugin.dp32", "MyPlugin.obj", "MyPlugin.res"