logo

Rust crates reviews

Cryptographically verifiable, distributed dependency reviews

crate: raw-cpuid

https://lib.rs/crates/raw-cpuid/

Add the last reviewed version to Cargo.toml / [dependencies]:

raw-cpuid = "10.2.0"

Filter reviews clicking on the numbers in the summary.

Full column names in tooltip hints: rating Negative, rating Neutral, rating Positive, rating Strong, thoroughness, understanding, reviews count.

Neg
Neu
Pos
Str
tho
und
rev
2
2
1
2
1
crate version
rating
date
reviewer
thoroughness, understanding
raw-cpuid 10.2.0
positive
2021-10-17
low, medium

All soundness issues have been fixed and unsafe code is no longer used
casually. Some transmutes from raw CPUID data to structs remain, but now
with comments explaining why they are safe.

raw-cpuid 8.1.2
negative
2021-01-17
high, medium

The crate has multiple soundness issues.

Most importantly, it performs transmutes that are most likely unsound or
at best incorrect (https://github.com/gz/rust-cpuid/issues/40).

Further, for machines that do not support CPUID (arguably rare, when ignoring
SGX), it incorrectly exposes the unsafe core::arch::__cpuid_count() as a safe
function. (The safety requirement is that the CPUID instruction is supported,
https://github.com/gz/rust-cpuid/issues/41).

Soundness issues aside, there are some minor issues.

© bestia.dev 2023, MIT License, Version: 2023.608.1636

Open source repository for this web app: https://github.com/bestia-dev/cargo_crev_web/