-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
TinyInst for Linux #1316
Comments
Do we even support MacOS? I thought it tinyinst libafl was Windows only? |
tinyinst-bindings itself works we even have CI. |
I just started working on this. At first, I used the #[cfg(target_vendor = "apple")]
let mut shmem_provider = UnixShMemProvider::new().unwrap();
#[cfg(target_os = "linux")]
let mut shmem_provider = MmapShMemProvider::new().unwrap(); However, the fuzzer
On Windows, the Is this the expected behavior on MacOS? I don't have a MacOS device to test it. Or the child process inherits the file descriptor of the shared memory and it should skip the By the way, I'm not sure but I feel like keeping the "test.exe" as the executable name even on Linux. First, it uses less conditional compilation |
No it is not supposed to work on MacOS |
Fix the id of MmapShMem to path instead of the fd number.
Fix the id of MmapShMem to the shared memory path instead of the fd number.
Fix the id of MmapShMem to the shared memory path instead of the fd number.
MmapShMem has both fd and the path passed to
In my opinion, I think we can add another type (for example, |
Fix a documentation error for `MmapShMemProvider`.
I didn't realize that we could still use |
* Make fuzzers/tinyinst_simple support Linux (#1316) Fix a documentation error for `MmapShMemProvider`. * Support shmem for `fuzzers/tinyinst_simple` on Linux. Format code. * Fix CI to install cxxbridge-cmd. * Add `CARGO_TARGET_DIR` in makefile to fix CI.
they support linux now
The text was updated successfully, but these errors were encountered: