API | Argument with 'nonnull' attribute passed null | clang/tools/c-index-test/c-index-test.c | perform_test_reparse_source | 2214 | 46 | Null pointer passed to 1st parameter expecting 'nonnull' | View Report |
API | Argument with 'nonnull' attribute passed null | clang/tools/c-index-test/c-index-test.c | perform_test_reparse_source | 2219 | 47 | Null pointer passed to 1st parameter expecting 'nonnull' | View Report |
Logic error | Branch condition evaluates to a garbage value | bolt/runtime/common.h | strLen | 209 | 4 | Branch condition evaluates to a garbage value | View Report |
Logic error | Branch condition evaluates to a garbage value | bolt/runtime/instr.cpp | parseAddressRange | 666 | 22 | Branch condition evaluates to a garbage value | View Report |
Unused code | Dead initialization | clang/tools/c-index-test/c-index-test.c | perform_token_annotation | 4342 | 1 | Value stored to 'kind' during its initialization is never read | View Report |
Unused code | Dead initialization | bolt/runtime/hugify.cpp | getKernelVersion | 39 | 1 | Value stored to 'Ret' during its initialization is never read | View Report |
Unused code | Dead initialization | bolt/runtime/instr.cpp | computeEdgeFrequencies | 1248 | 1 | Value stored to 'Parent' during its initialization is never read | View Report |
Unused code | Dead initialization | bolt/runtime/instr.cpp | openProfile | 1467 | 1 | Value stored to 'Ptr' during its initialization is never read | View Report |
Unused code | Dead initialization | build-llvm/tools/clang/stage2-bins/CMakeFiles/CMakeTmp/src.c | main | 2 | 1 | Value stored to 'p' during its initialization is never read | View Report |
Logic error | Dereference of null pointer | bolt/runtime/instr.cpp | computeEdgeFrequencies | 1218 | 32 | Array access (via field 'EdgeFreqs') results in a null pointer dereference | View Report |
Logic error | Dereference of null pointer | bolt/runtime/instr.cpp | computeEdgeFrequencies | 1255 | 50 | Array access (via field 'EdgeFreqs') results in a null pointer dereference | View Report |
Logic error | Dereference of null pointer | bolt/runtime/instr.cpp | computeEdgeFrequencies | 1270 | 52 | Array access (via field 'EdgeFreqs') results in a null pointer dereference | View Report |
Logic error | Dereference of null pointer | bolt/runtime/instr.cpp | visitAllCallsIn | 1094 | 37 | Array access (from variable 'CallFreqs') results in a null pointer dereference | View Report |
Logic error | Dereference of null pointer | bolt/runtime/instr.cpp | visitAllCallsIn | 1090 | 37 | Array access (from variable 'CallFreqs') results in a null pointer dereference | View Report |
Logic error | Dereference of null pointer | bolt/runtime/instr.cpp | writeFunctionProfile | 1333 | 21 | Array access (via field 'EdgeFreqs') results in a null pointer dereference | View Report |
Logic error | Function call with invalid argument | clang/tools/c-index-test/c-index-test.c | parse_remapped_files_with_opt | 325 | 52 | The 1st argument to 'fread' is a buffer with size 0 but should be a buffer with size equal to or greater than the value of the 2nd argument (which is 1) times the 3rd argument (which is 18446744073709551615) | View Report |
Memory error | Memory leak | clang/tools/c-index-test/c-index-test.c | find_file_includes_in | 3331 | 36 | Potential leak of memory pointed to by 'Filenames' | View Report |
Memory error | Memory leak | clang/tools/c-index-test/c-index-test.c | find_file_refs_at | 3204 | 29 | Potential leak of memory pointed to by 'Locations' | View Report |
Memory error | Memory leak | clang/tools/c-index-test/c-index-test.c | inspect_cursor_at | 2910 | 23 | Potential leak of memory pointed to by 'Locations' | View Report |
Memory error | Memory leak | clang/tools/c-index-test/c-index-test.c | parse_remapped_files_with_try | 381 | 79 | Potential leak of memory pointed to by 'unsaved_files_no_try_idx' | View Report |
Memory error | Memory leak | clang/tools/c-index-test/c-index-test.c | perform_code_completion | 2769 | 37 | Potential leak of memory pointed to by 'filename' | View Report |
Memory error | Memory leak | clang/tools/c-index-test/c-index-test.c | perform_code_completion | 2773 | 47 | Potential leak of memory pointed to by 'unsaved_files' | View Report |
Memory error | Memory leak | clang/tools/c-index-test/c-index-test.c | perform_test_reparse_source | 2207 | 71 | Potential leak of memory pointed to by 'unsaved_files' | View Report |