Add note on why the zero is commented out in Lt32BitFlowConfig

This commit is contained in:
Slavomir
2020-05-12 13:06:11 +03:00
parent 623d5b3a97
commit e5e74f34d7

View File

@@ -144,6 +144,7 @@ class Lt32BitFlowConfig extends TaintTracking::Configuration, DataFlow::Configur
Lt32BitFlowConfig() { this = "Lt32BitFlowConfig" }
override predicate isSource(DataFlow::Node source) {
// NOTE: target bit size 0 is already addressed in Lt64BitFlowConfig.
exists(ParserCall call | call.getTargetBitSize() = [/*0,*/ 32] | source = call)
}