Comparison with nil

Author: LGTM

import go

from DataFlow::EqualityTestNode eq, DataFlow::Node nd, DataFlow::Node nil
where
  nil = Builtin::nil().getARead() and
  eq.eq(_, nd, nil)
select eq

Description

Finds comparisons with nil.