Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 00:30
    Szelethus commented #2289
  • 00:25
    Szelethus pinned #2289
  • 00:22
    Szelethus labeled #2289
  • 00:22
    Szelethus labeled #2289
  • 00:22
    Szelethus labeled #2289
  • 00:22
    Szelethus opened #2289
  • Aug 23 16:30
    codacy-bot commented #2288
  • Aug 23 15:17

    bruntib on master

    [server] Fix login form autocom… Merge pull request #2276 from c… (compare)

  • Aug 23 15:17
    bruntib closed #2276
  • Aug 23 14:33
    rpavlik commented #2285
  • Aug 23 13:22
    gyorb review_requested #2288
  • Aug 23 13:22
    gyorb labeled #2288
  • Aug 23 13:22
    gyorb milestoned #2288
  • Aug 23 13:22
    gyorb review_requested #2288
  • Aug 23 13:22
    gyorb labeled #2288
  • Aug 23 13:22
    gyorb opened #2288
  • Aug 23 11:42
    gyorb commented #2276
  • Aug 23 11:39
    gyorb synchronize #2271
  • Aug 23 10:27
    codacy-bot commented #2287
  • Aug 23 09:56
    gyorb review_requested #2271
Gyorgy Orban
@gyorb
Every include path from the original compile command should be logged into the compile command json file. We have done some fixes in v6.2.1. If you still have this problem and the analysis fails please create an issue on our GitHub page, with some examples what was the original build command and what is the compile command json content after logging.
Naiefhq
@Naiefhq
Hi
I am trying to use CodeChecker cmd diff to "Show differences between two runs (diff) "
but getting error "Check name wasn't found in the plist file '/workspace/git/ezqurna/grey/pt_esw/reports/CDac7562Driver.cpp_d2cddf9ae947e6eb68ab388566fa9cf3.plist'. Read the user guide!"
Any help would be appreciated ?
Gyorgy Orban
@gyorb
Hi @Naiefhq , which clang version did you use for the analysis?
the checker name was missing from the report files generated by older clang releases (before 3.7)
Naiefhq
@Naiefhq
Using clang/4.0.0
Gyorgy Orban
@gyorb
do you use clang-tidy too?
Naiefhq
@Naiefhq
Not sure about that. But i am guessing yes.
Doesn't it loads up automatically when we loads clang module ?
Gyorgy Orban
@gyorb
if clang-tidy is available in your PATH it will use it automatically, for clang-tidy CodeChecker generates the plist report file, it would be nice to figure out which analyzer generated the report
Naiefhq
@Naiefhq
Yes it is included
clang/3.7.0/bin/clang-tidy
Gyorgy Orban
@gyorb
you can check the analyzer type and version in the plist file, here is an example generated by clang 4.0 if it is generated by clang tidy it should be there too
do you use clang-tidy 3.7 and clang 4.0?
Naiefhq
@Naiefhq
No, currently loaded clang 3.7
Gyorgy Orban
@gyorb
since clang 3.7 the checker name ('check_name' tag) should be in the generated plist report, could you upload the generated plist file to somewhere I could check?
Naiefhq
@Naiefhq
I cant find any plist file with name (Clang 3.7/something related to it) in the generated plist files ?
Gyorgy Orban
@gyorb
the analyzer version should be in this plist file '/workspace/git/ezqurna/grey/pt_esw/reports/CDac7562Driver.cpp_d2cddf9ae947e6eb68ab388566fa9cf3.plist' if you open it
Naiefhq
@Naiefhq
It shows version 5.0.0
Gyorgy Orban
@gyorb
which analyzer?
Naiefhq
@Naiefhq
I am new to this. The only versions i can see are plist version 1.0 and clang version 5.0. The file doesnt say anything about analyzer.
Gyorgy Orban
@gyorb
clang version 5.0 means that is generated by the clang static analyzer, if clang-tidy would be there it would be generated by the other (clang-tidy) analyzer
do you work on an Ericsson project?
Naiefhq
@Naiefhq
Yes
Naiefhq
@Naiefhq
Any idea what might be causing the problem in CodeChecker diff cmd ?
Gyorgy Orban
@gyorb
I would recommend to create a ticket on our internal project site (if you have not done it yet) where we can discuss the further details (you can attach the plist report there), the warning is given because one of the checkers did not report properly and the checker name is missing from the report
Naiefhq
@Naiefhq
Okie
Thanks
Gyorgy Orban
@gyorb
your welcome
namnguyenxyz
@namnguyenxyz
Hi @gyorb . Thanks for your reply. My problem is fixed in the latest release of CodeChecker (v6.3).
One more question. My project use a lot of third party lib/code and I don't have control over it. I want to ask if CodeChecker have any option to bypass the check on "include lib" in my project ? I try to use the skip option but it's not working. As I understand, CodeChecker will check included header files in my code even when I put these file in skipped list.
Thank you a lot !
This ticket is what I really need Ericsson/codechecker#1007 . Is this ticket still valid ?
Gyorgy Orban
@gyorb
Hi @xnahong, it is great to hear that v6.3 fixed your problem. How did you configure what to skip in your skip file? Skipping cpp files is visible at the analysis output but skipping results in header files can be done only after the analysis is done for a translation unit so you will not see it at the analysis output, but the results from the skipped header files should not be in the reports. You can run the parse command to quickly check the list of reports.
Gyorgy Orban
@gyorb
The ticket you mentioned is still valid but we had no time to further investigate the problem yet. -Xclang -analyzer-opt-analyze-headers is needed to get the results from the header files, but should not include the results from the system headers. Could you check if you remove the -Xclang -analyzer-opt-analyze-headers flag you still get the reports from non system header files? My only concern is if we remove it, we will not get reports from non system header files, but maybe I'm wrong.
Marc-Andre Laperle
@MarkZ3
How do I filter-out some headers? I tried to use a "skip file" in both "parse" and "analyze" steps but the bugs still appear in the headers. The line in my skip file looks like "-/foo/llvm/include/*" yet it still reports bugs in /foo/llvm/include/llvm/ADT/StringMap.h
Gyorgy Orban
@gyorb
Please try to use a * before your skip path -*/foo/llvm/include/* we just updated yesterday the skip file documentation with more examples.
Marc-Andre Laperle
@MarkZ3
@gyorb I can try this, but I am using absolute path though.
Marc-Andre Laperle
@MarkZ3
BTW, the updated doc is nice!
Gyorgy Orban
@gyorb
@MarkZ3 which CodeChecker version did you try? The latest release v6.6 or the master branch?
Marc-Andre Laperle
@MarkZ3
hmmm, maybe it was 6.5.1
Marc-Andre Laperle
@MarkZ3
I get the same behavior with 6.6.0. But I'll try to make a small example to make sense of it and open an issue if necessary
Gyorgy Orban
@gyorb
thanks that would be great
Marc-Andre Laperle
@MarkZ3
@gyorb Actually, I think it was working but I misread the results, in the CodeChecker UI. The bugs in the skiped files are there but "resolved". It there any way to remove permanently all revolved bugs? There are not useful to me since they appeared before I set my analysis to skip them.
Gyorgy Orban
@gyorb
@MarkZ3 sorry for the late reply, in our upcoming release v6.8 it will be supported to remove results
Marc-Andre Laperle
@MarkZ3
@gyorb Thank you! I'm not sure I'll be using CodeChecker again soon but this should be useful!
René Paris
@reneparis
Hey guys! First of all great tool!
I've been playing around with the server all day and really got issues with incompatible thrift versions (0.11.0 debian buster).
I've updated version of thrift in the requirements from 0.9.1 to 0.11.0 and everything seems to generate nicely
server is coming up, storing now works, but firefox says: TypeError: Thrift.copyList is not a function (report_server_types.js:2068:27)
Any ideas on that?
René Paris
@reneparis
sorry - just found bug issue #1827 - nevermind
Gyorgy Orban
@gyorb
hi, yes, you need to update thrift.js to the newer version as discussed in the issue
let us know if you have any other questions
René Paris
@reneparis
I've responded directly in the issue to keep the information together ;)
Gyorgy Orban
@gyorb
great, thanks!