Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ wasip2 = "1.0"
arbitrary = "1.4.2"
backtrace = "0.3.76"
bumpalo = "3.20.2"
mutatis = {version = "0.4.0", features = ["alloc", "derive", "check"] }
mutatis = { version = "0.5.2", features = ["alloc", "derive", "check"] }
cc = "1.2.41"
object = { version = "0.39.0", default-features = false, features = ['read_core', 'elf'] }
gimli = { version = "0.33.0", default-features = false, features = ['read'] }
Expand All @@ -398,7 +398,7 @@ bitflags = "2.9.4"
thiserror = "2.0.17"
async-trait = "0.1.89"
heck = "0.5"
similar = "2.7.0"
similar = "3.1.1"
toml = "0.9.8"
mach2 = "0.6"
memfd = "0.6.5"
Expand Down Expand Up @@ -445,7 +445,7 @@ native-tls = "0.2.11"
tokio-openssl = "0.6.5"
openssl = "0.10.80"
openssl-sys = "0.9.116"
webpki-roots = "0.26.0"
webpki-roots = "1.0.7"
itertools = "0.14.0"
base64 = "0.22.1"
termcolor = "1.4.1"
Expand Down
2 changes: 1 addition & 1 deletion cranelift/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ libm = { workspace = true }

[dev-dependencies]
criterion = { workspace = true }
similar = "2.1.0"
similar = { workspace = true }
env_logger = { workspace = true }
proptest = { workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion crates/environ/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ all-features = true
[dependencies]
anyhow = { workspace = true }
postcard = { workspace = true }
cpp_demangle = { version = "0.4.3", default-features = false, features = ['alloc'], optional = true }
cpp_demangle = { version = "0.5.1", default-features = false, features = ['alloc'], optional = true }
cranelift-entity = { workspace = true, features = ['enable-serde'] }
cranelift-bitset = { workspace = true, features = ['enable-serde'] }
cranelift-bforest = { workspace = true }
Expand Down
3 changes: 1 addition & 2 deletions crates/environ/src/demangling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ pub fn demangle_function_name(writer: &mut impl core::fmt::Write, name: &str) ->
if let Ok(demangled) = rustc_demangle::try_demangle(name) {
return write!(writer, "{demangled}");
} else if let Ok(symbol) = cpp_demangle::Symbol::new(name) {
let options = cpp_demangle::DemangleOptions::default();
if let Ok(demangled) = symbol.demangle(&options) {
if let Ok(demangled) = symbol.demangle() {
return write!(writer, "{demangled}");
}
}
Expand Down
35 changes: 0 additions & 35 deletions crates/fuzzing/src/generators/exception_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,41 +565,6 @@ impl DefaultMutate for CatchKind {
type DefaultMutate = EnumMutator;
}

impl Generate<TagSig> for TagSigMutator {
fn generate(&mut self, ctx: &mut Context) -> MutResult<TagSig> {
let count = ctx.rng().gen_index(MAX_TAG_PARAMS).unwrap_or(0) + 1;
let params = (0..count)
.map(|_| EnumMutator.generate(ctx))
.collect::<MutResult<Vec<_>>>()?;
Ok(TagSig { params })
}
}

impl Generate<Scenario> for ScenarioMutator {
fn generate(&mut self, ctx: &mut Context) -> MutResult<Scenario> {
let mut m = mutatis::mutators::u32();
Ok(Scenario {
throw_tag: mutatis::Generate::<u32>::generate(&mut m, ctx)?,
throw_depth: mutatis::Generate::<u32>::generate(&mut m, ctx)?,
catch_depth: mutatis::Generate::<u32>::generate(&mut m, ctx)?,
catch_kind: EnumMutator.generate(ctx)?,
decoy_catches: vec![],
decoy_catches_after: vec![],
})
}
}

impl Generate<ExceptionOps> for ExceptionOpsMutator {
fn generate(&mut self, _ctx: &mut Context) -> MutResult<ExceptionOps> {
let mut ops = ExceptionOps::default();
let mut session = mutatis::Session::new();
for _ in 0..32 {
session.mutate(&mut ops)?;
}
Ok(ops)
}
}

#[cfg(test)]
mod tests {
use super::*;
Expand Down
18 changes: 18 additions & 0 deletions supply-chain/audits.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2754,6 +2754,12 @@ criteria = "safe-to-deploy"
delta = "0.3.5 -> 0.4.3"
notes = "No substantive changes to `unsafe` code and otherwise all looks good."

[[audits.cpp_demangle]]
who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-deploy"
delta = "0.4.3 -> 0.5.1"
notes = "API refactors, support for new symbols, nothing awry."

[[audits.cpufeatures]]
who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -4641,6 +4647,12 @@ who = "Pat Hickey <phickey@fastly.com>"
criteria = "safe-to-deploy"
version = "1.4.1"

[[audits.similar]]
who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-deploy"
delta = "2.7.0 -> 3.1.1"
notes = "Lots of crate changes, new algorithms, etc, but nothing awry. No `unsafe` changes"

[[audits.sized-chunks]]
who = "Nick Fitzgerald <fitzgen@gmail.com>"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -6311,6 +6323,12 @@ who = "Pat Hickey <phickey@fastly.com>"
criteria = "safe-to-deploy"
delta = "0.23.0 -> 0.25.2"

[[audits.webpki-roots]]
who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-deploy"
delta = "0.26.1 -> 1.0.7"
notes = "Minor changes, new certs, etc. Nothing major"

[[audits.which]]
who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-run"
Expand Down
Loading