Sarif support #3651
-
Hi, thanks for your amazing tool! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@gastonstrizzolo The code has already been prepared to this in #3462. For sarif support what you need to do is to create a separate file (sarif.py) here: https://github.com/Ericsson/codechecker/tree/master/tools/report-converter/codechecker_report_converter/report/parser. You can check how the plist parser is implemented as an example. After you are ready you have to make some changes in this file to register the sarif parser: https://github.com/Ericsson/codechecker/blob/master/tools/report-converter/codechecker_report_converter/report/report_file.py A couple of months ago I started to do it but unfortunately I didn't have enough time to fully implement it. But you can see and re-use my changes from here: csordasmarton@4410e62 |
Beta Was this translation helpful? Give feedback.
-
@gastonstrizzolo Unfortunately I have no longer working on this project, but @bruntib can help you if you have any problem. I paste your message written in email here so anyone can read it:
By the way I checked your branch and tried it out now. For me from the logs it looks like the CodeChecker client (
Maybe the problem is that the docker image you are using to run the server is not built from your branch/commits. Please try to run the server with the Also let's continue the discussion here if you need any help and @bruntib will help you. |
Beta Was this translation helpful? Give feedback.
@gastonstrizzolo The code has already been prepared to this in #3462.
For sarif support what you need to do is to create a separate file (sarif.py) here: https://github.com/Ericsson/codechecker/tree/master/tools/report-converter/codechecker_report_converter/report/parser. You can check how the plist parser is implemented as an example.
After you are ready you have to make some changes in this file to register the sarif parser: https://github.com/Ericsson/codechecker/blob/master/tools/report-converter/codechecker_report_converter/report/report_file.py
A couple of months ago I started to do it but unfortunately I didn't have enough time to fully implement it. But you can see and re-use my c…