Skip to main contentModule ecrecover
Source use super::Ecrecover; π use crate::linter::LateLintPass; π use crate::linter::LintContext; π use crate::sol::Severity; π use crate::sol::SolLint; π use crate::sol::analysis::is_exit_call; π use crate::sol::analysis::is_require_or_assert; π use crate::sol::analysis::loop_update; π use crate::sol::analysis::tuple_elems; π use alloy_primitives::U256; π use solar::ast::BinOpKind; π use solar::ast::ElementaryType; π use solar::ast::UnOpKind; π use solar::interface::Span; π use solar::interface::Symbol; π use solar::interface::data_structures::Never; π use solar::sema::Gcx; π use solar::sema::builtins::Builtin; π use solar::sema::eval::ConstValue; π use solar::sema::hir; π use solar::sema::hir::Expr; π use solar::sema::hir::ExprId; π use solar::sema::hir::ExprKind; π use solar::sema::hir::LoopSource; π use solar::sema::hir::StateMutability; π use solar::sema::hir::Stmt; π use solar::sema::hir::StmtKind; π use solar::sema::hir::TypeKind; π use solar::sema::hir::VariableId; π use solar::sema::hir::Visit; π use solar::sema::ty::TyKind; π use std::collections::HashMap; π use std::collections::HashSet; π use std::mem; π use std::ops::ControlFlow; π
- Analyzer π
- FlowState π
- PendingRecovery π
- An
ecrecover result held in a local that has been neither observed nor validated yet. - SideEffects π
- Finds writes and state-mutating calls that run when an expression is evaluated.
- ValueId π
- Symbolic identity of a value: a placeβs incoming value or the result of an assignment.
- ValueKey π
- A tracked place: a whole variable, or a struct field reached from a variable (
sig.s).
- SECP256K1_HALF_ORDER π
- Largest canonical secp256k1
s value, n / 2.
- ECRECOVER
- call_may_mutate_state π
- is_transparent_cast π
- negate_comparison π
- reverse_comparison π
- var_of π
- The variable an expression denotes, through parens and
uint256(..)/bytes32(..) casts.
- Pair π
- A place written by an assignment, paired with the expression it receives.