mirror of
https://github.com/github/codeql.git
synced 2026-04-10 17:44:03 +02:00
17 lines
594 B
Plaintext
17 lines
594 B
Plaintext
private import cpp
|
|
private import semmle.code.cpp.ir.dataflow.FlowSteps
|
|
private import semmle.code.cpp.dataflow.new.DataFlow
|
|
|
|
/** The `CPathT` class from the Microsoft "Active Template Library". */
|
|
class CPathT extends Class {
|
|
CPathT() { this.hasQualifiedName("ATL", "CPathT") }
|
|
}
|
|
|
|
private class MStrPath extends Field {
|
|
MStrPath() { this.getDeclaringType() instanceof CPathT and this.hasName("m_strPath") }
|
|
}
|
|
|
|
private class MStrPathTaintInheritingContent extends TaintInheritingContent, DataFlow::FieldContent {
|
|
MStrPathTaintInheritingContent() { this.getField() instanceof MStrPath }
|
|
}
|