Skip to content

Commit b156bd5

Browse files
committed
Guards: Rename predicate.
1 parent 0c31a80 commit b156bd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shared/controlflow/codeql/controlflow/Guards.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
901901
or
902902
exists(Guard g0, GuardValue v0 |
903903
guardControls(g0, v0, tgtGuard, tgtVal) and
904-
WrapperGuard::additionalImpliesStep(g0, v0, guard, v)
904+
WrapperGuard::wrapperImpliesStep(g0, v0, guard, v)
905905
)
906906
or
907907
exists(Guard g0, GuardValue v0 |
@@ -947,7 +947,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
947947
*/
948948
predicate nullGuard(Guard guard, GuardValue v, Expr e, boolean isNull) {
949949
impliesStep2(guard, v, e, any(GuardValue gv | gv.isNullness(isNull))) or
950-
WrapperGuard::additionalImpliesStep(guard, v, e, any(GuardValue gv | gv.isNullness(isNull))) or
950+
WrapperGuard::wrapperImpliesStep(guard, v, e, any(GuardValue gv | gv.isNullness(isNull))) or
951951
additionalImpliesStep(guard, v, e, any(GuardValue gv | gv.isNullness(isNull)))
952952
}
953953

@@ -1074,7 +1074,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
10741074
* This predicate covers the implication steps that arise from calls to
10751075
* custom guard wrappers.
10761076
*/
1077-
predicate additionalImpliesStep(PreGuard g1, GuardValue v1, PreGuard g2, GuardValue v2) {
1077+
predicate wrapperImpliesStep(PreGuard g1, GuardValue v1, PreGuard g2, GuardValue v2) {
10781078
exists(NonOverridableMethodCall call, ParameterPosition ppos, ArgumentPosition apos |
10791079
g1 = call and
10801080
call.getMethod() = customGuard(ppos, v1, v2) and

0 commit comments

Comments
 (0)