mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
10 lines
338 B
Plaintext
10 lines
338 B
Plaintext
import java
|
|
|
|
from Call call, Callable callable, int argCount, int paramCount
|
|
where
|
|
call.getCallee() = callable and
|
|
argCount = count(call.getAnArgument()) and
|
|
paramCount = count(callable.getAParameter()) and
|
|
argCount != paramCount
|
|
select "Call should have " + paramCount + " arguments but actually has " + argCount, call, callable
|