9 unstable releases (3 breaking)

new 0.14.1 Dec 2, 2024
0.14.0 Nov 13, 2024
0.13.2 Jul 31, 2024
0.13.1 Jun 30, 2024
0.11.1 Aug 31, 2023

#535 in Testing

Download history 56/week @ 2024-08-18 106/week @ 2024-08-25 120/week @ 2024-09-01 162/week @ 2024-09-08 245/week @ 2024-09-15 213/week @ 2024-09-22 137/week @ 2024-09-29 142/week @ 2024-10-06 171/week @ 2024-10-13 145/week @ 2024-10-20 180/week @ 2024-10-27 220/week @ 2024-11-03 319/week @ 2024-11-10 217/week @ 2024-11-17 111/week @ 2024-11-24 441/week @ 2024-12-01

1,096 downloads per month
Used in 9 crates

MIT/Apache

590KB
13K SLoC

LibAFL_bolts: OS and Fuzzer Dev's Libary Collection.

LibAFL logo

The libafl_bolts crate exposes a lot of low-level features of LibAFL for projects that are unrelated to fuzzing, or just fuzzers completely different to LibAFL. Some cross-platform things in bolts include (but are not limited to):

  • SerdeAnyMap: a map that stores and retrieves elements by type and is serializable and deserializable
  • ShMem: A cross-platform (Windows, Linux, Android, MacOS) shared memory implementation
  • LLMP: A fast, lock-free IPC mechanism via SharedMap
  • Core_affinity: A maintained version of core_affinity that can be used to get core information and bind processes to cores
  • Rands: Fast random number generators for fuzzing (like RomuRand)
  • MiniBSOD: get and print information about the current process state including important registers.
  • Tuples: Haskel-like compile-time tuple lists
  • Os: OS specific stuff like signal handling, windows exception handling, pipes, and helpers for fork

LibAFL_bolts is written and maintained by

Contributing

For bugs, feel free to open issues or contact us directly. Thank you for your support. <3

Even though we will gladly assist you in finishing up your PR, try to

  • keep all the crates compiling with stable rust (hide the eventual non-stable code under cfgs)
  • run cargo nightly fmt on your code before pushing
  • check the output of cargo clippy --all or ./clippy.sh
  • run cargo build --no-default-features to check for no_std compatibility (and possibly add #[cfg(feature = "std")]) to hide parts of your code.

Some of the parts in this list may be hard, don't be afraid to open a PR if you cannot fix them by yourself, so we can help.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies under more restrictive licenses, such as GPL or AGPL, can be enabled using the respective feature in each crate when it is present, such as the 'agpl' feature of the libafl crate.

Dependencies

~0.5–42MB
~670K SLoC