Repository navigation
Shevery now on rust - #393
Merged
Merged
Conversation
- Implement starter (libshizuku executable) in Rust: SELinux context transition, cgroup v1/v2 controller setup, process enumeration and app_process invocation. - Implement rish (librish.so) in Rust: PTY management, raw mode termios, signal handlers (SIGWINCH self-pipe), RishTerminal & RishHost JNI bindings. - Implement adb_pairing (libadb.so) in Rust: pure-Rust SPAKE2 (curve25519-dalek), HKDF-SHA256, AES-128-GCM pairing protocol, replacing BoringSSL. - Integrate cargo-ndk into Gradle for all 4 target ABIs (arm64-v8a, armeabi-v7a, x86, x86_64). - Remove legacy C/C++ sources, BoringSSL, and libcxx dependencies. - Update GitHub Actions workflow to install Rust toolchain and cargo-ndk.
…rets, and guard nonce overflow
…ock SIGWINCH, and read raw cmdline
…on, and harden adb shim
…e caller auth on all binder calls
…ntgomery pubkey encoder in Rust
… DEX header fixer, and APK v2 Merkle digest in Rust
…ail reader in Rust, wire JNI exports and buildRustManager
|
🤖 AI Triage This PR successfully rewrites the native components in Rust with proper cargo-ndk integration in Gradle, clean JNI binding declarations, and updated workflows and documentation. PR quality: 92/100 (higher = better; this is the model's rating of the diff, the label above is the triage verdict)
Diff size: 79 file(s) changed (29 added, 36 modified, 14 removed, 0 renamed), +6944 / -1491 lines. Before/after versions read for 4 of 79 file(s).
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Implementation
Testing
Checklist
Screenshots (if applicable)