#
ab758ba1 |
| 03-Jul-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Implement bug nodes and sink nodes.
Add a label to nodes that have a bug report attached or on which the analysis was generally interrupted.
Fix printing has_rep
[analyzer] exploded-graph-rewriter: Implement bug nodes and sink nodes.
Add a label to nodes that have a bug report attached or on which the analysis was generally interrupted.
Fix printing has_report and implement printing is_sink in the graph dumper.
Differential Revision: https://reviews.llvm.org/D64110
llvm-svn: 364992
show more ...
|
#
5fcf92e1 |
| 03-Jul-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: NFC: Add more comments.
llvm-svn: 364991
|
#
48a5c83a |
| 03-Jul-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Collapse very long statement pretty-prints.
When printing various statements that include braces (compound statements, lambda expressions, statement-expressions,
[analyzer] exploded-graph-rewriter: Collapse very long statement pretty-prints.
When printing various statements that include braces (compound statements, lambda expressions, statement-expressions, etc.), replace the code between braces with '...'.
Differential Revision: https://reviews.llvm.org/D64104
llvm-svn: 364990
show more ...
|
#
deb7accb |
| 03-Jul-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Implement checker messages.
They are displayed as raw lines and diffed via difflib on a per-checker basis.
Differential Revision: https://reviews.llvm.org/D64100
[analyzer] exploded-graph-rewriter: Implement checker messages.
They are displayed as raw lines and diffed via difflib on a per-checker basis.
Differential Revision: https://reviews.llvm.org/D64100
llvm-svn: 364989
show more ...
|
#
ad38e58e |
| 02-Jul-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Implement a dark color scheme.
Addresses a popular request. Activated via --dark.
Differential Revision: https://reviews.llvm.org/D64056
llvm-svn: 364882
|
#
2ca53557 |
| 02-Jul-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Improve program point dumps.
- Take advantage of the stmt_point_kind. - Dump block IDs for BlockEntrance nodes. - Don't dump huge compound statements on PurgeDead
[analyzer] exploded-graph-rewriter: Improve program point dumps.
- Take advantage of the stmt_point_kind. - Dump block IDs for BlockEntrance nodes. - Don't dump huge compound statements on PurgeDeadSymbols nodes. - Rename Edge to BlockEdge for consistency. - Tweak colors.
Differential Revision: https://reviews.llvm.org/D64051
llvm-svn: 364881
show more ...
|
#
0a77d919 |
| 02-Jul-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Add support for objects under construction.
This trait is Environment-like, so there was a chance to re-use a lot of code.
Differential Revision: https://reviews
[analyzer] exploded-graph-rewriter: Add support for objects under construction.
This trait is Environment-like, so there was a chance to re-use a lot of code.
Differential Revision: https://reviews.llvm.org/D64047
llvm-svn: 364880
show more ...
|
#
02f91ddf |
| 01-Jul-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Add support for dynamic types.
Slightly cleanup emission of horizontal lines and unhardcode the title for generic maps.
Differential Revision: https://reviews.ll
[analyzer] exploded-graph-rewriter: Add support for dynamic types.
Slightly cleanup emission of horizontal lines and unhardcode the title for generic maps.
Differential Revision: https://reviews.llvm.org/D64041
llvm-svn: 364865
show more ...
|
#
5a72338b |
| 01-Jul-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Implement program point tags.
Keep them on a separate line for more visibility.
Differential Revision: https://reviews.llvm.org/D63965
llvm-svn: 364864
|
Revision tags: llvmorg-8.0.1-rc3 |
|
#
628f36ff |
| 26-Jun-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Prettier location context dumps.
Make them span wider.
llvm-svn: 364365
|
#
0cdd13c0 |
| 25-Jun-2019 |
Csaba Dabis <dabis.csaba98@gmail.com> |
[analyzer] print() JSONify: Create pointers
Summary: -
Reviewers: NoQ
Reviewed By: NoQ
Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, dona
[analyzer] print() JSONify: Create pointers
Summary: -
Reviewers: NoQ
Reviewed By: NoQ
Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D63726
llvm-svn: 364271
show more ...
|
#
14f4de9b |
| 25-Jun-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Fix escaping for bitwise-or.
'|' is a special character in graphviz, so it needs to be properly escaped and unescaped.
llvm-svn: 364269
|
#
beb85ad6 |
| 25-Jun-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Add support for range constraints.
Diff support included.
A cheap solution is implemented that treats range constraints as "some sort of key-value map", so it's
[analyzer] exploded-graph-rewriter: Add support for range constraints.
Diff support included.
A cheap solution is implemented that treats range constraints as "some sort of key-value map", so it's going to be trivial to add support for other such maps later, such as dynamic type info.
Differential Revision: https://reviews.llvm.org/D63685
llvm-svn: 364268
show more ...
|
#
b9c94f94 |
| 25-Jun-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] NFC: exploded-graph-rewriter: Extract some code into functions.
Differential Revision: https://reviews.llvm.org/D63684
llvm-svn: 364267
|
#
5740e77f |
| 19-Jun-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Implement a --diff mode.
In this mode the tool would avoid duplicating the contents of the program state on every node, replacing them with a diff-like dump of ch
[analyzer] exploded-graph-rewriter: Implement a --diff mode.
In this mode the tool would avoid duplicating the contents of the program state on every node, replacing them with a diff-like dump of changes that happened on that node.
This is useful because most of the time we only interested in whether the effect of the statement was modeled correctly. A diffed graph would also be much faster to load and navigate, being much smaller than the original graph.
The diffs are computed "semantically" as opposed to plain text diffs. I.e., the diff algorithm is hand-crafted separately for every state trait, taking the underlying data structures into account. This is especially nice for Environment because textual diffs would have been terrible. On the other hand, it requires some boilerplate to implement.
Differential Revision: https://reviews.llvm.org/D62761
llvm-svn: 363898
show more ...
|
#
b50d1673 |
| 19-Jun-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Fix escaping StringRegions.
Quotes around StringRegions are now escaped and unescaped correctly, producing valid JSON.
Additionally, add a forgotten escape for S
[analyzer] exploded-graph-rewriter: Fix escaping StringRegions.
Quotes around StringRegions are now escaped and unescaped correctly, producing valid JSON.
Additionally, add a forgotten escape for Store values.
Differential Revision: https://reviews.llvm.org/D63519
llvm-svn: 363897
show more ...
|
Revision tags: llvmorg-8.0.1-rc2 |
|
#
44fb55bf |
| 05-Jun-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Add the missing license header!
llvm-svn: 362575
|
#
16236077 |
| 02-Jun-2019 |
Artem Dergachev <artem.dergachev@gmail.com> |
[analyzer] exploded-graph-rewriter: Initial commit.
This is a utility to improve readability and generally manipulate GraphViz dumps of the analysis graph. Such dumps are often huge and not only har
[analyzer] exploded-graph-rewriter: Initial commit.
This is a utility to improve readability and generally manipulate GraphViz dumps of the analysis graph. Such dumps are often huge and not only hard to read, but also often hang the viewer apps with their mere size. Such script should significantly improve debugging experience.
Differential Revision: https://reviews.llvm.org/D62638
llvm-svn: 362340
show more ...
|