clang 23.0.0git
CheckerContext.h
Go to the documentation of this file.
1//== CheckerContext.h - Context info for path-sensitive checkers--*- C++ -*--=//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines CheckerContext that provides contextual info for
10// path-sensitive checkers.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_CHECKERCONTEXT_H
15#define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_CHECKERCONTEXT_H
16
19#include <optional>
20
21namespace clang {
22namespace ento {
23
25 ExprEngine &Eng;
26 /// The current exploded(symbolic execution) graph node.
27 ExplodedNode *Pred;
28 /// The flag is true if the (state of the execution) has been modified
29 /// by the checker using this context. For example, a new transition has been
30 /// added or a bug report issued.
31 bool Changed;
32 /// The tagged location, which is used to generate all new nodes.
33 const ProgramPoint Location;
34 NodeBuilder &NB;
35
36public:
37 /// If we are post visiting a call, this flag will be set if the
38 /// call was inlined. In all other cases it will be false.
39 const bool wasInlined;
40
42 ExprEngine &eng,
43 ExplodedNode *pred,
44 const ProgramPoint &loc,
45 bool wasInlined = false)
46 : Eng(eng),
47 Pred(pred),
48 Changed(false),
49 Location(loc),
50 NB(builder),
52 assert(Pred->getState() &&
53 "We should not call the checkers on an empty state.");
54 assert(loc.getTag() && "The ProgramPoint associated with CheckerContext "
55 "must be tagged with the active checker.");
56 }
57
59 return Eng.getAnalysisManager();
60 }
62 return Eng.getAnalysisManager();
63 }
64
66 return Eng.getConstraintManager();
67 }
69 return Eng.getConstraintManager();
70 }
71
73 return Eng.getStoreManager();
74 }
75 const StoreManager &getStoreManager() const { return Eng.getStoreManager(); }
76
77 /// Returns the previous node in the exploded graph, which includes
78 /// the state of the program before the checker ran. Note, checkers should
79 /// not retain the node in their state since the nodes might get invalidated.
80 ExplodedNode *getPredecessor() { return Pred; }
81 const ExplodedNode *getPredecessor() const { return Pred; }
82 const ProgramPoint getLocation() const { return Location; }
83 const ProgramStateRef &getState() const { return Pred->getState(); }
84
85 /// Check if the checker changed the state of the execution; ex: added
86 /// a new transition or a bug report.
87 bool isDifferent() { return Changed; }
88 bool isDifferent() const { return Changed; }
89
90 /// Returns the number of times the current block has been visited
91 /// along the analyzed path.
92 unsigned blockCount() const { return Eng.getNumVisitedCurrent(); }
93
95 return Eng.getContext();
96 }
97
98 const ASTContext &getASTContext() const { return Eng.getContext(); }
99
100 const LangOptions &getLangOpts() const {
101 return Eng.getContext().getLangOpts();
102 }
103
105 return Pred->getLocationContext();
106 }
107
109 return Pred->getStackFrame();
110 }
111
112 /// Return true if the current LocationContext has no caller context.
113 bool inTopFrame() const { return getLocationContext()->inTopFrame(); }
114
116 return Eng.getBugReporter();
117 }
118 const BugReporter &getBugReporter() const { return Eng.getBugReporter(); }
119
125 }
126
130 }
131
133 return Eng.getSValBuilder();
134 }
135 const SValBuilder &getSValBuilder() const { return Eng.getSValBuilder(); }
136
142 }
143
145 return Eng.getStateManager();
146 }
148 return Eng.getStateManager();
149 }
150
152 return Pred->getLocationContext()->getAnalysisDeclContext();
153 }
154
155 /// Get the blockID.
156 unsigned getBlockID() const { return Eng.getCurrBlock()->getBlockID(); }
157
158 /// If the given node corresponds to a PostStore program point,
159 /// retrieve the location region as it was uttered in the code.
160 ///
161 /// This utility can be useful for generating extensive diagnostics, for
162 /// example, for finding variables that the given symbol was assigned to.
164 ProgramPoint L = N->getLocation();
165 if (std::optional<PostStore> PSL = L.getAs<PostStore>())
166 return reinterpret_cast<const MemRegion*>(PSL->getLocationValue());
167 return nullptr;
168 }
169
170 /// Get the value of arbitrary expressions at this point in the path.
171 SVal getSVal(const Stmt *S) const {
172 return Pred->getSVal(S);
173 }
174
175 ConstCFGElementRef getCFGElementRef() const { return Eng.getCFGElementRef(); }
176
177 /// Returns true if the value of \p E is greater than or equal to \p
178 /// Val under unsigned comparison.
179 bool isGreaterOrEqual(const Expr *E, unsigned long long Val);
180
181 /// Returns true if the value of \p E is negative.
182 bool isNegative(const Expr *E);
183
184 /// Generates a new transition in the program state graph
185 /// (ExplodedGraph). Uses the default CheckerContext predecessor node.
186 ///
187 /// @param State The state of the generated node. If not specified, the state
188 /// will not be changed, but the new node will have the checker's tag.
189 /// @param Tag The tag is used to uniquely identify the creation site. If no
190 /// tag is specified, a default tag, unique to the given checker,
191 /// will be used. Tags are used to prevent states generated at
192 /// different sites from caching out.
193 /// NOTE: If the State is unchanged and the Tag is nullptr, this may return a
194 /// node which is not tagged (instead of using the default tag corresponding
195 /// to the active checker). This is arguably a bug and should be fixed.
197 const ProgramPointTag *Tag = nullptr) {
198 return addTransitionImpl(State ? State : getState(), false, nullptr, Tag);
199 }
200
201 /// Generates a new transition with the given predecessor.
202 /// Allows checkers to generate a chain of nodes.
203 ///
204 /// @param State The state of the generated node.
205 /// @param Pred The transition will be generated from the specified Pred node
206 /// to the newly generated node.
207 /// @param Tag The tag to uniquely identify the creation site.
208 /// NOTE: If the State is unchanged and the Tag is nullptr, this may return a
209 /// node which is not tagged (instead of using the default tag corresponding
210 /// to the active checker). This is arguably a bug and should be fixed.
212 const ProgramPointTag *Tag = nullptr) {
213 return addTransitionImpl(State, false, Pred, Tag);
214 }
215
216 /// Generate a sink node. Generating a sink stops exploration of the
217 /// given path. To create a sink node for the purpose of reporting an error,
218 /// checkers should use generateErrorNode() instead.
220 const ProgramPointTag *Tag = nullptr) {
221 return addTransitionImpl(State ? State : getState(), true, Pred, Tag);
222 }
223
224 /// Add a sink node to the current path of execution, halting analysis.
225 void addSink(ProgramStateRef State = nullptr,
226 const ProgramPointTag *Tag = nullptr) {
227 if (!State)
228 State = getState();
229 addTransition(State, generateSink(State, getPredecessor()));
230 }
231
232 /// Generate a transition to a node that will be used to report
233 /// an error. This node will be a sink. That is, it will stop exploration of
234 /// the given path.
235 ///
236 /// @param State The state of the generated node.
237 /// @param Tag The tag to uniquely identify the creation site. If null,
238 /// the default tag for the checker will be used.
240 const ProgramPointTag *Tag = nullptr) {
241 return generateSink(State, Pred,
242 (Tag ? Tag : Location.getTag()));
243 }
244
245 /// Generate a transition to a node that will be used to report
246 /// an error. This node will be a sink. That is, it will stop exploration of
247 /// the given path.
248 ///
249 /// @param State The state of the generated node.
250 /// @param Pred The transition will be generated from the specified Pred node
251 /// to the newly generated node.
252 /// @param Tag The tag to uniquely identify the creation site. If null,
253 /// the default tag for the checker will be used.
255 ExplodedNode *Pred,
256 const ProgramPointTag *Tag = nullptr) {
257 return generateSink(State, Pred,
258 (Tag ? Tag : Location.getTag()));
259 }
260
261 /// Generate a transition to a node that will be used to report
262 /// an error. This node will not be a sink. That is, exploration will
263 /// continue along this path.
264 ///
265 /// @param State The state of the generated node.
266 /// @param Tag The tag to uniquely identify the creation site. If null,
267 /// the default tag for the checker will be used.
270 const ProgramPointTag *Tag = nullptr) {
271 return addTransition(State, (Tag ? Tag : Location.getTag()));
272 }
273
274 /// Generate a transition to a node that will be used to report
275 /// an error. This node will not be a sink. That is, exploration will
276 /// continue along this path.
277 ///
278 /// @param State The state of the generated node.
279 /// @param Pred The transition will be generated from the specified Pred node
280 /// to the newly generated node.
281 /// @param Tag The tag to uniquely identify the creation site. If null,
282 /// the default tag for the checker will be used.
285 ExplodedNode *Pred,
286 const ProgramPointTag *Tag = nullptr) {
287 return addTransition(State, Pred, (Tag ? Tag : Location.getTag()));
288 }
289
290 /// Emit the diagnostics report.
291 void emitReport(std::unique_ptr<BugReport> R) {
292 Changed = true;
293 Eng.getBugReporter().emitReport(std::move(R));
294 }
295
296 /// Produce a program point tag that displays an additional path note
297 /// to the user. This is a lightweight alternative to the
298 /// BugReporterVisitor mechanism: instead of visiting the bug report
299 /// node-by-node to restore the sequence of events that led to discovering
300 /// a bug, you can add notes as you add your transitions.
301 ///
302 /// @param Cb Callback with 'BugReporterContext &, BugReport &' parameters.
303 /// @param IsPrunable Whether the note is prunable. It allows BugReporter
304 /// to omit the note from the report if it would make the displayed
305 /// bug path significantly shorter.
306 LLVM_ATTRIBUTE_RETURNS_NONNULL
307 const NoteTag *getNoteTag(NoteTag::Callback &&Cb, bool IsPrunable = false) {
308 return Eng.getDataTags().make<NoteTag>(std::move(Cb), IsPrunable);
309 }
310
311 /// A shorthand version of getNoteTag that doesn't require you to accept
312 /// the 'BugReporterContext' argument when you don't need it.
313 ///
314 /// @param Cb Callback only with 'BugReport &' parameter.
315 /// @param IsPrunable Whether the note is prunable. It allows BugReporter
316 /// to omit the note from the report if it would make the displayed
317 /// bug path significantly shorter.
318 const NoteTag
320 bool IsPrunable = false) {
321 return getNoteTag(
322 [Cb](BugReporterContext &,
323 PathSensitiveBugReport &BR) { return Cb(BR); },
324 IsPrunable);
325 }
326
327 /// A shorthand version of getNoteTag that doesn't require you to accept
328 /// the arguments when you don't need it.
329 ///
330 /// @param Cb Callback without parameters.
331 /// @param IsPrunable Whether the note is prunable. It allows BugReporter
332 /// to omit the note from the report if it would make the displayed
333 /// bug path significantly shorter.
334 const NoteTag *getNoteTag(std::function<std::string()> &&Cb,
335 bool IsPrunable = false) {
336 return getNoteTag([Cb](BugReporterContext &,
337 PathSensitiveBugReport &) { return Cb(); },
338 IsPrunable);
339 }
340
341 /// A shorthand version of getNoteTag that accepts a plain note.
342 ///
343 /// @param Note The note.
344 /// @param IsPrunable Whether the note is prunable. It allows BugReporter
345 /// to omit the note from the report if it would make the displayed
346 /// bug path significantly shorter.
347 const NoteTag *getNoteTag(StringRef Note, bool IsPrunable = false) {
348 return getNoteTag(
349 [Note = std::string(Note)](BugReporterContext &,
350 PathSensitiveBugReport &) { return Note; },
351 IsPrunable);
352 }
353
354 /// A shorthand version of getNoteTag that accepts a lambda with stream for
355 /// note.
356 ///
357 /// @param Cb Callback with 'BugReport &' and 'llvm::raw_ostream &'.
358 /// @param IsPrunable Whether the note is prunable. It allows BugReporter
359 /// to omit the note from the report if it would make the displayed
360 /// bug path significantly shorter.
362 std::function<void(PathSensitiveBugReport &BR, llvm::raw_ostream &OS)> &&Cb,
363 bool IsPrunable = false) {
364 return getNoteTag(
365 [Cb](PathSensitiveBugReport &BR) -> std::string {
367 llvm::raw_svector_ostream OS(Str);
368 Cb(BR, OS);
369 return std::string(OS.str());
370 },
371 IsPrunable);
372 }
373
374 /// Returns the word that should be used to refer to the declaration
375 /// in the report.
376 StringRef getDeclDescription(const Decl *D);
377
378 /// Get the declaration of the called function (path-sensitive).
379 const FunctionDecl *getCalleeDecl(const CallExpr *CE) const;
380
381 /// Get the name of the called function (path-sensitive).
382 StringRef getCalleeName(const FunctionDecl *FunDecl) const;
383
384 /// Get the identifier of the called function (path-sensitive).
386 const FunctionDecl *FunDecl = getCalleeDecl(CE);
387 if (FunDecl)
388 return FunDecl->getIdentifier();
389 else
390 return nullptr;
391 }
392
393 /// Get the name of the called function (path-sensitive).
394 StringRef getCalleeName(const CallExpr *CE) const {
395 const FunctionDecl *FunDecl = getCalleeDecl(CE);
396 return getCalleeName(FunDecl);
397 }
398
399 /// Returns true if the given function is an externally-visible function in
400 /// the top-level namespace, such as \c malloc.
401 ///
402 /// If a name is provided, the function must additionally match the given
403 /// name.
404 ///
405 /// Note that this also accepts functions from the \c std namespace (because
406 /// headers like <cstdlib> declare them there) and does not check if the
407 /// function is declared as 'extern "C"' or if it uses C++ name mangling.
408 static bool isCLibraryFunction(const FunctionDecl *FD,
409 StringRef Name = StringRef());
410
411 /// In builds that use source hardening (-D_FORTIFY_SOURCE), many standard
412 /// functions are implemented as macros that expand to calls of hardened
413 /// functions that take additional arguments compared to the "usual"
414 /// variant and perform additional input validation. For example, a `memcpy`
415 /// call may expand to `__memcpy_chk()` or `__builtin___memcpy_chk()`.
416 ///
417 /// This method returns true if `FD` declares a fortified variant of the
418 /// standard library function `Name`.
419 ///
420 /// NOTE: This method relies on heuristics; extend it if you need to handle a
421 /// hardened variant that's not yet covered by it.
422 static bool isHardenedVariantOf(const FunctionDecl *FD, StringRef Name);
423
424 /// Depending on whether the location corresponds to a macro, return
425 /// either the macro name or the token spelling.
426 ///
427 /// This could be useful when checkers' logic depends on whether a function
428 /// is called with a given macro argument. For example:
429 /// s = socket(AF_INET,..)
430 /// If AF_INET is a macro, the result should be treated as a source of taint.
431 ///
432 /// \sa clang::Lexer::getSpelling(), clang::Lexer::getImmediateMacroName().
434
435private:
436 ExplodedNode *addTransitionImpl(ProgramStateRef State,
437 bool MarkAsSink,
438 ExplodedNode *P = nullptr,
439 const ProgramPointTag *Tag = nullptr) {
440 // The analyzer may stop exploring if it sees a state it has previously
441 // visited ("cache out"). The early return here is a defensive check to
442 // prevent accidental caching out by checker API clients. Unless there is a
443 // tag or the client checker has requested that the generated node be
444 // marked as a sink, we assume that a client requesting a transition to a
445 // state that is the same as the predecessor state has made a mistake. We
446 // return the predecessor rather than cache out.
447 //
448 // TODO: We could potentially change the return to an assertion to alert
449 // clients to their mistake, but several checkers (including
450 // DereferenceChecker, CallAndMessageChecker, and DynamicTypePropagation)
451 // rely upon the defensive behavior and would need to be updated.
452 if (!State || (State == Pred->getState() && !Tag && !MarkAsSink))
453 return Pred;
454
455 Changed = true;
456 const ProgramPoint &LocalLoc = (Tag ? Location.withTag(Tag) : Location);
457 if (!P)
458 P = Pred;
459
460 ExplodedNode *node;
461 if (MarkAsSink)
462 node = NB.generateSink(LocalLoc, State, P);
463 else
464 node = NB.generateNode(LocalLoc, State, P);
465 return node;
466 }
467};
468
469} // end GR namespace
470
471} // end clang namespace
472
473#endif
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
Definition ASTContext.h:226
AnalysisDeclContext contains the context data for the function, method or block under analysis.
CallExpr - Represents a function call (C99 6.5.2.2, C++ [expr.call]).
Definition Expr.h:2946
Decl - This represents one declaration (or definition), e.g.
Definition DeclBase.h:86
This represents one expression.
Definition Expr.h:112
Represents a function declaration or definition.
Definition Decl.h:2015
One of these records is kept for each identifier that is lexed.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
It wraps the AnalysisDeclContext to represent both the call stack with the help of StackFrameContext ...
const StackFrameContext * getStackFrame() const
virtual bool inTopFrame() const
IdentifierInfo * getIdentifier() const
Get the identifier that names this declaration, if there is one.
Definition Decl.h:295
Represents a program point after a store evaluation.
Engages in a tight little dance with the lexer to efficiently preprocess tokens.
ProgramPoints can be "tagged" as representing points specific to a given analysis entity.
std::optional< T > getAs() const
Convert to the specified ProgramPoint type, returning std::nullopt if this ProgramPoint is not of the...
Encodes a location in the source.
This class handles loading and caching of source files into memory.
It represents a stack frame of the call stack (based on CallEvent).
Stmt - This represents one statement.
Definition Stmt.h:86
BugReporter is a utility class for generating PathDiagnostics for analysis.
Preprocessor & getPreprocessor()
const SourceManager & getSourceManager()
ExplodedNode * getPredecessor()
Returns the previous node in the exploded graph, which includes the state of the program before the c...
ExplodedNode * generateErrorNode(ProgramStateRef State, ExplodedNode *Pred, const ProgramPointTag *Tag=nullptr)
Generate a transition to a node that will be used to report an error.
const IdentifierInfo * getCalleeIdentifier(const CallExpr *CE) const
Get the identifier of the called function (path-sensitive).
static const MemRegion * getLocationRegionIfPostStore(const ExplodedNode *N)
If the given node corresponds to a PostStore program point, retrieve the location region as it was ut...
SymbolManager & getSymbolManager()
StringRef getDeclDescription(const Decl *D)
Returns the word that should be used to refer to the declaration in the report.
Preprocessor & getPreprocessor()
unsigned blockCount() const
Returns the number of times the current block has been visited along the analyzed path.
ExplodedNode * generateSink(ProgramStateRef State, ExplodedNode *Pred, const ProgramPointTag *Tag=nullptr)
Generate a sink node.
const SourceManager & getSourceManager()
CheckerContext(NodeBuilder &builder, ExprEngine &eng, ExplodedNode *pred, const ProgramPoint &loc, bool wasInlined=false)
const NoteTag * getNoteTag(std::function< std::string()> &&Cb, bool IsPrunable=false)
A shorthand version of getNoteTag that doesn't require you to accept the arguments when you don't nee...
StringRef getCalleeName(const FunctionDecl *FunDecl) const
Get the name of the called function (path-sensitive).
const NoteTag * getNoteTag(StringRef Note, bool IsPrunable=false)
A shorthand version of getNoteTag that accepts a plain note.
const ExplodedNode * getPredecessor() const
const SourceManager & getSourceManager() const
const StackFrameContext * getStackFrame() const
StringRef getCalleeName(const CallExpr *CE) const
Get the name of the called function (path-sensitive).
const ProgramStateRef & getState() const
ExplodedNode * addTransition(ProgramStateRef State=nullptr, const ProgramPointTag *Tag=nullptr)
Generates a new transition in the program state graph (ExplodedGraph).
ConstraintManager & getConstraintManager()
SVal getSVal(const Stmt *S) const
Get the value of arbitrary expressions at this point in the path.
bool isDifferent()
Check if the checker changed the state of the execution; ex: added a new transition or a bug report.
ExplodedNode * addTransition(ProgramStateRef State, ExplodedNode *Pred, const ProgramPointTag *Tag=nullptr)
Generates a new transition with the given predecessor.
bool isNegative(const Expr *E)
Returns true if the value of E is negative.
const Preprocessor & getPreprocessor() const
const SValBuilder & getSValBuilder() const
AnalysisDeclContext * getCurrentAnalysisDeclContext() const
bool isGreaterOrEqual(const Expr *E, unsigned long long Val)
Returns true if the value of E is greater than or equal to Val under unsigned comparison.
const ProgramPoint getLocation() const
static bool isCLibraryFunction(const FunctionDecl *FD, StringRef Name=StringRef())
Returns true if the given function is an externally-visible function in the top-level namespace,...
ExplodedNode * generateNonFatalErrorNode(ProgramStateRef State=nullptr, const ProgramPointTag *Tag=nullptr)
Generate a transition to a node that will be used to report an error.
LLVM_ATTRIBUTE_RETURNS_NONNULL const NoteTag * getNoteTag(NoteTag::Callback &&Cb, bool IsPrunable=false)
Produce a program point tag that displays an additional path note to the user.
const ASTContext & getASTContext() const
ConstCFGElementRef getCFGElementRef() const
AnalysisManager & getAnalysisManager()
ExplodedNode * generateErrorNode(ProgramStateRef State=nullptr, const ProgramPointTag *Tag=nullptr)
Generate a transition to a node that will be used to report an error.
const FunctionDecl * getCalleeDecl(const CallExpr *CE) const
Get the declaration of the called function (path-sensitive).
void addSink(ProgramStateRef State=nullptr, const ProgramPointTag *Tag=nullptr)
Add a sink node to the current path of execution, halting analysis.
const SymbolManager & getSymbolManager() const
const NoteTag * getNoteTag(std::function< void(PathSensitiveBugReport &BR, llvm::raw_ostream &OS)> &&Cb, bool IsPrunable=false)
A shorthand version of getNoteTag that accepts a lambda with stream for note.
ProgramStateManager & getStateManager()
const ProgramStateManager & getStateManager() const
const StoreManager & getStoreManager() const
StringRef getMacroNameOrSpelling(SourceLocation &Loc)
Depending on whether the location corresponds to a macro, return either the macro name or the token s...
const LangOptions & getLangOpts() const
const BugReporter & getBugReporter() const
bool inTopFrame() const
Return true if the current LocationContext has no caller context.
const ConstraintManager & getConstraintManager() const
const LocationContext * getLocationContext() const
const bool wasInlined
If we are post visiting a call, this flag will be set if the call was inlined.
ExplodedNode * generateNonFatalErrorNode(ProgramStateRef State, ExplodedNode *Pred, const ProgramPointTag *Tag=nullptr)
Generate a transition to a node that will be used to report an error.
StoreManager & getStoreManager()
const NoteTag * getNoteTag(std::function< std::string(PathSensitiveBugReport &)> &&Cb, bool IsPrunable=false)
A shorthand version of getNoteTag that doesn't require you to accept the 'BugReporterContext' argumen...
const AnalysisManager & getAnalysisManager() const
static bool isHardenedVariantOf(const FunctionDecl *FD, StringRef Name)
In builds that use source hardening (-D_FORTIFY_SOURCE), many standard functions are implemented as m...
void emitReport(std::unique_ptr< BugReport > R)
Emit the diagnostics report.
unsigned getBlockID() const
Get the blockID.
const ProgramStateRef & getState() const
ProgramPoint getLocation() const
getLocation - Returns the edge associated with the given node.
MemRegion - The root abstract class for all memory regions.
Definition MemRegion.h:98
This is the simplest builder which generates nodes in the ExplodedGraph.
Definition CoreEngine.h:245
ExplodedNode * generateNode(const ProgramPoint &PP, ProgramStateRef State, ExplodedNode *Pred, bool MarkAsSink=false)
Generates a node in the ExplodedGraph.
ExplodedNode * generateSink(const ProgramPoint &PP, ProgramStateRef State, ExplodedNode *Pred)
Generates a sink in the ExplodedGraph.
Definition CoreEngine.h:280
The tag upon which the TagVisitor reacts.
std::function< std::string(BugReporterContext &, PathSensitiveBugReport &)> Callback
SymbolManager & getSymbolManager()
SVal - This represents a symbolic expression, which can be either an L-value or an R-value.
Definition SVals.h:56
IntrusiveRefCntPtr< const ProgramState > ProgramStateRef
@ OS
Indicates that the tracking object is a descendant of a referenced-counted OSObject,...
The JSON file list parser is used to communicate input to InstallAPI.
CFGBlock::ConstCFGElementRef ConstCFGElementRef
Definition CFG.h:1227
int const char * function
Definition c++config.h:31
#define false
Definition stdbool.h:26