25class FixedAddressChecker
26 :
public Checker< check::PreStmt<BinaryOperator> > {
27 mutable std::unique_ptr<BuiltinBug> BT;
55 "Using a fixed address is not portable because that "
56 "address will probably not be valid in all "
57 "environments or platforms."));
59 std::make_unique<PathSensitiveBugReport>(*BT, BT->getDescription(), N);
61 C.emitReport(std::move(R));
69bool ento::shouldRegisterFixedAddressChecker(
const CheckerManager &mgr) {
A builtin binary operation expression such as "x + y" or "x <= y".
A (possibly-)qualified type.
SourceRange getSourceRange() const LLVM_READONLY
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpre...
bool isPointerType() const
CHECKER * registerChecker(AT &&... Args)
Used to register checkers.
SVal - This represents a symbolic expression, which can be either an L-value or an R-value.
bool isZeroConstant() const
@ C
Languages that the frontend can parse and compile.