Implement getACall suggestion.

This commit is contained in:
Taus
2019-01-29 17:59:45 +01:00
committed by GitHub
parent edd4468d08
commit 08fcb984a8

View File

@@ -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