mirror of
https://github.com/hohn/sarif-cli.git
synced 2025-12-16 09:13:04 +01:00
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.