File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -874,7 +874,7 @@ private int numberOfOverlappingUses(MemoryLocation0 def) {
874874 * Holds if `def` is a busy definition. That is, it has a large number of
875875 * overlapping uses.
876876 */
877- private predicate isBusyDef ( MemoryLocation0 def ) { numberOfOverlappingUses ( def ) > 1024 }
877+ predicate isBusyDef ( MemoryLocation0 def ) { numberOfOverlappingUses ( def ) > 1024 }
878878
879879/** Holds if `use` is a use that overlaps with a busy definition. */
880880private predicate useOverlapWithBusyDef ( MemoryLocation0 use ) {
Original file line number Diff line number Diff line change @@ -143,3 +143,9 @@ int getStartBitOffset(MemoryLocation location) { none() }
143143
144144/** Gets the end bit offset of a `MemoryLocation`, if any. */
145145int getEndBitOffset ( MemoryLocation location ) { none ( ) }
146+
147+ /**
148+ * Holds if `def` is a busy definition. That is, it has a large number of
149+ * overlapping uses.
150+ */
151+ predicate isBusyDef ( MemoryLocation def ) { none ( ) }
You can’t perform that action at this time.
0 commit comments