woshimaniubi8/CVE-2026-43499-root-KernelSU ? reverse-engineered prompt
Reverse engineered prompt
Build me a clean working version of this Android native project that compiles into a preload.so and can run the embedded KernelSU payload in late load mode on an authorized test device.
I want the build to work from the README instructions, including picking a target, generating target.h from a boot image and profile, and then producing the final shared library in the expected build/<target>/bin/ path. Please make the default flow easy to follow, fix anything that would block a normal build, and make sure the embedded ksud file is handled correctly. If you need to, look up current Android NDK or toolchain docs online.
Also keep the existing behavior where it can write out ksud, launch it from the preload constructor, and support the documented environment variables. If there are rough edges in the README or build steps, tidy those up so someone can actually follow them without guessing.
Are you gonna build this?
make sure you review the code using coderabbit