[PATCH] D39819: [cfi-verify] Add DOT graph printing for GraphResult objects.

Mitch Phillips via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 15:06:46 PST 2017


hctim created this revision.

Allows users to view GraphResult objects in a DOT directed-graph format. This feature can be turned on through the `--print-graphs` flag.

Also enabled pretty-printing of instructions in output. Together these features make analysis of unprotected CF instructions much easier by providing a visual control flow graph.


https://reviews.llvm.org/D39819

Files:
  tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  tools/llvm-cfi-verify/lib/FileAnalysis.h
  tools/llvm-cfi-verify/lib/GraphBuilder.cpp
  tools/llvm-cfi-verify/lib/GraphBuilder.h
  tools/llvm-cfi-verify/llvm-cfi-verify.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39819.122163.patch
Type: text/x-patch
Size: 4188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171108/7449ebf5/attachment.bin>


More information about the llvm-commits mailing list