Skip to content

Rust - #393

Merged
ShawnZhong merged 24 commits into
masterfrom
rust
Sep 22, 2026
Merged

Rust#393
ShawnZhong merged 24 commits into
masterfrom
rust

Conversation

@ShawnZhong

Copy link
Copy Markdown
Collaborator

No description provided.

- Update CI configuration to include Rust build steps and caching
- Modify install_deps.sh to ensure Rust is installed
- Change kstep.sh to run the CLI in release mode
- Updated `kstep-core` library description and features in `Cargo.toml`.
- Removed unused `proj_dir` function and related test from `kstep-core`.
- Introduced `qemu.rs` module in `kstep-core` for QEMU command line management.
- Created new `kstep-host` library with functionalities for kernel checkout, build, and bug catalog management.
- Implemented `bugs.rs` for handling bug definitions and their associated kernels.
- Added `build.rs` for configuring and building the Linux kernel and kmod.
- Developed `checkout.rs` for managing kernel source downloads and worktree management.
- Introduced `cmd.rs` for command execution utilities.
- Created `results.rs` for managing result directories and logs.
- Updated `kstep.sh` to run the CLI under the new package name `kstep-cli`.
- Consolidated kstep CLI into a single crate, removing the separate kstep-cli crate.
- Updated CI workflow to build the new kstep binary instead of kstep-cli.
- Modified Cargo.lock and Cargo.toml to reflect the new structure and dependencies.
- Added new modules for checkout, build, and run functionalities within the kstep CLI.
- Implemented a new bugs management system with YAML support.
- Enhanced the build process to include kernel configuration and building of user binaries.
- Updated the kstep.sh script to execute the new kstep binary.
- Consolidated build functions in `build.rs` to streamline kernel and user binary builds.
- Introduced a new `Session` struct in `session.rs` to manage the CLI driver and its interactions with QEMU.
- Updated `run.rs` to utilize the new session management, enhancing command execution and state retrieval.
- Removed redundant functions and improved error handling across various modules.
- Adjusted the results directory structure for clarity and consistency.
- Added support for reading commands from a file in the CLI run process.
- Enhanced the installation script to include `libclang-dev` as a dependency.
- Minor adjustments to kernel shared memory handling in `shm.c` and `shm.h` for better compatibility.
…-fuzz.sh script for building and running the fuzzer
- Introduced a new module for WASM integration in `crates/core/src/wasm.rs`, providing functions to handle QEMU arguments, shared memory size, and state decoding.
- Updated the fuzzing crate to utilize the new IO interface, replacing Console with IO in `crates/fuzz/src/main.rs`.
- Added a new visualization module in `crates/kstep/src/cli/viz.rs` to build and serve the visualization website.
- Refactored existing CLI commands to use the new IO structure instead of Console in `crates/kstep/src/cli/reproduce.rs`, `run.rs`, and `main.rs`.
- Enhanced shared memory handling in the kernel module, updating the shared memory header and layout in `kmod/shm.c` and `kmod/shm.h`.
- Updated the shell script to reflect the new visualization command in `kstep.sh`.
@ShawnZhong
ShawnZhong merged commit 36b8ac5 into master Sep 22, 2026
10 checks passed
@ShawnZhong
ShawnZhong deleted the rust branch September 22, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant