diff --git a/clippy.sh b/clippy.sh
new file mode 100755
index 0000000000..88af86df4a
--- /dev/null
+++ b/clippy.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Clippy checks
+cargo clean
+RUST_BACKTRACE=full cargo clippy --all -- \
+ -D clippy::pedantic \
+ -W missing-docs \
+ -W clippy::missing-errors-doc \
+ -W clippy::similar-names \
+ -A clippy::missing-docs-in-private-items \
+ -A clippy::unseparated-literal-suffix \
+ -A clippy::module-name-repetitions \
+ -A clippy::unreadable-literal \
+ -A clippy::if-not-else \
+ #--allow clippy::print-with-newline \
+ #--allow clippy::write-with-newline \
diff --git a/libafl/build.rs b/libafl/build.rs
index ff4a614f3d..f1bf264c6b 100644
--- a/libafl/build.rs
+++ b/libafl/build.rs
@@ -1,3 +1,5 @@
+//! special handling to build and link libafl
+
fn main() {
#[cfg(target_os = "windows")]
windows::build!(
diff --git a/libafl/src/bolts/llmp.rs b/libafl/src/bolts/llmp.rs
index 479e9b943d..f99823e5f0 100644
--- a/libafl/src/bolts/llmp.rs
+++ b/libafl/src/bolts/llmp.rs
@@ -1064,6 +1064,7 @@ where
}
/// Returns the next message, tag, buf, if avaliable, else None
+ #[allow(clippy::type_complexity)]
#[inline]
pub fn recv_buf(&mut self) -> Result