Telkin provides the tk::privilegedWrite function-pointer to perform memory copy operations with kernel permissions.
Example:
void OverwriteSyscall() {
}
@ r3
Definition Assembly.h:31
consteval u32 li(R rt, s16 si)
Definition Assembly.h:161
writefunc_t privilegedWrite
- Note
- The .rodata section of RPX files is already writable, so a privileged write is unnecessary for modifying it.
See Inline Assembly for more information on the constexpr assembler used.