Skip to main content
Module uninitialized_state_variables
forge_
lint
1.8.4
Module uninitialized_
state_
variables
Module Items
Structs
Statics
Functions
Type Aliases
In forge_
lint::
sol::
med
forge_lint
::
sol
::
med
Module
uninitialized_
state_
variables
Copy item path
Source
Structs
Β§
Collector
π
Statics
Β§
UNINITIALIZED_
STATE_
VARIABLES
Functions
Β§
is_
local_
storage_
var
π
is_
storage_
pointer
π
A bare local
storage
pointer.
root_
vars
π
The variables an expression is rooted in, through indexing, member access and ternaries.
storage_
aliases
π
Collects, flow-insensitively, the state variables each local
storage
pointer declared in
func
may reference: every assignment contributes to the pointerβs target set, and pointers assigned from other pointers are resolved transitively.
Type Aliases
Β§
Aliases
π
Maps local
storage
pointers to the state variables they may reference.