风吹屁屁凉 发表于 2024-2-26 12:27

LuaJIT Decompiler v2

## LuaJIT Decompiler v2

*LuaJIT Decompiler v2* is a replacement tool for the old and now mostly defunct python decompiler.
The project fixes all of the bugs and quirks the python decompiler had while also offering
full support for gotos and stripped bytecode including locals and upvalues.

## Usage

1. Head to the release section and download the latest executable.
2. Drag and drop a valid LuaJIT bytecode file or a folder containing such files onto the exe.
Alternatively, run the program in a command prompt. Use `-?` to show usage and options.
3. All successfully decompiled `.lua` files are placed by default into the `output` folder
located in the same directory as the exe.

Feel free to (https://github.com/marsinator358/luajit-decompiler-v2/issues/new) you have.

## TODO

* bytecode big endian support
* improved decompilation logic for conditional assignments and if statements

---

This project uses an boolean expression decompilation algorithm that is based on this paper:
(https://www.cse.iitd.ac.in/~sak/reports/isec2016-paper.pdf)

https://github.com/marsinator358/luajit-decompiler-v2/releases

liujg 发表于 2024-2-26 13:24

LuaJIT 反编译器 v2
LuaJIT Decompiler v2 是旧的且现已失效的 python 反编译器的替代工具。
该项目修复了 python 反编译器的所有错误和怪癖,同时还提供
完全支持 goto 和剥离字节码,包括局部变量和上值。

Usage用法
前往发布部分并下载最新的可执行文件。
将有效的 LuaJIT 字节码文件或包含此类文件的文件夹拖放到 exe 上。
或者,在命令提示符下运行该程序。 使用 -? 显示用法和选项。
所有成功反编译的.lua文件默认放置在输出文件夹中
与 exe 位于同一目录中。
请随时报告您遇到的任何问题。

TODO
字节码大端支持
改进了条件赋值和 if 语句的反编译逻辑
该项目使用基于本文的布尔表达式反编译算法:

wykdz 发表于 2024-2-26 15:31

下载试用下。

laustar 发表于 2024-2-27 15:19

下载试试看

wftxd521 发表于 2024-4-7 14:06

下载试试看

steven666 发表于 2024-4-29 11:35

下载试试看

ryanhn717 发表于 2024-6-28 15:14

下载试试看
页: [1]
查看完整版本: LuaJIT Decompiler v2