Skip to content

Commit

Permalink
Whitespace and comment changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Beyer committed Feb 14, 2024
1 parent 9126ebf commit 06fc825
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cwe_checker_lib/src/checkers/cwe_337.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! This module implements a check for CWE-337: Predictable Seed in Pseudo-Random Number Generator (PRNG)
//!
//! The use of predictable seeds significantly reduces the number of possible seeds that an attacker would need
//!
//! The use of predictable seeds significantly reduces the number of possible seeds that an attacker would need
//! to test in order to predict which random numbers will be generated by the PRNG.
//!
//!
//! See <https://cwe.mitre.org/data/definitions/337.html> for a detailed description.
//!
//! ## How the check works
Expand All @@ -11,7 +11,7 @@
//! is used as an argument to a PRNG seeding function, like `srand`.
//!
//! ### Symbols configurable in config.json
//!
//!
//! Both the sources of predictable seeds and the seeding functions can be configured using the `sources`
//! and `sinks` respectively.
//!
Expand Down
2 changes: 2 additions & 0 deletions src/cwe_checker_lib/src/checkers/cwe_476.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ use crate::CweModule;
use petgraph::visit::EdgeRef;
use std::collections::BTreeMap;

/// Module for the taint tracking state. Reused by the check for CWE-337, hence public.
pub mod state;
use state::*;

/// Taint tracking module. Reused by the check for CWE-337, hence public.
pub mod taint;
pub use taint::*;

Expand Down

0 comments on commit 06fc825

Please sign in to comment.