We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8d0033 commit b1bf2a2Copy full SHA for b1bf2a2
go/ql/lib/semmle/go/Concepts.qll
@@ -356,10 +356,9 @@ module RegexpReplaceFunction {
356
*/
357
class LoggerCall extends DataFlow::Node instanceof LoggerCall::Range {
358
/**
359
- * Gets a node that is a part of the logged message.
360
- *
361
- * Exclude components corresponding to the format specifier "%T" as this
362
- * prints the type of the argument, which is not considered vulnerable.
+ * Gets a node whose value is a part of the logged message. Note that
+ * components corresponding to the format specifier "%T" are excluded as
+ * their type is logged rather than their value.
363
364
DataFlow::Node getAMessageComponent() {
365
result = super.getAMessageComponent() and
0 commit comments