This project allow you to write WinDbg plugin by Lua script.
sample_plugin.lua is a simple demo.
you can call it like this:
-
Move luadbg.dll to WinDbg plugin directory.
-
Start Debugging. Use the command below to load you Lua script.
!luadbg.run do_file .\sample_plugin.lua
or:
!luadbg.run #.\sample_plugin.lua
-
Then you can call you function (e.g. echo_msg ) like:
!luadbg.run echo_msg "your msg"