mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Implement getACall suggestion.
This commit is contained in:
@@ -27,5 +27,5 @@ FunctionObject temporary_name_function(string mod, string function) {
|
||||
|
||||
from CallNode c, string mod, string function
|
||||
where
|
||||
c.getFunction().refersTo(temporary_name_function(mod, function))
|
||||
temporary_name_function(mod, function).getACall() = c
|
||||
select c, "Call to deprecated function $@.$@ may be insecure.", mod, function
|
||||
|
||||
Reference in New Issue
Block a user