6696b46: Clang Static Analyzer Report #9573

issue kallewoof opened this issue on January 18, 2017
  1. kallewoof commented at 8:09 AM on January 18, 2017: member

    BRANCH: master COMMIT: 6696b4635ceb9b47aaa63244bff9032fa7b08354 ISSUE COUNT: 13 EXCLUDED: src/bench, src/test, src/qt

    DISCLAIMER: These results have not been thoroughly confirmed, and may be improbable or flat out invalid, but it's worth having a list of these somewhere.

    ==============================================

    SEMANTIC ISSUES [2 present, 0 confirmed]:

    LOGIC ERROR [6 present, 0 confirmed, 1 fixed]:

    DEAD STORE [4 present, 0 confirmed, 1 fixed]:

    MEMORY ERROR [1 present, 0 confirmed]:

  2. jonasschnelli commented at 8:20 AM on January 18, 2017: contributor

    Thanks... and,... yes. Some things on that list can and probably should be fixed.

  3. jonasschnelli added the label Refactoring on Jan 18, 2017
  4. practicalswift commented at 4:45 PM on January 18, 2017: contributor

    The unused variable nSinceLastSeen has been addressed in #9532 and the dereference of null pointer (loaded from variable pit) has been addressed in #9549 :-)

  5. isle2983 commented at 10:00 PM on January 20, 2017: contributor

    Just curious - what version/settings/scripting you are using? I am playing with scan-build-3.4 and 3.5 (packaged with debian stable) and they only report three issues - one in bench/, one in qt/, and one in secp256k1/.

  6. kallewoof commented at 1:06 AM on January 23, 2017: member

    @isle2983: scan-build = ANALYZER BUILD: checker-279 (2016-11-14 15:34:09)

    I am doing

    make clean
    scan-build ./autogen.sh
    scan-build ./configure
    scan-build make
    

    as they seem to recommend that you run all the tools using scan-build.

    I also ended up recreating the project in Xcode to see if the results would differ by using Apple's set up with the built in analyzer (they didn't).

  7. deannolan referenced this in commit 2e7bc61732 on Mar 8, 2017
  8. BitonicEelis referenced this in commit bfebc0b807 on Aug 17, 2017
  9. BitonicEelis referenced this in commit 6c4042a5d0 on Aug 17, 2017
  10. laanwj referenced this in commit 3bb77ebee6 on Oct 12, 2017
  11. laanwj referenced this in commit 99ec12666b on Nov 9, 2017
  12. HashUnlimited referenced this in commit aee17fd0be on Mar 12, 2018
  13. HashUnlimited referenced this in commit 8b3f5c1c7e on Mar 13, 2018
  14. MarcoFalke added the label Tests on Mar 24, 2018
  15. MarcoFalke removed the label Refactoring on Mar 24, 2018
  16. MarcoFalke commented at 7:59 PM on April 11, 2018: member

    Anything left to do here?

  17. kallewoof commented at 1:15 AM on April 12, 2018: member

    I'll redo the scan-build and report back.

  18. kallewoof closed this on Apr 12, 2018

  19. PastaPastaPasta referenced this in commit 43d80da239 on Dec 22, 2019
  20. PastaPastaPasta referenced this in commit 8a50468b24 on Dec 22, 2019
  21. PastaPastaPasta referenced this in commit 5872a6c85f on Jan 2, 2020
  22. PastaPastaPasta referenced this in commit 7ad0f14afd on Jan 2, 2020
  23. PastaPastaPasta referenced this in commit 352cfd8398 on Jan 4, 2020
  24. PastaPastaPasta referenced this in commit 7c9d59b3be on Jan 4, 2020
  25. PastaPastaPasta referenced this in commit 1b827e7fbe on Jan 12, 2020
  26. PastaPastaPasta referenced this in commit 5e3ecb4496 on Jan 12, 2020
  27. PastaPastaPasta referenced this in commit e37f097d4b on Jan 12, 2020
  28. PastaPastaPasta referenced this in commit ea8f25a19a on Jan 12, 2020
  29. PastaPastaPasta referenced this in commit 782c89cf03 on Jan 12, 2020
  30. PastaPastaPasta referenced this in commit 2e5dab3279 on Jan 12, 2020
  31. PastaPastaPasta referenced this in commit b81ddd2eff on Jan 12, 2020
  32. PastaPastaPasta referenced this in commit a1a67602e2 on Jan 12, 2020
  33. PastaPastaPasta referenced this in commit b7b4bc1bc3 on Jan 12, 2020
  34. PastaPastaPasta referenced this in commit f836d16d30 on Jan 12, 2020
  35. PastaPastaPasta referenced this in commit bab59f667d on Jan 12, 2020
  36. PastaPastaPasta referenced this in commit df109ec118 on Jan 12, 2020
  37. PastaPastaPasta referenced this in commit 2b8c9136e2 on Jan 12, 2020
  38. PastaPastaPasta referenced this in commit 0f6907e36c on Jan 16, 2020
  39. PastaPastaPasta referenced this in commit 134392f421 on Jan 22, 2020
  40. PastaPastaPasta referenced this in commit f738a1176e on Jan 29, 2020
  41. PastaPastaPasta referenced this in commit ba85a7f86d on Jan 29, 2020
  42. ckti referenced this in commit f550de4fa9 on Mar 28, 2021
  43. ckti referenced this in commit 38707ca5da on Mar 28, 2021
  44. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me