Skip to content

Commit

Permalink
Fix some intra-documentation links (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkelmann authored Jul 5, 2021
1 parent c32b280 commit a15a5e1
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/cwe_checker_lib/src/checkers/cwe_78.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
//! where 'char *dest' will contain the return value)
//!
//! For instance:
//! ...
//! MOV RAX, qword ptr [RBP + local_10]
//! MOV RDI, RAX // RDI is the first input parameter for the strcat call and it points to [RBP + local_10]
//! CALL strcat
//! MOV RAX, qword ptr [RBP + local_10] // In the backwards analysis [RBP + local_10] will be tainted and it contains the return value
//! ...
//!
//! ```txt
//! MOV RAX, qword ptr [RBP + local_10]
//! MOV RDI, RAX // RDI is the first input parameter for the strcat call and it points to [RBP + local_10]
//! CALL strcat
//! MOV RAX, qword ptr [RBP + local_10] // In the backwards analysis [RBP + local_10] will be tainted and it contains the return value
//! ```
//!
//! ### Symbols configurable in config.json
//!
Expand Down Expand Up @@ -250,11 +251,12 @@ impl<'a> SymbolMaps<'a> {
}

/// - block_first_def_set:
/// - A set containing a given [`Def`] as the first `Def` of the block.
/// - A set containing a given [`Def`](crate::intermediate_representation::Def) as the first `Def` of the block.
/// The keys are of the form `(Def-TID, Current-Sub-TID)`
/// to distinguish the nodes for blocks contained in more than one function.
/// - block_start_last_def_map:
/// - A map to get the node index of the `BlkStart` node containing a given [`Def`] as the last `Def` of the block.
/// - A map to get the node index of the `BlkStart` node
/// containing a given [`Def`](crate::intermediate_representation::Def) as the last `Def` of the block.
/// The keys are of the form `(Def-TID, Current-Sub-TID)`
/// to distinguish the nodes for blocks contained in more than one function.
/// - jmp_to_blk_end_node_map:
Expand Down

0 comments on commit a15a5e1

Please sign in to comment.