Repository navigation
Rust - #393
Merged
Merged
Rust#393
Conversation
…checkout functionality
- 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
…error messages, and add wget dependency
- 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`.
…TTP server response handling
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.
No description provided.