Skip to main content

Module missing_zero_check

Module missing_zero_check 

Source

Structsยง

Analyzer ๐Ÿ”’
Tracks address-parameter taint, sinks reached, and guards observed in a function body.

Staticsยง

MISSING_ZERO_CHECK

Functionsยง

address_call_receiver ๐Ÿ”’
If callee is <receiver>.{call,delegatecall,transfer,send} (with or without call options), returns the <receiver> expression.
branch_always_exits ๐Ÿ”’
collect_modifier_guards ๐Ÿ”’
Maps each direct-ident modifier argument back to its caller-side parameter, runs the same guard analysis on the modifier body, and records any caller params whose mapped modifier parameter is guarded.
collect_taint_sources ๐Ÿ”’
is_address ๐Ÿ”’
is_address_state_var_lhs ๐Ÿ”’
is_entry_point ๐Ÿ”’
Externally callable, state-mutating functions and constructors.
is_require_or_assert ๐Ÿ”’
lhs_local_var ๐Ÿ”’
Returns the underlying local VariableId if lhs is a direct identifier reference to a non-state variable.