llvm-project/clang/test/Analysis/exploded-graph-rewriter
Artem Dergachev 9289681ea3 [analyzer] exploded-graph-rewriter: Implement manual graph trimming.
When -trim-egraph is unavailable (say, when you're debugging a crash on
a real-world code that takes too long to reduce), it makes sense to view
the untrimmed graph up to the crashing node's predecessor, then dump the ID
(or a pointer) of the node in the attached debugger, and then trim
the dumped graph in order to keep only paths from the root to the node.

The newly added --to flag does exactly that:

$ exploded-graph-rewriter.py ExprEngine.dot --to 0x12229acd0

Multiple nodes can be specified. Stable IDs of nodes can be used
instead of pointers.

Differential Revision: https://reviews.llvm.org/D65345

llvm-svn: 368768
2019-08-13 23:04:53 +00:00
..
checker_messages.dot [analyzer] exploded-graph-rewriter: Implement bug nodes and sink nodes. 2019-07-03 01:26:41 +00:00
checker_messages_diff.dot [analyzer] exploded-graph-rewriter: Implement bug nodes and sink nodes. 2019-07-03 01:26:41 +00:00
constraints.dot [analyzer] exploded-graph-rewriter: Implement bug nodes and sink nodes. 2019-07-03 01:26:41 +00:00
constraints_diff.dot [analyzer] exploded-graph-rewriter: Implement bug nodes and sink nodes. 2019-07-03 01:26:41 +00:00
dynamic_types.cpp [analyzer] exploded-graph-rewriter: NFC: Add a forgotten test file. 2019-07-01 23:06:08 +00:00
edge.dot [analyzer] exploded-graph-rewriter: Implement bug nodes and sink nodes. 2019-07-03 01:26:41 +00:00
empty.dot [analyzer] exploded-graph-rewriter: Implement a dark color scheme. 2019-07-02 02:17:56 +00:00
environment.dot [analyzer] exploded-graph-rewriter: Improve source location dumps. 2019-07-12 02:10:33 +00:00
environment_diff.dot [analyzer] exploded-graph-rewriter: Improve source location dumps. 2019-07-12 02:10:33 +00:00
escapes.c [analyzer] exploded-graph-rewriter: Improve program point dumps. 2019-07-02 02:17:53 +00:00
initializers_under_construction.cpp [analyzer] exploded-graph-rewriter: Add support for objects under construction. 2019-07-02 02:17:50 +00:00
lit.local.cfg [analyzer] exploded-graph-rewriter: Open the converted graph immediately. 2019-08-13 23:04:47 +00:00
macros.c [analyzer] exploded-graph-rewriter: Improve source location dumps. 2019-07-12 02:10:33 +00:00
node_labels.dot [analyzer] exploded-graph-rewriter: Implement a black-and-white color scheme. 2019-07-03 20:48:23 +00:00
objects_under_construction.cpp [analyzer] exploded-graph-rewriter: Implement a dark color scheme. 2019-07-02 02:17:56 +00:00
program_points.dot [analyzer] exploded-graph-rewriter: Improve source location dumps. 2019-07-12 02:10:33 +00:00
store.dot [analyzer] exploded-graph-rewriter: Implement bug nodes and sink nodes. 2019-07-03 01:26:41 +00:00
store_diff.dot [analyzer] exploded-graph-rewriter: Implement bug nodes and sink nodes. 2019-07-03 01:26:41 +00:00
topology.dot [analyzer] exploded-graph-rewriter: Implement a topology-only mode. 2019-07-08 23:54:14 +00:00
trimmers.dot [analyzer] exploded-graph-rewriter: Implement manual graph trimming. 2019-08-13 23:04:53 +00:00