#include "AllocationState.h"
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.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/CallDescription.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h"
usingnamespaceclang;
usingnamespaceento;
namespace {
class PutenvStackArrayChecker : public Checker<check::PostCall> { … };
}
void PutenvStackArrayChecker::checkPostCall(const CallEvent &Call,
CheckerContext &C) const { … }
void ento::registerPutenvStackArray(CheckerManager &Mgr) { … }
bool ento::shouldRegisterPutenvStackArray(const CheckerManager &) { … }