Function is_low_level_call

Source
fn is_low_level_call(expr: &Expr<'_>) -> bool
Expand description

Checks if an expression is a low-level call that should be checked.

Detects patterns like:

  • target.call(...)
  • target.delegatecall(...)
  • target.staticcall(...)
  • target.call{value: x}(...)