mirror of
https://github.com/github/codeql.git
synced 2025-12-24 12:46:34 +01:00
Java: add models from core version 4; resolve conflict
This commit is contained in:
@@ -3,4 +3,4 @@ extensions:
|
||||
pack: codeql/java-all
|
||||
extensible: sinkModel
|
||||
data:
|
||||
- ["org.apache.hc.core5.benchmark", "Builder", True, "setUri", "", "", "Argument[0]", "%-url", "manual"] # ! maybe step instead
|
||||
- ["org.apache.hc.core5.benchmark", "Builder", True, "setUri", "", "", "Argument[0]", "%-url", "manual"] # ! maybe step instead; also check docs again, name should be BenchmarkConfig$Builder instead I believe
|
||||
|
||||
6
java/ql/lib/ext/org.apache.http.benchmark.model.yml
Normal file
6
java/ql/lib/ext/org.apache.http.benchmark.model.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: codeql/java-all
|
||||
extensible: sinkModel
|
||||
data:
|
||||
- ["org.apache.http.benchmark", "Config", True, "setUrl", "", "", "Argument[0]", "%-url", "manual"] # ! maybe step instead; also check docs again, name should be <something>$Config instead I think
|
||||
6
java/ql/lib/ext/org.apache.http.impl.model.yml
Normal file
6
java/ql/lib/ext/org.apache.http.impl.model.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
extensions:
|
||||
- addsTo:
|
||||
pack: codeql/java-all
|
||||
extensible: sinkModel
|
||||
data:
|
||||
- ["org.apache.http.impl", "DefaultHttpRequestFactory", True, "newHttpRequest", "(String,String)", "", "Argument[1]", "%-url", "manual"]
|
||||
@@ -9,6 +9,7 @@ extensions:
|
||||
pack: codeql/java-all
|
||||
extensible: sinkModel
|
||||
data:
|
||||
- ["org.apache.http", "HttpRequestFactory", True, "newHttpRequest", "(String,String)", "", "Argument[1]", "%-url", "manual"]
|
||||
- ["org.apache.http", "HttpResponse", True, "setEntity", "(HttpEntity)", "", "Argument[0]", "xss", "manual"]
|
||||
- addsTo:
|
||||
pack: codeql/java-all
|
||||
|
||||
Reference in New Issue
Block a user