Skip to main content

Module reentrancy_events

Module reentrancy_events 

Source

Re-exportsยง

use super::ReentrancyEvents; ๐Ÿ”’
use super::calls_loop::is_state_mutating_external_call; ๐Ÿ”’
use crate::linter::LateLintPass; ๐Ÿ”’
use crate::linter::LintContext; ๐Ÿ”’
use crate::sol::Severity; ๐Ÿ”’
use crate::sol::SolLint; ๐Ÿ”’
use crate::sol::analysis::DEFAULT_HELPER_ANALYSIS_CACHE_LIMIT; ๐Ÿ”’
use crate::sol::analysis::HelperAnalysisCache; ๐Ÿ”’
use crate::sol::analysis::dispatched_function; ๐Ÿ”’
use crate::sol::analysis::for_each_child; ๐Ÿ”’
use crate::sol::analysis::is_exit_call; ๐Ÿ”’
use crate::sol::analysis::loop_stmts; ๐Ÿ”’
use crate::sol::analysis::loop_update; ๐Ÿ”’
use solar::interface::Span; ๐Ÿ”’
use solar::sema::Gcx; ๐Ÿ”’
use solar::sema::builtins::Builtin; ๐Ÿ”’
use solar::sema::hir; ๐Ÿ”’
use solar::sema::hir::BinOpKind; ๐Ÿ”’
use solar::sema::hir::Block; ๐Ÿ”’
use solar::sema::hir::ContractId; ๐Ÿ”’
use solar::sema::hir::Expr; ๐Ÿ”’
use solar::sema::hir::ExprKind; ๐Ÿ”’
use solar::sema::hir::Function; ๐Ÿ”’
use solar::sema::hir::FunctionId; ๐Ÿ”’
use solar::sema::hir::LoopSource; ๐Ÿ”’
use solar::sema::hir::Stmt; ๐Ÿ”’
use solar::sema::hir::StmtKind; ๐Ÿ”’
use std::collections::HashMap; ๐Ÿ”’
use std::collections::HashSet; ๐Ÿ”’

Structsยง

Analyzer ๐Ÿ”’
Exits ๐Ÿ”’
How control can leave a piece of code. Each exit kind records whether an external call was seen on some path reaching it; None means no path exits that way. Aborting paths (revert, require(false), โ€ฆ) are simply absent, so they cannot taint later statements.
InlineCallKey ๐Ÿ”’

Staticsยง

REENTRANCY_EVENTS

Functionsยง

join ๐Ÿ”’
Joins two path states: reachable if either is, tainted if either is.

Type Aliasesยง

Placeholder ๐Ÿ”’