Skip to content

Release v0.7-b12c352

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Aug 22:41
Immutable release. Only release title and notes can be modified.
payload args: optional pre-resolved API table (v2 extension)

Launchers that cannot rely on the payload's own dlsym resolver
(syscall 0x24f is refused for a WebProcess, kexp would trap) now pass
a table of pre-resolved libkernel/libc addresses via a trailing
extension of payload_args_t: api_magic ('KXP2'), api_count (12) and
api_entries[]. When present, init_libkernel_api/init_libc_api assign
every import from the table and perform zero dlsym calls; getpid is
exported as lk_getpid and consumed by the loader. Launchers passing
the legacy 0x28-byte block are unaffected: the extension is validated
(magic, count, pointer) before use and otherwise the internal dlsym
resolver runs exactly as before.