Fixes a number of issues:
- Global variables are not used for communication
- Trait should be defined on a graph, not on a node
- Defining the trait on a graph allows us to use a correct allocator, no longer crashing while printing trimmed graphs
Paths
| Differential D52183
[analyzer] ExplodedGraph printing fixes ClosedPublic Authored by george.karpenkov on Sep 17 2018, 12:16 PM.
Details Summary Fixes a number of issues:
Diff Detail
Event TimelineHerald added subscribers: Szelethus, mikhail.ramalho, a.sidorin and 3 others. · View Herald TranscriptSep 17 2018, 12:16 PM This revision is now accepted and ready to land.Sep 17 2018, 1:43 PM Closed by commit rL342413: [analyzer] ExplodedGraph printing fixes (authored by george.karpenkov). · Explain WhySep 17 2018, 1:48 PM Closed by commit rC342413: [analyzer] ExplodedGraph printing fixes (authored by george.karpenkov). · Explain Why This revision was automatically updated to reflect the committed changes. This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 165825 include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
lib/StaticAnalyzer/Core/Environment.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp
|