C++: Use the shortestDistances HOP to count indirections (rebased copy of #13323)
queries.xml
cpp/invalid-pointer-deref