#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
#include "clang/StaticAnalyzer/Checkers/Taint.h"
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
usingnamespaceclang;
usingnamespaceento;
usingnamespacetaint;
namespace {
class TaintTesterChecker : public Checker<check::PostStmt<Expr>> { … };
}
void TaintTesterChecker::checkPostStmt(const Expr *E,
CheckerContext &C) const { … }
void ento::registerTaintTesterChecker(CheckerManager &mgr) { … }
bool ento::shouldRegisterTaintTesterChecker(const CheckerManager &mgr) { … }