-
-
Notifications
You must be signed in to change notification settings - Fork 412
libafl_nyx: Build qemu/packer in target directory #3534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR modifies the Nyx build process to build QEMU and packer components in the Cargo target directory instead of the source directory. This helps keep build artifacts organized and separated from source code.
Key Changes:
- Updated
build.rsto determine the target directory fromOUT_DIRand pass it to the build script - Modified
build_nyx_support.shto accept a target directory parameter and build components there - Updated the sed command to reference
Makefile.libxdcfrom the script directory instead of a relative path
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| crates/libafl_nyx/build.rs | Calculates target directory path and passes it as an argument to the build script |
| crates/libafl_nyx/build_nyx_support.sh | Accepts target directory parameter, creates it, and builds QEMU/packer there; updates sed command to use absolute path for Makefile.libxdc |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.