codeql icon indicating copy to clipboard operation
codeql copied to clipboard

Shared: cache getBasicBlock() as it is needed from BarrierGuards

Open asgerf opened this issue 1 year ago • 0 comments
trafficstars

BarrierGuards<> is instantiated on a per-query basis, so it shouldn't reference uncached predicates that could cause a cascade of re-evaluations. This is already enforced in most placces but it seems the call to getBasicBlock() slipped through the cracks.

asgerf avatar Sep 27 '24 09:09 asgerf