mirror of
https://github.com/securego/gosec.git
synced 2025-03-17 20:57:54 +02:00
This introduces a helper function that will significantly reduce the number of false positives that occur due to the use of regexp based call matching. It resolves the object related to a CallExpr and checks that against the supplied package and identifier name. If both of these match the returned value is the CallExpr and Object.