devel/ldis 20260818 NetBSD
Lua 5.4 and 5.5 disassembler
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
945bcee9ae- License
- mit
- Categories
- devel
- Package size
- 33.8 KiB, 227.3 KiB installed
Description
This is ldis, a disassembler for lua binary files. It works for binaries compiled by the 5.4 and 5.5 branches of lua, discovering the compiler used to compile into the opcodes, and delivers the assembly opcodes and data in an easy to read form. It is similar to the output produced by luac -l -l, but of course, does not need the lua source code around to be able to recover the opcodes, constants, upvals and local variables.
In general, there is little lua consistency between major releases. Bytecodes are numbered differently, and so there is little consistency, and compiled programs usually need to be recompiled. This disassembler tries to bridge that gap, by being able to disassemble both 5.4 and 5.5-compiled binaries.
Install
Binary package:
pkgin install ldis
From pkgsrc:
cd /usr/pkgsrc/devel/ldis && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 20260818 |
| NetBSD 10.1 aarch64 | - |
| SmartOS / illumos x86_64 | - |
| macOS 15 arm64 | - |
Dependencies
No port depends on this one.