mirror of
https://github.com/hohn/sarif-cli.git
synced 2025-12-16 09:13:04 +01:00
sarif-to-dot: produce dot output using -d option
The command ../../bin/sarif-to-dot results.sarif -u -t -d | dot -Tpdf > raw-nested-types.pdf produces a good illustration of the problems arising when optional values are absent. To clean this up, structures missing fields have to be supplemented with those fields, from right to left in the graph. This is basically what sarif-results-summary does on the fly, it just has to be applied to the input tree before collecting the signatures and producing this graph. Once that is done, the types collected here can be used in SQL table export.
This commit is contained in:
committed by
=Michael Hohn
parent
113fa483ca
commit
cef9b47b58
BIN
data/treeio/raw-nested-types.pdf
Normal file
BIN
data/treeio/raw-nested-types.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user