Skip to content

Commit

Permalink
Fix detection of CET shadow stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
hvrsim authored Jan 10, 2025
1 parent 1a853c9 commit 8ccb662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3573,7 +3573,7 @@ impl ExtendedFeatures {
/// ❓ AMD ✅ Intel
#[inline]
pub const fn has_cet_ss(&self) -> bool {
self.ecx.contains(ExtendedFeaturesEcx::GFNI)
self.ecx.contains(ExtendedFeaturesEcx::CETSS)
}

/// GFNI
Expand Down

0 comments on commit 8ccb662

Please sign in to comment.