CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds places where `None` is used as an index when storing to a collection

import python

from SubscriptNode store
where
  store.isStore() and
  store.getIndex().pointsTo(Value::named("None"))
select store