Bump to 0.10.0 (#1156)

* Bump to 0.10.0

* fix

* Fix CI

* Fix copyright

* fmt

---------

Co-authored-by: Dominik Maier <domenukk@gmail.com>
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
This commit is contained in:
Andrea Fioraldi 2023-04-05 17:49:53 +02:00 committed by GitHub
parent 6523341c4d
commit 0f633962ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
55 changed files with 81 additions and 90 deletions

View File

@ -33,7 +33,7 @@ exclude = [
]
[workspace.package]
version = "0.9.0"
version = "0.10.0"
[profile.release]
lto = true

View File

@ -10,6 +10,7 @@ LibAFL is written and maintained by
* [Dominik Maier](https://twitter.com/domenuk) <dominik@aflplus.plus>
* [s1341](https://twitter.com/srubenst1341) <github@shmarya.net>
* [Dongjia Zhang](https://github.com/tokatoka) <toka@aflplus.plus>
* [Addison Crump](https://github.com/addisoncrump) <me@addisoncrump.info>
## Why LibAFL?

View File

@ -1,14 +1,14 @@
[package]
name = "pylibafl"
version = "0.9.0"
version = "0.10.0"
edition = "2021"
[dependencies]
pyo3 = { version = "0.17", features = ["extension-module"] }
pyo3-log = "0.8.1"
libafl_qemu = { path = "../../libafl_qemu", version = "0.9.0", features = ["python"] }
libafl_sugar = { path = "../../libafl_sugar", version = "0.9.0", features = ["python"] }
libafl = { path = "../../libafl", version = "0.9.0", features = ["python"] }
libafl_qemu = { path = "../../libafl_qemu", version = "0.10.0", features = ["python"] }
libafl_sugar = { path = "../../libafl_sugar", version = "0.10.0", features = ["python"] }
libafl = { path = "../../libafl", version = "0.10.0", features = ["python"] }
[build-dependencies]
pyo3-build-config = { version = "0.17" }

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer_gramatron"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer_grimoire"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer_minimizing"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>", "Addison Crump <research@addisoncrump.info>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer_nautilus"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer_swap_differential"
version = "0.9.0"
version = "0.10.0"
authors = ["Addison Crump <research@addisoncrump.info>"]
edition = "2021"
default-run = "fuzzer_sd"

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer_tokens"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer_with_forkexecutor"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "baby_no_std"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "forkserver_simple"
version = "0.9.0"
version = "0.10.0"
authors = ["tokatoka <tokazerkje@outlook.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "frida_gdiplus"
version = "0.9.0"
version = "0.10.0"
authors = ["Richard Johnson <richinseattle@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "frida_fuzzer"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "fuzzbench"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "fuzzbench_fork_qemu"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "fuzzbench_forkserver"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "fuzzbench_qemu"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "fuzzbench_text"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_atheris"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_libmozjpeg"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_libpng"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_libpng_accounting"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_libpng_cmin"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>", "Addison Crump <research@addisoncrump.info>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_libpng_ctx"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_libpng_launcher"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_reachability"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_stb_image"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"
build = "build.rs"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_stb_image_concolic"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>", "Julius Hohnerlein"]
edition = "2021"
build = "build.rs"

View File

@ -1,6 +1,6 @@
[package]
name = "example_runtime"
version = "0.9.0"
version = "0.10.0"
edition = "2021"
authors = ["Julius Hohnerlein <julihoh@users.noreply.github.com>"]

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_stb_image_sugar"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"
build = "build.rs"

View File

@ -1,6 +1,6 @@
[package]
name = "nautilus_sync"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "nyx_libxml2_parallel"
version = "0.9.0"
version = "0.10.0"
edition = "2021"
default-run = "nyx_libxml2_parallel"

View File

@ -1,6 +1,6 @@
[package]
name = "nyx_libxml2_standalone"
version = "0.9.0"
version = "0.10.0"
edition = "2021"
default-run = "nyx_libxml2_standalone"

View File

@ -1,6 +1,6 @@
[package]
name = "push_harness"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "push_stage_harness"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "qemu_arm_launcher"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "qemu_launcher"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "qemu_systemmode"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,11 +1,11 @@
[package]
name = "tinyinst_simple"
version = "0.9.0"
version = "0.10.0"
edition = "2021"
[dependencies]
libafl = { version = "0.9", path = "../../libafl", features = ["introspection"] }
libafl_tinyinst = { version = "0.9", path = "../../libafl_tinyinst" }
libafl = { path = "../../libafl", features = ["introspection"] }
libafl_tinyinst = { path = "../../libafl_tinyinst" }
[profile.release]
codegen-units = 1

View File

@ -1,6 +1,6 @@
[package]
name = "tutorial"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -57,7 +57,7 @@ serial_test = "1"
bytecount = "0.6.3"
[dependencies]
libafl_derive = { version = "0.9.0", optional = true, path = "../libafl_derive" }
libafl_derive = { version = "0.10.0", optional = true, path = "../libafl_derive" }
rustversion = "1.0"
tuple_list = { version = "0.1.3" }

View File

@ -1,10 +1,10 @@
/*
american fuzzy lop++ - LLVM LTO instrumentation pass
----------------------------------------------------
LibAFL - Autotokens LLVM pass
--------------------------------------------------
Written by Marc Heuse <mh@mh-sec.de>
Written by Dongjia Zhang <toka@aflplus.plus>
Copyright 2019-2020 AFLplusplus Project. All rights reserved.
Copyright 2022-2023 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -12,8 +12,6 @@
http://www.apache.org/licenses/LICENSE-2.0
This library is plugged into LLVM when invoking clang through afl-clang-lto.
*/
#include <stdio.h>

View File

@ -1,18 +1,10 @@
/*
american fuzzy lop++ - LLVM-mode instrumentation pass
---------------------------------------------------
LibAFL - Coverage accounting LLVM pass
--------------------------------------------------
Written by Laszlo Szekeres <lszekeres@google.com>,
Adrian Herrera <adrian.herrera@anu.edu.au>,
Michal Zalewski
Written by Andrea Fioraldi <andreafioraldi@gmail.com>
LLVM integration design comes from Laszlo Szekeres. C bits copied-and-pasted
from afl-as.c are Michal's fault.
NGRAM previous location coverage comes from Adrian Herrera.
Copyright 2015, 2016 Google Inc. All rights reserved.
Copyright 2019-2020 AFLplusplus Project. All rights reserved.
Copyright 2023 AFLplusplus Project. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -20,10 +12,6 @@
http://www.apache.org/licenses/LICENSE-2.0
This library is plugged into LLVM when invoking clang through afl-clang-fast.
It tells the compiler to add code roughly equivalent to the bits discussed
in ../afl-as.h.
*/
#include "common-llvm.h"

View File

@ -22,7 +22,7 @@ no-cpp-runtime = []
unchecked_unwrap = "4"
ctor = "0.1"
libc = "0.2"
libafl = { path = "../../libafl", version = "0.9.0", default-features=false, features=["std"] }
libafl = { path = "../../libafl", version = "0.10.0", default-features=false, features=["std"] }
[build-dependencies]
cmake = "0.1"
@ -30,4 +30,4 @@ bindgen = "0.63"
regex = "1"
lazy_static = "1.4"
which = "4.2"
symcc_libafl = { path = "../symcc_libafl", version = "0.9.0" }
symcc_libafl = { path = "../symcc_libafl", version = "0.10.0" }

View File

@ -19,8 +19,8 @@ cmplog = []
cc = { version = "1.0", features = ["parallel"] }
[dependencies]
libafl = { path = "../libafl", default-features = false, version = "0.9.0", features = ["std", "libafl_derive", "frida_cli"] }
libafl_targets = { path = "../libafl_targets", version = "0.9.0", features = ["std", "sancov_cmplog"] }
libafl = { path = "../libafl", default-features = false, version = "0.10.0", features = ["std", "libafl_derive", "frida_cli"] }
libafl_targets = { path = "../libafl_targets", version = "0.10.0", features = ["std", "sancov_cmplog"] }
nix = "0.26"
libc = "0.2"

View File

@ -1690,13 +1690,17 @@ impl AsanRuntime {
// on apple aarch64, WX pages can't be both writable and executable at the same time.
// pthread_jit_write_protect_np flips them from executable (1) to writable (0)
#[cfg(all(target_vendor = "apple", target_arch = "aarch64"))]
{
libc::pthread_jit_write_protect_np(0);
}
blob.as_ptr()
.copy_to_nonoverlapping(mapping as *mut u8, blob.len());
#[cfg(all(target_vendor = "apple", target_arch = "aarch64"))]
{
libc::pthread_jit_write_protect_np(1);
}
self.shadow_check_func = Some(std::mem::transmute(mapping as *mut u8));
}
}

View File

@ -15,5 +15,5 @@ categories = ["development-tools::testing", "emulators", "embedded", "os", "no-s
[target.'cfg(target_os = "linux")'.dependencies]
libnyx = {git = "https://github.com/nyx-fuzz/libnyx.git",rev = "acaf7f6"}
libafl = { path = "../libafl", version = "0.9.0", features = ["std", "libafl_derive", "frida_cli" ]}
libafl_targets = { path = "../libafl_targets", version = "0.9.0", features = ["std", "sancov_cmplog"] }
libafl = { path = "../libafl", version = "0.10.0", features = ["std", "libafl_derive", "frida_cli" ]}
libafl_targets = { path = "../libafl_targets", version = "0.10.0", features = ["std", "sancov_cmplog"] }

View File

@ -33,9 +33,9 @@ slirp = [ "systemmode", "libafl_qemu_sys/slirp" ] # build qemu with host libslir
clippy = [] # special feature for clippy, don't use in normal projects§
[dependencies]
libafl = { path = "../libafl", version = "0.9.0", default-features = false, features = ["std", "derive", "regex"] }
libafl_targets = { path = "../libafl_targets", version = "0.9.0" }
libafl_qemu_sys = { path = "./libafl_qemu_sys", version = "0.9.0" }
libafl = { path = "../libafl", version = "0.10.0", default-features = false, features = ["std", "derive", "regex"] }
libafl_targets = { path = "../libafl_targets", version = "0.10.0" }
libafl_qemu_sys = { path = "./libafl_qemu_sys", version = "0.10.0" }
serde = { version = "1.0", default-features = false, features = ["alloc"] } # serialization lib
hashbrown = { version = "0.13", features = ["serde"] } # A faster hashmap, nostd compatible

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_qemu_build"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>"]
description = "Builder for LibAFL QEMU"
documentation = "https://docs.rs/libafl_qemu_build"

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_qemu_sys"
version = "0.9.0"
version = "0.10.0"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>"]
description = "C to Rust bindings for the LibAFL QEMU bridge"
documentation = "https://docs.rs/libafl_qemu_sys"
@ -31,4 +31,4 @@ clippy = [ "libafl_qemu_build/clippy" ] # special feature for clippy, don't use
[dependencies]
[build-dependencies]
libafl_qemu_build = { path = "../libafl_qemu_build", version = "0.9.0" }
libafl_qemu_build = { path = "../libafl_qemu_build", version = "0.10.0" }

View File

@ -27,9 +27,9 @@ aarch64 = ["libafl_qemu/aarch64"] # build qemu for aarch64
pyo3-build-config = { version = "0.15", optional = true }
[dependencies]
libafl = { path = "../libafl", version = "0.9.0" }
libafl_targets = { path = "../libafl_targets", version = "0.9.0" }
libafl_qemu = { path = "../libafl_qemu", version = "0.9.0" }
libafl = { path = "../libafl", version = "0.10.0" }
libafl_targets = { path = "../libafl_targets", version = "0.10.0" }
libafl_qemu = { path = "../libafl_qemu", version = "0.10.0" }
typed-builder = "0.12" # Implement the builder pattern at compiletime
#pyo3 = { version = "0.17", features = ["extension-module"], optional = true }

View File

@ -31,7 +31,7 @@ clippy = [] # Ignore compiler warnings during clippy
cc = { version = "1.0", features = ["parallel"] }
[dependencies]
libafl = { path = "../libafl", version = "0.9.0", default-features = false, features = [] }
libafl = { path = "../libafl", version = "0.10.0", default-features = false, features = [] }
log = "0.4.17"
rangemap = "1.0"

View File

@ -12,7 +12,7 @@ description = "TinyInst backend for libafl"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
libafl = { path = "../libafl", version = "0.9.0", features = [
libafl = { path = "../libafl", version = "0.10.0", features = [
"std",
"libafl_derive",
] }