mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Simplify UntrustedSources interface methods
This commit is contained in:
@@ -68,11 +68,11 @@ private module CleverGo {
|
||||
)
|
||||
or
|
||||
// Interfaces of package: clevergo.tech/clevergo@v0.5.2
|
||||
exists(string methodName, Method mtd, FunctionOutput outp |
|
||||
this = outp.getExitNode(mtd.getACall())
|
||||
exists(string interfaceName, string methodName, Method mtd, FunctionOutput outp |
|
||||
this = outp.getExitNode(mtd.getACall()) and
|
||||
mtd.implements(packagePath(), interfaceName, methodName)
|
||||
|
|
||||
// Interface: Decoder
|
||||
mtd.implements(packagePath(), "Decoder", methodName) and
|
||||
interfaceName = "Decoder" and
|
||||
(
|
||||
// Method: func (Decoder).Decode(req *net/http.Request, v interface{}) error
|
||||
methodName = "Decode" and
|
||||
|
||||
Reference in New Issue
Block a user