<div dir="auto">Not sure if this helps but here is the script used to run Coverity<div dir="auto"><br></div><div dir="auto"><a href="https://github.com/joelsherrill/rtems-cron-helpers/blob/main/rtems-run-coverity">https://github.com/joelsherrill/rtems-cron-helpers/blob/main/rtems-run-coverity</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 15, 2023, 10:03 AM Alex White <<a href="mailto:alex.white@oarcorp.com">alex.white@oarcorp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You should be able to use `bear` (<a href="https://github.com/rizsotto/Bear" rel="noreferrer noreferrer" target="_blank">https://github.com/rizsotto/Bear</a>). I have it installed via my package manager.<br>
<br>
After a `./waf clean`, run `bear -- ./waf` to generate compile_commands.json. Then you should be able to run `cppcheck --project=compile_commands.json`.<br>
<br>
Alex<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>