implement new loader

This commit is contained in:
2025-03-16 02:37:31 +02:00
parent 7c7832ba40
commit 0101ed8a24
17 changed files with 1594 additions and 83 deletions

6
mod/elf_loader.d.lua Normal file
View File

@@ -0,0 +1,6 @@
--- @meta elf_loader
--- @type string
local res;
return res;

View File

@@ -8,11 +8,11 @@ local fs = {};
--- @return string? err
function fs.mkdir(path, recursive) end
--- @param src string
--- @param dst string
--- @param target string
--- @param name string
--- @return boolean? ok
--- @return string? err
function fs.symlink(src, dst) end
function fs.symlink(target, name) end
--- @param path string
--- @param mode string | integer