Auto-generated from Magnolia source.
Module: lib\linux-libc.oak
gethostname(bufferPtr, size)
openFile(path, flags, mode)
readFileDescriptor(fd, bufferPtr, count)
writeFileDescriptor(fd, bufferPtr, count)
mmap(addr, length, prot, flags, fd, offset)
mprotect(addr, length, prot)
protectPages(address, size, prot)
virtualAlloc(baseAddress, size, allocationType, protection)
virtualFree(address, size, freeType)
virtualProtect(address, size, newProtect, oldProtectOutPtr)
_compatNotImplemented(apiName)
returns :object
openProcess(desiredAccess, inheritHandle, processId)
readProcessMemory(process, address, outBufferPtr, size, bytesReadOutPtr)
writeProcessMemory(process, address, inBufferPtr, size, bytesWrittenOutPtr)
virtualAllocEx(process, baseAddress, size, allocationType, protection)
virtualFreeEx(process, address, size, freeType)
virtualQuery(address, mbiBufferPtr, mbiSize)
virtualQueryEx(process, address, mbiBufferPtr, mbiSize)
LibC · [4 items]
LibDL · [4 items]
LibX11 · [4 items]
PROT_NONE · 0
PROT_READ · 1
PROT_WRITE · 2
PROT_EXEC · 4
MAP_SHARED · 1
MAP_PRIVATE · 2
MAP_FIXED · 16
MAP_ANONYMOUS · 32
O_RDONLY · 0
O_WRONLY · 1
O_RDWR · 2
O_CREAT · 64
O_TRUNC · 512
O_APPEND · 1024
SEEK_SET · 0
SEEK_CUR · 1
SEEK_END · 2
F_OK · 0
X_OK · 1
W_OK · 2
R_OK · 4
RTLD_LAZY · 1
RTLD_NOW · 2
RTLD_GLOBAL · 256
RTLD_LOCAL · 0
_SC_PAGESIZE · 30
KeyPressMask · 1
ButtonPressMask · 4
ExposureMask · 32768
StructureNotifyMask · 131072
KeyPress · 2
Expose · 12
DestroyNotify · 17
ClientMessage · 33
_readCString(ptr, maxLen)
returns :object
_resolveFirst(libraries, symbol, i)
returns :object
_callResolved(resolved, args...)
resolveIn(library, symbol)
sys · import(...)
_loadedLibraries · {}
_normalizeHandleResult(result, apiName, library)
returns :object
procAddress(module, symbol)
_loadDllCandidate(candidates, i, flags)
returns :object
resolveInLoaded(library, symbol)
returns :object
callIn(library, symbol, args...)
thunk returns :function
thunk returns :function
returns :string
returns :function
_nToH · '0123456789abcdef'
returns :list
returns :string
returns :list
returns :bool
returns ?
thunk returns :function
debounce(duration, firstCall, f)
thunk returns :function
returns :bool
returns :bool
returns :object
resolveAndCall(library, symbol, args...)
valueOr(result, fallback)