x64dbglua
is a plugin for x64dbg
that provides Lua
support. The plugin is based on x64dbgPlaytime
by ZehMatt
and includes additional ideas and features. Currently, the main goal of x64dbglua
is to complete automated binding, allowing users to access all functionalities of the x64dbg
plugin SDK in Lua
. Please note that the project is still in its early stages, and there may be many issues that need to be addressed and improved.
Table Of Contents
- Features
- Download
- Installation
- Configuration
- Usage
- Development
- To-Do Long-Term
- Acknowledgments
- Contributing
Some of the key features and improvements comprise:
- Enhanced adherence to C++ style
- Improved readability and ease of debugging, along with enhanced extensibility
- Addition of more modules
- Integration with sol2
- Using xmake
- Automatic binding (support planned for the future)
Download HERE the latest release of the binaries
- Download the latest version of x64dbg
- Extract
release.zip
to therelease
directory ofx64dbg
. - The
Lua
scripts are located in therelease
directory.
Tips: release
is the directory where x96dbg.exe
is located.
This will be provided in future versions.
- Enter lua print("hello") in the command line.
- Navigate to
plugins -> x64dbglua -> Load Lua File
. - Navigate to
plugins -> x64dbglua -> Reload File
.
- Adds
lua/libs
directory to thepackage.path
. - Adds
lua/libs/dll/[x86|x64]
directory to thepackage.cpath
. - Examples can be found in
lua/examples
. - Reference is available in
lua/libs/buildin.lua
. - Recommend using
stuartwang.luapanda
extension inVSCode
as the lua debugger.
If you have installed Visual Studio, go to the next step.
Click the following link to go to the Visual Studio C++ Build tools page.
At least, you should choose Desktop development with C++ and Universal Windows Platform development, If you don't know what the other options do, leave them as default.
Please wait for the installation process to complete before proceeding to the next step.
Click the following link to go to the xmake release page, you should download the file which named xmake-master.win64.exe
Click the following link to go to the Git download page
git clone https://github.com/piz-ewing/x64dbglua.git
cd x64dbglua
git submodule update --init --recursive
Now just run xmake -y
, xmake should do it all for you!
- tboox.xmake-vscode
- gen vs project,
xmake project -k vsxmake -m "bin,debug,minsizerel"
- Automatic binding
- Advanced interface
- Unit test
All contributions are welcome!
Please use the issue tracker to report any bugs or file feature requests.