You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lu...@googlegroups.com
Hello,
suppose I compiled a Lua script with luac.exe into a binary. Is it possible that I add some bytes to the end of the compiled binaty ("ab+" or similar mode in C; e.g. a time stamp) so that the binary is still valid to be loaded by the Lua bytecode loader?
TIA.
Best regards, Lukas
Luiz Henrique de Figueiredo
unread,
Nov 17, 2025, 7:30:48 PM (9 days ago) Nov 17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lu...@googlegroups.com
> Is it possible that I add some bytes to the end of the compiled binaty ([...] e.g. a time stamp) so that the binary is still valid to be loaded by the Lua bytecode loader?
Yes. You can try it yourself:
$ echo 'print("hello")' | luac -
$ date >> luac.out
$ lua luac.out
hello