Skip to main content

    Deprecated experiments



    This feature was deprecated in Semgrep v0.61.0.

    Equivalences enable defining equivalent code patterns (i.e. a commutative property: $X + $Y <==> $Y + $X). Equivalence rules use the equivalences top-level key and one equivalence key for each equivalence.

    For example:

    Not finding what you need in this doc? Ask questions in our Community Slack group, or see Support for other ways to get help.