Bump to 0.8.2 and update versions script (#828)

This commit is contained in:
Andrea Fioraldi 2022-10-12 14:57:08 +02:00 committed by GitHub
parent bda63f82bf
commit 089bc49d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
42 changed files with 107 additions and 58 deletions

View File

@ -1,9 +1,3 @@
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
debug = true
[workspace]
members = [
"libafl",
@ -33,3 +27,13 @@ exclude = [
"bindings",
"scripts",
]
[workspace.package]
version = "0.8.2"
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
debug = true

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer_gramatron"
version = "0.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "baby_fuzzer_tokens"
version = "0.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
authors = ["tokatoka <tokazerkje@outlook.com>"]
edition = "2021"

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "fuzzbench"
version = "0.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2021"

View File

@ -1,6 +1,6 @@
[package]
name = "fuzzbench_weighted"
version = "0.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
edition = "2018"

View File

@ -1,6 +1,6 @@
[package]
name = "libfuzzer_libmozjpeg"
version = "0.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
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.8.1"
version = "0.8.2"
edition = "2021"
authors = ["Julius Hohnerlein <julihoh@users.noreply.github.com>"]

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "libafl"
version = "0.8.1"
version.workspace = true
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
description = "Slot your own fuzzers together and extend their features using Rust"
documentation = "https://docs.rs/libafl"
@ -48,7 +48,7 @@ serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
serial_test = "0.8"
[dependencies]
libafl_derive = { version = "0.8.1", optional = true, path = "../libafl_derive" }
libafl_derive = { version = "0.8.2", optional = true, path = "../libafl_derive" }
rustversion = "1.0"
tuple_list = { version = "0.1.3" }

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_cc"
version = "0.8.1"
version.workspace = true
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>"]
description = "Commodity library to wrap compilers and link LibAFL"
documentation = "https://docs.rs/libafl_cc"

View File

@ -1,6 +1,6 @@
[package]
name = "symcc_libafl"
version = "0.8.1"
version.workspace = true
edition = "2021"
authors = ["Julius Hohnerlein <julihoh@users.noreply.github.com>", "Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
description = "Meta package for symcc_runtime"

View File

@ -1,6 +1,6 @@
[package]
name = "symcc_runtime"
version = "0.8.1"
version.workspace = true
edition = "2021"
authors = ["Julius Hohnerlein <julihoh@users.noreply.github.com>", "Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
description = "Build Concolic Tracing tools based on SymCC in Rust"

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_derive"
version = "0.8.1"
version.workspace = true
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>"]
description = "Derive proc-macro crate for LibAFL"
documentation = "https://docs.rs/libafl_derive"

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_frida"
version = "0.8.1"
version.workspace = true
authors = ["s1341 <github@shmarya.net>"]
description = "Frida backend library for LibAFL"
documentation = "https://docs.rs/libafl_frida"
@ -19,8 +19,8 @@ cmplog = []
cc = { version = "1.0", features = ["parallel"] }
[dependencies]
libafl = { path = "../libafl", version = "0.8.1", features = ["std", "libafl_derive", "frida_cli"] }
libafl_targets = { path = "../libafl_targets", version = "0.8.1", features = ["std", "sancov_cmplog"] }
libafl = { path = "../libafl", version = "0.8.2", features = ["std", "libafl_derive", "frida_cli"] }
libafl_targets = { path = "../libafl_targets", version = "0.8.2", features = ["std", "sancov_cmplog"] }
nix = "0.24"
libc = "0.2"

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_nyx"
version = "0.1.0"
version.workspace = true
edition = "2021"
authors = ["syheliel <syheliel@gmail.com>"]
description = "libafl using nyx, only avaliable on linux"

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_qemu"
version = "0.8.1"
version.workspace = true
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>"]
description = "QEMU user backend library for LibAFL"
documentation = "https://docs.rs/libafl_qemu"
@ -28,8 +28,8 @@ usermode = []
clippy = [] # special feature for clippy, don't use in normal projects§
[dependencies]
libafl = { path = "../libafl", version = "0.8.1", default-features = false, features = ["std", "derive", "llmp_compression"] }
libafl_targets = { path = "../libafl_targets", version = "0.8.1" }
libafl = { path = "../libafl", version = "0.8.2", default-features = false, features = ["std", "derive", "llmp_compression"] }
libafl_targets = { path = "../libafl_targets", version = "0.8.2" }
serde = { version = "1.0", default-features = false, features = ["alloc"] } # serialization lib
hashbrown = { version = "0.12", features = ["serde", "ahash-compile-time-rng"] } # A faster hashmap, nostd compatible

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_sugar"
version = "0.8.1"
version.workspace = true
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>"]
description = "Sugar builders to create common fuzzers with LibAFL"
documentation = "https://docs.rs/libafl_sugar"
@ -27,9 +27,9 @@ aarch64 = ["libafl_qemu/aarch64"] # build qemu for aarch64
pyo3-build-config = { version = "0.16", optional = true }
[dependencies]
libafl = { path = "../libafl", version = "0.8.1" }
libafl_targets = { path = "../libafl_targets", version = "0.8.1" }
libafl_qemu = { path = "../libafl_qemu", version = "0.8.1" }
libafl = { path = "../libafl", version = "0.8.2" }
libafl_targets = { path = "../libafl_targets", version = "0.8.2" }
libafl_qemu = { path = "../libafl_qemu", version = "0.8.2" }
typed-builder = "0.10.0" # Implement the builder pattern at compiletime
#pyo3 = { version = "0.15", features = ["extension-module"], optional = true }

View File

@ -1,6 +1,6 @@
[package]
name = "libafl_targets"
version = "0.8.1"
version.workspace = true
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>"]
description = "Common code for target instrumentation that can be used combined with LibAFL"
documentation = "https://docs.rs/libafl_targets"
@ -30,7 +30,7 @@ clippy = [] # Ignore compiler warnings during clippy
cc = { version = "1.0", features = ["parallel"] }
[dependencies]
libafl = { path = "../libafl", version = "0.8.1", default-features = false, features = [] }
libafl = { path = "../libafl", version = "0.8.2", default-features = false, features = [] }
rangemap = "1.0"
serde = { version = "1.0", default-features = false, features = ["alloc"] } # serialization lib

45
scripts/update_versions.py Executable file
View File

@ -0,0 +1,45 @@
#!/usr/bin/env python3
import os
import sys
import subprocess
EXCLUDE_LIST = ('AFLplusplus', 'target')
old_ver = sys.argv[1]
new_ver = sys.argv[2]
result = subprocess.run("git config --file .gitmodules --get-regexp path | awk '{ print $2 }'", shell=True, stdout=subprocess.PIPE)
submodules = filter(lambda x: len(x) > 0, result.stdout.decode('utf-8').split('\n'))
for subdir, dirs, files in os.walk(os.getcwd()):
exclude = False
for word in EXCLUDE_LIST:
if word in subdir.split(os.sep):
exclude = True
break
for sub in submodules:
if subdir.startswith(sub):
exclude = True
break
if exclude:
continue
for file in files:
if file != 'Cargo.toml':
continue
fname = os.path.join(subdir, file)
print(fname)
with open(fname, 'r') as f:
toml = f.read()
lines = toml.split('\n')
for i in range(len(lines)):
if lines[i].startswith('version = "%s"' % old_ver):
lines[i] = 'version = "%s"' % new_ver
if lines[i].startswith('libafl') and 'version = "%s"' % old_ver in lines[i]:
lines[i] = lines[i].replace('version = "%s"' % old_ver, 'version = "%s"' % new_ver)
with open(fname, 'w') as f:
f.write('\n'.join(lines))

View File

@ -1,7 +1,7 @@
[package]
authors = ["Andrea Fioraldi <andreafioraldi@gmail.com>", "Dominik Maier <domenukk@gmail.com>"]
name = "libafl_benches"
version = "0.8.1"
version = "0.8.2"
edition = "2021"
description = "LibAFL Benchmarks"
documentation = "https://docs.rs/libafl"