sarif-extract-tables: initial version, reproduces known output as table

Reproduce the

    file:line:col:line:col: message

output from

    ../../bin/sarif-results-summary results.sarif | grep size

as test/example.

Original sample output is

    RESULT: static/js/fileuploader.js:1214:13:1214:17: Unused variable size.
    RESULT: static/js/tinymce/jscripts/tiny_mce/plugins/media/js/media.js:438:30:438:34: Unused variable size.

The table result here is

    0:$ ../../bin/sarif-extract-tables results.sarif | grep size
    0,static/js/fileuploader.js,1214,13,1214,17,Unused variable size.
    34,static/js/tinymce/jscripts/tiny_mce/plugins/media/js/media.js,438,30,438,34,Unused variable size.
This commit is contained in:
Michael Hohn
2022-02-08 20:04:28 -08:00
committed by =Michael Hohn
parent f5e73e90ba
commit ec9a0b5590
2 changed files with 78 additions and 236 deletions

BIN
notes/typegraph.pdf Normal file

Binary file not shown.