Dataflow perf investigations - #15444
Conversation
| } | ||
|
|
||
| pragma[nomagic] | ||
| private predicate isExactArgument(ArgumentNode arg, BasicBlock bb, Method m, ArgumentPosition apos) { |
Check warning
Code scanning / CodeQL
Dead code
| } | ||
|
|
||
| pragma[nomagic] | ||
| private predicate setsInstanceField(Field f, Node qualifier, BasicBlock bb) { |
Check warning
Code scanning / CodeQL
Dead code
| } | ||
|
|
||
| pragma[nomagic] | ||
| private predicate isInstanceFieldSetter(Method m, ArgumentPosition apos, Field f) { |
Check warning
Code scanning / CodeQL
Dead code
| ) | ||
| } | ||
|
|
||
| private predicate sdf(Field f, Class c) { |
Check warning
Code scanning / CodeQL
Dead code
| ) | ||
| } | ||
|
|
||
| /** A debug predicate for identifying the most busy node in forwards flow. */ |
Check warning
Code scanning / CodeQL
Predicate QLDoc style.
| ) | ||
| } | ||
|
|
||
| /** A debug predicate for identifying the most busy node in reverse flow. */ |
Check warning
Code scanning / CodeQL
Predicate QLDoc style.
b4b45d6 to
069406e
Compare
| pragma[nomagic] | ||
| private predicate fwdFlowConsCand(Typ t2, Ap cons, Content c, Typ t1, Ap tail) { | ||
| fwdFlowStore(_, t1, tail, c, t2, _, _, _, _, _, _) and | ||
| private predicate fwdFlowConsCandNoStrenght( |
Check warning
Code scanning / CodeQL
Misspelling
73da939 to
147f854
Compare
| pragma[nomagic] | ||
| additional predicate nodeMayFlowThrough(ParamNode p, Ap argAp, NodeEx node, Ap ap) { | ||
| // revFlow(node, _, TReturnCtxMaybeFlowThrough(_), _, ap) | ||
| exists(ApOption argApO, ReturnPosition pos, Ap returnAp, ApOption returnApO | |
Check warning
Code scanning / CodeQL
Omittable 'exists' variable
| result.asSummarizedCallable().getACall() = c.asCall() | ||
| } | ||
|
|
||
| private DataFlowCallable viableCallable(DataFlowCall c, int k) { |
Check warning
Code scanning / CodeQL
Dead code
| mayBenefitFromCallContext(call.asCall(), _, _) | ||
| } | ||
|
|
||
| private DataFlowCallable testviableImplInCallContext(DataFlowCall call, DataFlowCall ctx) { |
Check warning
Code scanning / CodeQL
Dead code
| } | ||
|
|
||
| pragma[nomagic] | ||
| private predicate foo(DataFlowCall call, DataFlowCall ctx1, DataFlowCall ctx2) { |
Check warning
Code scanning / CodeQL
Dead code
| ) | ||
| } | ||
|
|
||
| private DataFlowCallable testviableImplInCallContext( |
Check warning
Code scanning / CodeQL
Dead code
| erasedHaveIntersection(t1, t2) | ||
| } | ||
|
|
||
| private predicate sdef(DataFlowType t1, DataFlowType t2) { |
Check warning
Code scanning / CodeQL
Dead code
147f854 to
f8347e9
Compare
| sanitizer instanceof PathInjectionSanitizer | ||
| sanitizer instanceof PathInjectionSanitizer or | ||
| sanitizer.getLocation().getFile().getBaseName() = | ||
| [/*"BaseObject.java", "SimpleNode.java",*/ "Context.java"] |
Check warning
Code scanning / CodeQL
Singleton set literal
| result.asSummarizedCallable().getACall() = c.asCall() | ||
| } | ||
|
|
||
| private DataFlowCallable testviableCallable(DataFlowCall c) { |
Check warning
Code scanning / CodeQL
Dead code
| private module Stage3 = MkStage<Stage2_5>::Stage<Stage3Param>; | ||
|
|
||
| // private predicate mostBusyNodeFwd3 = Stage3::mostBusyNodeFwd/10; | ||
| private predicate mostBusyNodeFwd3_5 = Stage3_5::mostBusyNodeFwd/10; |
Check warning
Code scanning / CodeQL
Dead code
| private predicate mostBusyNodeFwd3_5 = Stage3_5::mostBusyNodeFwd/10; | ||
|
|
||
| // private predicate mostBusyNodeFwd4 = Stage4::mostBusyNodeFwd/10; | ||
| private predicate mostBusyNodeFwd5 = Stage5::mostBusyNodeFwd/10; |
Check warning
Code scanning / CodeQL
Dead code
| ArgTyp argT, Ap argAp, ApApprox argApa, Typ t, TypOption origT, Ap ap, ApApprox apa, | ||
| boolean allowsFieldFlow | ||
| ) { | ||
| exists(DataFlowCall call, RetNodeEx ret | |
Check warning
Code scanning / CodeQL
Omittable 'exists' variable
| ApApprox argApa, Typ t, TypOption origT, Ap ap, ApApprox apa, boolean allowsFieldFlow | ||
| ) { | ||
| exists(ReturnKindExt kind | | ||
| exists(DataFlowCall call, ReturnKindExt kind | |
Check warning
Code scanning / CodeQL
Omittable 'exists' variable
No description provided.