head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.08.10.19.01.25; author agc; state Exp; branches; next ; commitid IkYhYAuE6FdJJ7RG; desc @@ 1.1 log @Import ldis, a lua 5.4 and 5.5 disassembler, into the packages collection. 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 lua 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. @ text @$NetBSD$ Remove hardcoded bindir setting --- bin/Makefile 2026/08/10 18:17:02 1.1 +++ bin/Makefile 2026/08/10 18:17:19 @@@@ -23,7 +23,7 @@@@ LDFLAGS+= -g -O0 .endif -BINDIR= /usr/bin +#BINDIR= /usr/bin .include @