|
14 | 14 | * - Barriers: |
15 | 15 | * `package; type; subtypes; name; signature; ext; output; kind; provenance` |
16 | 16 | * - BarrierGuards: |
17 | | - * `package; type; subtypes; name; signature; ext; input; acceptingvalue; kind; provenance` |
| 17 | + * `package; type; subtypes; name; signature; ext; input; acceptingValue; kind; provenance` |
18 | 18 | * - Neutrals: |
19 | 19 | * `package; type; name; signature; kind; provenance` |
20 | 20 | * A neutral is used to indicate that a callable is neutral with respect to flow (no summary), source (is not a source) or sink (is not a sink). |
|
73 | 73 | * in the given range. The range is inclusive at both ends. |
74 | 74 | * - "ReturnValue": Selects the return value of a call to the selected element. |
75 | 75 | * - "Element": Selects the collection elements of the selected element. |
76 | | - * 8. The `acceptingvalue` column of barrier guard models specifies the condition |
| 76 | + * 8. The `acceptingValue` column of barrier guard models specifies the condition |
77 | 77 | * under which the guard blocks flow. It can be one of "true" or "false". In |
78 | 78 | * the future "no-exception", "not-zero", "null", "not-null" may be supported. |
79 | 79 | * 9. The `kind` column is a tag that can be referenced from QL to determine to |
@@ -365,11 +365,11 @@ module ModelValidation { |
365 | 365 | result = "Unrecognized provenance description \"" + provenance + "\" in " + pred + " model." |
366 | 366 | ) |
367 | 367 | or |
368 | | - exists(string acceptingvalue | |
369 | | - barrierGuardModel(_, _, _, _, _, _, _, acceptingvalue, _, _, _) and |
370 | | - invalidAcceptingValue(acceptingvalue) and |
| 368 | + exists(string acceptingValue | |
| 369 | + barrierGuardModel(_, _, _, _, _, _, _, acceptingValue, _, _, _) and |
| 370 | + invalidAcceptingValue(acceptingValue) and |
371 | 371 | result = |
372 | | - "Unrecognized accepting value description \"" + acceptingvalue + |
| 372 | + "Unrecognized accepting value description \"" + acceptingValue + |
373 | 373 | "\" in barrier guard model." |
374 | 374 | ) |
375 | 375 | } |
@@ -590,13 +590,13 @@ private module Cached { |
590 | 590 |
|
591 | 591 | private predicate barrierGuardChecks(Guard g, Expr e, GuardValue gv, TKindModelPair kmp) { |
592 | 592 | exists( |
593 | | - SourceSinkInterpretationInput::InterpretNode n, AcceptingValue acceptingvalue, string kind, |
| 593 | + SourceSinkInterpretationInput::InterpretNode n, AcceptingValue acceptingValue, string kind, |
594 | 594 | string model |
595 | 595 | | |
596 | | - isBarrierGuardNode(n, acceptingvalue, kind, model) and |
| 596 | + isBarrierGuardNode(n, acceptingValue, kind, model) and |
597 | 597 | n.asNode().asExpr() = e and |
598 | 598 | kmp = TMkPair(kind, model) and |
599 | | - gv = convertAcceptingValue(acceptingvalue) |
| 599 | + gv = convertAcceptingValue(acceptingValue) |
600 | 600 | | |
601 | 601 | g.(Call).getAnArgument() = e or g.(MethodCall).getQualifier() = e |
602 | 602 | ) |
|
0 commit comments