mirror of
https://github.com/github/codeql.git
synced 2026-03-06 15:49:08 +01:00
17 lines
328 B
Plaintext
17 lines
328 B
Plaintext
import cpp
|
|
import semmle.code.cpp.pointsto.PointsTo
|
|
|
|
class ReportPT extends PointsToExpr
|
|
{
|
|
override predicate interesting() {
|
|
exists(FunctionCall report |
|
|
report.getTarget().hasName("report") and
|
|
report.getAnArgument() = this
|
|
)
|
|
}
|
|
}
|
|
|
|
from ReportPT report, Element loc
|
|
where report.pointsTo() = loc
|
|
select report, loc
|