forked from OSchip/llvm-project
[analyzer] Bug identification
This patch adds hashes to the plist and html output to be able to identfy bugs for suppressing false positives or diff results against a baseline. This hash aims to be resilient for code evolution and is usable to identify bugs in two different snapshots of the same software. One missing piece however is a permanent unique identifier of the checker that produces the warning. Once that issue is resolved, the hashes generated are going to change. Until that point this feature is marked experimental, but it is suitable for early adoption. Differential Revision: http://reviews.llvm.org/D10305 Original patch by: Bence Babati! llvm-svn: 251011
This commit is contained in:
parent
b91bee06de
commit
efec16307c
|
@ -0,0 +1,49 @@
|
|||
//===---------- IssueHash.h - Generate identification hashes ----*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifndef LLVM_CLANG_STATICANALYZER_CORE_ISSUE_HASH_H
|
||||
#define LLVM_CLANG_STATICANALYZER_CORE_ISSUE_HASH_H
|
||||
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
|
||||
namespace clang {
|
||||
class Decl;
|
||||
class SourceManager;
|
||||
class FullSourceLoc;
|
||||
|
||||
/// \brief Get an MD5 hash to help identify bugs.
|
||||
///
|
||||
/// This function returns a hash that helps identify bugs within a source file.
|
||||
/// This identification can be utilized to diff diagnostic results on different
|
||||
/// snapshots of a projects, or maintain a database of suppressed diagnotics.
|
||||
///
|
||||
/// The hash contains the normalized text of the location associated with the
|
||||
/// diagnostic. Normalization means removing the whitespaces. The associated
|
||||
/// location is the either the last location of a diagnostic path or a uniqueing
|
||||
/// location. The bugtype and the name of the checker is also part of the hash.
|
||||
/// The last component is the string representation of the enclosing declaration
|
||||
/// of the associated location.
|
||||
///
|
||||
/// In case a new hash is introduced, the old one should still be maintained for
|
||||
/// a while. One should not introduce a new hash for every change, it is
|
||||
/// possible to introduce experimental hashes that may change in the future.
|
||||
/// Such hashes should be marked as experimental using a comment in the plist
|
||||
/// files.
|
||||
llvm::SmallString<32> GetIssueHash(const SourceManager &SM,
|
||||
FullSourceLoc &IssueLoc,
|
||||
llvm::StringRef CheckerName,
|
||||
llvm::StringRef BugType, const Decl *D);
|
||||
|
||||
/// \brief Get the string representation of issue hash. See GetIssueHash() for
|
||||
/// more information.
|
||||
std::string GetIssueString(const SourceManager &SM, FullSourceLoc &IssueLoc,
|
||||
llvm::StringRef CheckerName, llvm::StringRef BugType,
|
||||
const Decl *D);
|
||||
} // namespace clang
|
||||
|
||||
#endif
|
|
@ -591,4 +591,8 @@ def ExplodedGraphViewer : Checker<"ViewExplodedGraph">,
|
|||
HelpText<"View Exploded Graphs using GraphViz">,
|
||||
DescFile<"DebugCheckers.cpp">;
|
||||
|
||||
def BugHashDumper : Checker<"DumpBugHash">,
|
||||
HelpText<"Dump the bug hash for all statements.">,
|
||||
DescFile<"DebugCheckers.cpp">;
|
||||
|
||||
} // end "debug"
|
||||
|
|
|
@ -16,7 +16,10 @@
|
|||
#include "clang/Analysis/Analyses/LiveVariables.h"
|
||||
#include "clang/Analysis/CallGraph.h"
|
||||
#include "clang/StaticAnalyzer/Core/Checker.h"
|
||||
#include "clang/StaticAnalyzer/Core/IssueHash.h"
|
||||
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h"
|
||||
#include "llvm/Support/Process.h"
|
||||
|
@ -209,3 +212,35 @@ public:
|
|||
void ento::registerExplodedGraphViewer(CheckerManager &mgr) {
|
||||
mgr.registerChecker<ExplodedGraphViewer>();
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// DumpBugHash
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
namespace {
|
||||
class BugHashDumper : public Checker<check::PostStmt<Stmt>> {
|
||||
public:
|
||||
mutable std::unique_ptr<BugType> BT;
|
||||
|
||||
void checkPostStmt(const Stmt *S, CheckerContext &C) const {
|
||||
if (!BT)
|
||||
BT.reset(new BugType(this, "Dump hash components", "debug"));
|
||||
|
||||
ExplodedNode *N = C.generateNonFatalErrorNode();
|
||||
if (!N)
|
||||
return;
|
||||
|
||||
const SourceManager &SM = C.getSourceManager();
|
||||
FullSourceLoc FL(S->getLocStart(), SM);
|
||||
std::string HashContent =
|
||||
GetIssueString(SM, FL, getCheckName().getName(), BT->getCategory(),
|
||||
C.getLocationContext()->getDecl());
|
||||
|
||||
C.emitReport(llvm::make_unique<BugReport>(*BT, HashContent, N));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
void ento::registerBugHashDumper(CheckerManager &mgr) {
|
||||
mgr.registerChecker<BugHashDumper>();
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ add_clang_library(clangStaticAnalyzerCore
|
|||
AnalyzerOptions.cpp
|
||||
BasicValueFactory.cpp
|
||||
BlockCounter.cpp
|
||||
IssueHash.cpp
|
||||
BugReporter.cpp
|
||||
BugReporterVisitors.cpp
|
||||
CallEvent.cpp
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/Basic/FileManager.h"
|
||||
|
@ -22,6 +21,8 @@
|
|||
#include "clang/Rewrite/Core/Rewriter.h"
|
||||
#include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"
|
||||
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
|
||||
#include "clang/StaticAnalyzer/Core/IssueHash.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"
|
||||
#include "llvm/Support/Errc.h"
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
@ -236,6 +237,13 @@ void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D,
|
|||
if (!BugType.empty())
|
||||
os << "\n<!-- BUGTYPE " << BugType << " -->\n";
|
||||
|
||||
PathDiagnosticLocation UPDLoc = D.getUniqueingLoc();
|
||||
FullSourceLoc L(SMgr.getExpansionLoc(UPDLoc.isValid()
|
||||
? UPDLoc.asLocation()
|
||||
: D.getLocation().asLocation()),
|
||||
SMgr);
|
||||
const Decl *DeclWithIssue = D.getDeclWithIssue();
|
||||
|
||||
StringRef BugCategory = D.getCategory();
|
||||
if (!BugCategory.empty())
|
||||
os << "\n<!-- BUGCATEGORY " << BugCategory << " -->\n";
|
||||
|
@ -246,6 +254,10 @@ void HTMLDiagnostics::ReportDiag(const PathDiagnostic& D,
|
|||
|
||||
os << "\n<!-- FUNCTIONNAME " << declName << " -->\n";
|
||||
|
||||
os << "\n<!-- ISSUEHASHCONTENTOFLINEINCONTEXT "
|
||||
<< GetIssueHash(SMgr, L, D.getCheckName(), D.getBugType(), DeclWithIssue)
|
||||
<< " -->\n";
|
||||
|
||||
os << "\n<!-- BUGLINE "
|
||||
<< LineNumber
|
||||
<< " -->\n";
|
||||
|
|
|
@ -0,0 +1,193 @@
|
|||
//===---------- IssueHash.cpp - Generate identification hashes --*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#include "clang/StaticAnalyzer/Core/IssueHash.h"
|
||||
#include "clang/AST/ASTContext.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Basic/Specifiers.h"
|
||||
#include "clang/Lex/Lexer.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/Support/LineIterator.h"
|
||||
#include "llvm/Support/MD5.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
||||
#include <functional>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
using namespace clang;
|
||||
|
||||
// Get a string representation of the parts of the signature that can be
|
||||
// overloaded on.
|
||||
static std::string GetSignature(const FunctionDecl *Target) {
|
||||
if (!Target)
|
||||
return "";
|
||||
std::string Signature;
|
||||
|
||||
if (!isa<CXXConstructorDecl>(Target) && !isa<CXXDestructorDecl>(Target) &&
|
||||
!isa<CXXConversionDecl>(Target))
|
||||
Signature.append(Target->getReturnType().getAsString()).append(" ");
|
||||
Signature.append(Target->getQualifiedNameAsString()).append("(");
|
||||
|
||||
for (int i = 0, paramsCount = Target->getNumParams(); i < paramsCount; ++i) {
|
||||
if (i)
|
||||
Signature.append(", ");
|
||||
Signature.append(Target->getParamDecl(i)->getType().getAsString());
|
||||
}
|
||||
|
||||
if (Target->isVariadic())
|
||||
Signature.append(", ...");
|
||||
Signature.append(")");
|
||||
|
||||
const auto *TargetT =
|
||||
llvm::dyn_cast_or_null<FunctionType>(Target->getType().getTypePtr());
|
||||
|
||||
if (!TargetT)
|
||||
return Signature;
|
||||
|
||||
if (TargetT->isConst())
|
||||
Signature.append(" const");
|
||||
if (TargetT->isVolatile())
|
||||
Signature.append(" volatile");
|
||||
if (TargetT->isRestrict())
|
||||
Signature.append(" restrict");
|
||||
|
||||
if (const auto *TargetPT =
|
||||
dyn_cast_or_null<FunctionProtoType>(Target->getType().getTypePtr())) {
|
||||
switch (TargetPT->getRefQualifier()) {
|
||||
case RQ_LValue:
|
||||
Signature.append(" &");
|
||||
break;
|
||||
case RQ_RValue:
|
||||
Signature.append(" &&");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return Signature;
|
||||
}
|
||||
|
||||
static std::string GetEnclosingDeclContextSignature(const Decl *D) {
|
||||
if (!D)
|
||||
return "";
|
||||
|
||||
if (const auto *ND = dyn_cast<NamedDecl>(D)) {
|
||||
std::string DeclName;
|
||||
|
||||
switch (ND->getKind()) {
|
||||
case Decl::Namespace:
|
||||
case Decl::Record:
|
||||
case Decl::CXXRecord:
|
||||
case Decl::Enum:
|
||||
DeclName = ND->getQualifiedNameAsString();
|
||||
break;
|
||||
case Decl::CXXConstructor:
|
||||
case Decl::CXXDestructor:
|
||||
case Decl::CXXConversion:
|
||||
case Decl::CXXMethod:
|
||||
case Decl::Function:
|
||||
DeclName = GetSignature(dyn_cast_or_null<FunctionDecl>(ND));
|
||||
break;
|
||||
case Decl::ObjCMethod:
|
||||
// ObjC Methods can not be overloaded, qualified name uniquely identifies
|
||||
// the method.
|
||||
DeclName = ND->getQualifiedNameAsString();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return DeclName;
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
static StringRef GetNthLineOfFile(llvm::MemoryBuffer *Buffer, int Line) {
|
||||
if (!Buffer)
|
||||
return "";
|
||||
|
||||
llvm::line_iterator LI(*Buffer, false);
|
||||
for (; !LI.is_at_eof() && LI.line_number() != Line; ++LI)
|
||||
;
|
||||
|
||||
return *LI;
|
||||
}
|
||||
|
||||
static std::string NormalizeLine(const SourceManager &SM, FullSourceLoc &L,
|
||||
const Decl *D) {
|
||||
static StringRef Whitespaces = " \t\n";
|
||||
|
||||
const LangOptions &Opts = D->getASTContext().getLangOpts();
|
||||
StringRef Str = GetNthLineOfFile(SM.getBuffer(L.getFileID(), L),
|
||||
L.getExpansionLineNumber());
|
||||
unsigned col = Str.find_first_not_of(Whitespaces);
|
||||
|
||||
SourceLocation StartOfLine =
|
||||
SM.translateLineCol(SM.getFileID(L), L.getExpansionLineNumber(), col);
|
||||
llvm::MemoryBuffer *Buffer =
|
||||
SM.getBuffer(SM.getFileID(StartOfLine), StartOfLine);
|
||||
if (!Buffer)
|
||||
return {};
|
||||
|
||||
const char *BufferPos = SM.getCharacterData(StartOfLine);
|
||||
|
||||
Token Token;
|
||||
Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), Opts,
|
||||
Buffer->getBufferStart(), BufferPos, Buffer->getBufferEnd());
|
||||
|
||||
size_t NextStart = 0;
|
||||
std::ostringstream LineBuff;
|
||||
while (!Lexer.LexFromRawLexer(Token) && NextStart < 2) {
|
||||
if (Token.isAtStartOfLine() && NextStart++ > 0)
|
||||
continue;
|
||||
LineBuff << std::string(SM.getCharacterData(Token.getLocation()),
|
||||
Token.getLength());
|
||||
}
|
||||
|
||||
return LineBuff.str();
|
||||
}
|
||||
|
||||
static llvm::SmallString<32> GetHashOfContent(StringRef Content) {
|
||||
llvm::MD5 Hash;
|
||||
llvm::MD5::MD5Result MD5Res;
|
||||
SmallString<32> Res;
|
||||
|
||||
Hash.update(Content);
|
||||
Hash.final(MD5Res);
|
||||
llvm::MD5::stringifyResult(MD5Res, Res);
|
||||
|
||||
return Res;
|
||||
}
|
||||
|
||||
std::string clang::GetIssueString(const SourceManager &SM,
|
||||
FullSourceLoc &IssueLoc,
|
||||
StringRef CheckerName, StringRef BugType,
|
||||
const Decl *D) {
|
||||
static StringRef Delimiter = "$";
|
||||
|
||||
return (llvm::Twine(CheckerName) + Delimiter +
|
||||
GetEnclosingDeclContextSignature(D) + Delimiter +
|
||||
std::to_string(IssueLoc.getExpansionColumnNumber()) + Delimiter +
|
||||
NormalizeLine(SM, IssueLoc, D) + Delimiter + BugType)
|
||||
.str();
|
||||
}
|
||||
|
||||
SmallString<32> clang::GetIssueHash(const SourceManager &SM,
|
||||
FullSourceLoc &IssueLoc,
|
||||
StringRef CheckerName, StringRef BugType,
|
||||
const Decl *D) {
|
||||
return GetHashOfContent(
|
||||
GetIssueString(SM, IssueLoc, CheckerName, BugType, D));
|
||||
}
|
|
@ -11,13 +11,13 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/StaticAnalyzer/Core/AnalyzerOptions.h"
|
||||
#include "clang/Basic/FileManager.h"
|
||||
#include "clang/Basic/PlistSupport.h"
|
||||
#include "clang/Basic/SourceManager.h"
|
||||
#include "clang/Basic/Version.h"
|
||||
#include "clang/Lex/Preprocessor.h"
|
||||
#include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"
|
||||
#include "clang/StaticAnalyzer/Core/IssueHash.h"
|
||||
#include "clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
|
@ -390,6 +390,18 @@ void PlistDiagnostics::FlushDiagnosticsImpl(
|
|||
o << " <key>check_name</key>";
|
||||
EmitString(o, D->getCheckName()) << '\n';
|
||||
|
||||
o << " <!-- This hash is experimental and going to change! -->\n";
|
||||
o << " <key>issue_hash_content_of_line_in_context</key>";
|
||||
PathDiagnosticLocation UPDLoc = D->getUniqueingLoc();
|
||||
FullSourceLoc L(SM->getExpansionLoc(UPDLoc.isValid()
|
||||
? UPDLoc.asLocation()
|
||||
: D->getLocation().asLocation()),
|
||||
*SM);
|
||||
const Decl *DeclWithIssue = D->getDeclWithIssue();
|
||||
EmitString(o, GetIssueHash(*SM, L, D->getCheckName(), D->getBugType(),
|
||||
DeclWithIssue))
|
||||
<< '\n';
|
||||
|
||||
// Output information about the semantic context where
|
||||
// the issue occurred.
|
||||
if (const Decl *DeclWithIssue = D->getDeclWithIssue()) {
|
||||
|
@ -429,22 +441,17 @@ void PlistDiagnostics::FlushDiagnosticsImpl(
|
|||
// will have different issue_hashes and that the hash will identify
|
||||
// the leak location even after code is added between the allocation
|
||||
// site and the end of scope (leak report location).
|
||||
PathDiagnosticLocation UPDLoc = D->getUniqueingLoc();
|
||||
if (UPDLoc.isValid()) {
|
||||
FullSourceLoc UL(SM->getExpansionLoc(UPDLoc.asLocation()),
|
||||
*SM);
|
||||
FullSourceLoc UFunL(SM->getExpansionLoc(
|
||||
D->getUniqueingDecl()->getBody()->getLocStart()), *SM);
|
||||
o << " <key>issue_hash</key><string>"
|
||||
<< UL.getExpansionLineNumber() - UFunL.getExpansionLineNumber()
|
||||
o << " <key>issue_hash_function_offset</key><string>"
|
||||
<< L.getExpansionLineNumber() - UFunL.getExpansionLineNumber()
|
||||
<< "</string>\n";
|
||||
|
||||
// Otherwise, use the location on which the bug is reported.
|
||||
} else {
|
||||
FullSourceLoc L(SM->getExpansionLoc(D->getLocation().asLocation()),
|
||||
*SM);
|
||||
FullSourceLoc FunL(SM->getExpansionLoc(Body->getLocStart()), *SM);
|
||||
o << " <key>issue_hash</key><string>"
|
||||
o << " <key>issue_hash_function_offset</key><string>"
|
||||
<< L.getExpansionLineNumber() - FunL.getExpansionLineNumber()
|
||||
<< "</string>\n";
|
||||
}
|
||||
|
|
|
@ -289,10 +289,12 @@ void test() {
|
|||
// CHECK-NEXT: <key>description</key><string>Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'</string>
|
||||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Bad deallocator</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.MismatchedDeallocator</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.MismatchedDeallocator</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2009ca1da75217064b6052ba7465dff9</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>13</integer>
|
||||
|
|
|
@ -260,9 +260,11 @@ void test(Odd *odd) {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Double free</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>cplusplus.NewDelete</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>bd8e324d09c70b9e2be6f824a4942e5a</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>13</integer>
|
||||
|
@ -476,9 +478,11 @@ void test(Odd *odd) {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Double free</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>cplusplus.NewDelete</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8bf1a5b9fdae9d86780aa6c4cdce2605</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>26</integer>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -314,9 +314,11 @@ void testNonDiagnosableBranchArithmetic(int a, int b) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8ea3f4e6a3100c73f078fac15acb0a9c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testCondOp</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>10</integer>
|
||||
|
@ -458,9 +460,11 @@ void testNonDiagnosableBranchArithmetic(int a, int b) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2c219a33e961fc1be7d54b700867259e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testCondProblem</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
||||
|
@ -602,9 +606,11 @@ void testNonDiagnosableBranchArithmetic(int a, int b) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8d43b511137326eab7d1242950e72984</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testLHSProblem</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
|
@ -746,9 +752,11 @@ void testNonDiagnosableBranchArithmetic(int a, int b) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b8e93b7355a6779a960f9a942fafac15</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testRHSProblem</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||||
|
@ -958,9 +966,11 @@ void testNonDiagnosableBranchArithmetic(int a, int b) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a944281d096940ca43ec995649b48b5f</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testBinaryCondOp</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>44</integer>
|
||||
|
@ -1102,9 +1112,11 @@ void testNonDiagnosableBranchArithmetic(int a, int b) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4db164bbf5cea42d75c5e838be1eef6f</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testBinaryLHSProblem</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>53</integer>
|
||||
|
@ -1280,9 +1292,11 @@ void testNonDiagnosableBranchArithmetic(int a, int b) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>778d56ad485369222613ac2c03b97700</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testDiagnosableBranch</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>62</integer>
|
||||
|
@ -1463,9 +1477,11 @@ void testNonDiagnosableBranchArithmetic(int a, int b) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ebd0bb32bbdcaa2a806ff1984974c07a</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testNonDiagnosableBranchLogical</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>71</integer>
|
||||
|
@ -1578,9 +1594,11 @@ void testNonDiagnosableBranchArithmetic(int a, int b) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f56671e5f67c73abef619b56f7c29fa4</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testNonDiagnosableBranchArithmetic</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
||||
|
|
|
@ -597,9 +597,11 @@ void testLoopErrorInRange() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>7c0b35987817cf3d44b88c5349bcd4f2</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testLoop</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>12</integer>
|
||||
|
@ -823,9 +825,11 @@ void testLoopErrorInRange() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f53792d63dffe6176babc00ee455a3e0</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>get</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||||
|
@ -1098,9 +1102,11 @@ void testLoopErrorInRange() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>7bc3cb8a56be029296ec61f7ee83fc9e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testLoopOpaqueCollection</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>42</integer>
|
||||
|
@ -1242,9 +1248,11 @@ void testLoopErrorInRange() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>dc7b457a64bd56c30467c1af44049756</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testLoopOpaqueCollection</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>11</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>11</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>48</integer>
|
||||
|
@ -1517,9 +1525,11 @@ void testLoopErrorInRange() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f4697ded3a92318349a3969238e05387</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testLoopOpaqueIterator</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>77</integer>
|
||||
|
@ -1661,9 +1671,11 @@ void testLoopErrorInRange() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>6855b29ad2407a5af43c57f062bc4602</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testLoopOpaqueIterator</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>11</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>11</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>83</integer>
|
||||
|
|
|
@ -306,9 +306,11 @@ void testTrackConstraintBRVisitorIsTrackingTurnedOn(struct S syz, int *pp) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5cafa075eb4d5b0bf1f228608a3ec87e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>11</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>11</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>23</integer>
|
||||
|
@ -644,9 +646,11 @@ void testTrackConstraintBRVisitorIsTrackingTurnedOn(struct S syz, int *pp) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a213f858dacf7993492e6b32080aaa64</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testTrackConstraintBRVisitorIsTrackingTurnedOn</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>11</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>11</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>38</integer>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -147,9 +147,11 @@ int test_calling_unimportant_callee(int argc, char *argv[]) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Garbage return value</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.uninitialized.UndefReturn</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1ef750c5562c09a467ea54ea4b4de771</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_calling_unimportant_callee</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>11</integer>
|
||||
|
|
|
@ -436,9 +436,11 @@ double testPassingParentRegionStruct(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Result of operation is garbage or undefined</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.UndefinedBinaryOperatorResult</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ae5e3bd03d6d97614947942dae18e1da</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>use</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>7</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>7</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>26</integer>
|
||||
|
@ -754,9 +756,11 @@ double testPassingParentRegionStruct(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Result of operation is garbage or undefined</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.UndefinedBinaryOperatorResult</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>96cf3258da3df14d13cd5c2236c9cb27</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testPassingParentRegionArray</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>42</integer>
|
||||
|
@ -1169,9 +1173,11 @@ double testPassingParentRegionStruct(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>299055864402de225b0ab4f2ecd8e76c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testPassingParentRegionStruct</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>62</integer>
|
||||
|
|
|
@ -544,9 +544,11 @@ static void CreateRefUndef(SCDynamicStoreRef *storeRef, unsigned x) {
|
|||
// CHECK-NEXT: <key>category</key><string>API Misuse (Apple)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>null passed to CF memory management function</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.coreFoundation.CFRetainRelease</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>102c9a15c089fdc618a4c209bd5560bc</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>39</integer>
|
||||
|
@ -925,9 +927,11 @@ static void CreateRefUndef(SCDynamicStoreRef *storeRef, unsigned x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Uninitialized argument value</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.CallAndMessage</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>fe2bb14813e15196c0180196fc1cce4c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>48</integer>
|
||||
|
|
|
@ -726,9 +726,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>dc9c2a657ca759f9744cde2e093cfd59</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_init</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>53</integer>
|
||||
|
@ -904,9 +906,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8f95d9681490a4e52c167969d0957b39</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_assign</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>59</integer>
|
||||
|
@ -1145,9 +1149,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>94c43fbcad6aaff4ee7433f2d2db0bbe</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_assign_transitive</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>66</integer>
|
||||
|
@ -1323,9 +1329,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>659f01507ffd7efd3ca3eab7179fd7d2</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_cond</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>71</integer>
|
||||
|
@ -1564,9 +1572,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c90d51e62139e614b57aff7021240a82</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_cond_transitive</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>78</integer>
|
||||
|
@ -1742,9 +1752,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>245408d2bc416e324064d990e6dd82a8</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_field</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>85</integer>
|
||||
|
@ -2080,9 +2092,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b12acffa40177b55b695aa2292533410</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_assumptions</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>97</integer>
|
||||
|
@ -2350,9 +2364,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c0a32b8291b0fc7230f847f05f415625</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_cond_assign</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>105</integer>
|
||||
|
@ -2610,9 +2626,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>29a10ca4af622b6146ca082e49d919d6</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>rdar8331641</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>123</integer>
|
||||
|
@ -2788,9 +2806,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ed7251f5b34b8380abd60cddfd3db46b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_objc_fast_enumeration</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>132</integer>
|
||||
|
@ -2835,9 +2855,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead increment</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>dd09640bb87b201c2adcf5ef37bfcfaa</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_objc_fast_enumeration_2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>140</integer>
|
||||
|
@ -3042,9 +3064,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Assigned value is garbage or undefined</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.uninitialized.Assign</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>025372576cd3ba6716044f93a51c978c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_objc_fast_enumeration_2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>140</integer>
|
||||
|
@ -3477,9 +3501,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>08f9a01186cb2f1b78b08ec20260f1c1</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>rdar12280665</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>148</integer>
|
||||
|
@ -3781,9 +3807,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>93a53e4c8f02d191b07477940ddcf89c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>radar12322528_for</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>162</integer>
|
||||
|
@ -4051,9 +4079,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f2d2dbf579b0b21a6b68726df6a041fc</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>radar12322528_while</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>7</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>7</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>172</integer>
|
||||
|
@ -4554,9 +4584,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>95c7d39fb9d0d8c172b894e02855a07c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>radar12322528_foo_2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>11</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>11</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>186</integer>
|
||||
|
@ -5052,9 +5084,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4cbbc713c8267513fef8a33f1327d7ca</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_loop_diagnostics</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>192</integer>
|
||||
|
@ -5618,9 +5652,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a5aa7cf7ce6ba6683bebfff63df926fd</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_loop_diagnostics_2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>11</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>11</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>206</integer>
|
||||
|
@ -6184,9 +6220,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>940ba28399417701285cc8f80b1b8c2d</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_loop_diagnostics_3</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>10</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>10</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>219</integer>
|
||||
|
@ -6629,9 +6667,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>89eb0611013a66315f63bf4de8130c3d</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_do_while</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>12</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>12</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>234</integer>
|
||||
|
@ -6875,9 +6915,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>483f7a1c29cc32152ca2ea651443e16f</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_logical_and</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>241</integer>
|
||||
|
@ -7121,9 +7163,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>852b510b1e204194a9fe3045cabc952c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_logical_or</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>248</integer>
|
||||
|
@ -7401,9 +7445,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a5081bea3b0e9f4f8132ecdb2c17991b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_logical_or_call</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>256</integer>
|
||||
|
@ -7681,9 +7727,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>16c21155317ccfddb4f482db43b6c635</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_nested_logicals</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>264</integer>
|
||||
|
@ -8097,9 +8145,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>16c21155317ccfddb4f482db43b6c635</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_nested_logicals</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>268</integer>
|
||||
|
@ -8581,9 +8631,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5fec1fd2724e271bb73fa4dd4be2a7f5</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_deeply_nested_logicals</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>278</integer>
|
||||
|
@ -8992,9 +9044,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c4ebf7f3e8a792521541ffae22ae2378</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_ternary</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>287</integer>
|
||||
|
@ -9267,9 +9321,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>137a2333a17b5eecff7ff7a4b56d38d9</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testUseless</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>298</integer>
|
||||
|
@ -9474,9 +9530,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d1a1b27348a9c4d0abaaea4a4df9b649</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testFoo</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>312</integer>
|
||||
|
@ -9647,9 +9705,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1d7470f8b42e1cff6ab697162911b488</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test1_IPA_X</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>321</integer>
|
||||
|
@ -10043,9 +10103,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3fda62f72d88e4bc250c415cbc45a9e2</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_IPA_Y</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>341</integer>
|
||||
|
@ -10264,9 +10326,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d0d513aa4710781c2b56c44226354403</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>causeDivByZeroInMain</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>347</integer>
|
||||
|
@ -10408,9 +10472,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b21eba78798501dc6b716bb91e3f7f01</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>384</integer>
|
||||
|
@ -10518,9 +10584,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Argument with 'nonnull' attribute passed null</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NonNullParamChecker</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c0b359a043c633f1b8d1581f68743361</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>RDar13295437</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>394</integer>
|
||||
|
@ -10730,9 +10798,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>573a1a599cc8abe987f5227676d04abc</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testCast</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>404</integer>
|
||||
|
@ -10908,9 +10978,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ea1d5db6b4c380a432c88139fdd18f42</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>422</integer>
|
||||
|
@ -10967,9 +11039,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3dd1ebf91fa4e92eeec82faaeb48beda</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>431</integer>
|
||||
|
@ -11096,9 +11170,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f533db5cbb9c20d171f9f92105789dc4</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>433</integer>
|
||||
|
@ -11274,9 +11350,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>bfb65e90e76fe7a219616d1d0b36f958</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>variousLoops</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>11</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>11</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>449</integer>
|
||||
|
@ -11719,9 +11797,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a76c8ba29cdedecd0dfa5e24711cd236</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>variousLoops</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>20</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>20</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>458</integer>
|
||||
|
@ -12130,9 +12210,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>bfb65e90e76fe7a219616d1d0b36f958</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>variousLoops</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>26</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>26</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>464</integer>
|
||||
|
@ -12604,9 +12686,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>bfb65e90e76fe7a219616d1d0b36f958</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>variousLoops</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>34</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>34</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>472</integer>
|
||||
|
@ -13859,9 +13943,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>bfb65e90e76fe7a219616d1d0b36f958</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>variousLoops</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>62</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>62</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>500</integer>
|
||||
|
@ -15177,9 +15263,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>bfb65e90e76fe7a219616d1d0b36f958</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>variousLoops</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>67</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>67</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>505</integer>
|
||||
|
@ -16592,9 +16680,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>bfb65e90e76fe7a219616d1d0b36f958</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>variousLoops</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>74</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>74</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>512</integer>
|
||||
|
@ -18104,9 +18194,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>6c3e2dd10c375325a3089b996dd460c3</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>variousLoops</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>83</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>83</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>521</integer>
|
||||
|
@ -18388,9 +18480,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>51180616cd69dc1776be708299ec90fb</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>reallocDiagnostics</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>533</integer>
|
||||
|
@ -18628,7 +18722,9 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Bad deallocator</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.MismatchedDeallocator</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>0</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d9dbbf68db41ab74e2158f4b131abe34</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>0</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>544</integer>
|
||||
|
@ -19341,9 +19437,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5616a7601faa1a8c2ac56fa1b595b172</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>longLines</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>568</integer>
|
||||
|
@ -19485,9 +19583,11 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>dff4970e681578e07d0512d3258aeddd</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testMacroInFunctionDecl</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>573</integer>
|
||||
|
@ -19668,7 +19768,9 @@ namespace rdar14960554 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>de83c7c8cc706cf47429f220bfa49458</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>588</integer>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -290,9 +290,11 @@ void test_block_arg() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8bca94f2f862468bb877fb70e66a3304</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>foo</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>7</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>7</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>18</integer>
|
||||
|
@ -511,9 +513,11 @@ void test_block_arg() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>62ddaf4e66ff527b230b474b98791ced</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>has_bug</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>23</integer>
|
||||
|
@ -863,9 +867,11 @@ void test_block_arg() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1ee3fb0b2fbd9c66e0cc34ca1181ece3</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>triggers_bug</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||||
|
@ -1084,6 +1090,8 @@ void test_block_arg() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a2e7504f29818834127c44ba841f4da8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>60</integer>
|
||||
|
@ -1457,9 +1465,11 @@ void test_block_arg() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>931be9c3a45b61c0a9c99b4772bd6fca</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_block_ret</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>70</integer>
|
||||
|
@ -1707,9 +1717,11 @@ void test_block_arg() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>524a8647c40f017409d858ff70900c1a</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_block_blockvar</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>78</integer>
|
||||
|
@ -1957,9 +1969,11 @@ void test_block_arg() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>0efdf891fbddf2932f9d434968b94164</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_block_arg</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>86</integer>
|
||||
|
|
|
@ -292,9 +292,11 @@ void test_bug_2() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a6ef969f9d5a84fe3b6d153fa488020a</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>bug</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>5</integer>
|
||||
|
|
|
@ -319,9 +319,11 @@ void testChainedCalls() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5c273b7f0421359833fde3f06e8a5c07</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>use</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>6</integer>
|
||||
|
@ -777,9 +779,11 @@ void testChainedCalls() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1d1fa98a8e9fbfa90777dac9fc2795a8</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>use2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>28</integer>
|
||||
|
|
|
@ -373,9 +373,11 @@ int memberCallBaseDisappears() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Called C++ object pointer is null</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.CallAndMessage</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f4a4cee851880ebbe93d3b657920ebe9</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>memberCallBaseDisappears</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>19</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>19</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||||
|
|
|
@ -348,9 +348,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>52499a849b132453be19ec9167d8c021</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testZero</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>14</integer>
|
||||
|
@ -526,9 +528,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>cb893891b6a08ee4b7dc3d0c11df856e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testCheck</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
|
@ -767,9 +771,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ec20b5e53a72c82d442b3ca04c81e138</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testInitCheck</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>39</integer>
|
||||
|
@ -1008,9 +1014,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1ae8e7c84d15f307abc1df9f5612078b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testStoreCheck</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>51</integer>
|
||||
|
@ -1321,9 +1329,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d03346854b8f45b55cbd5efe29bf2c8e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testReturnZero</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>65</integer>
|
||||
|
@ -1634,9 +1644,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5a72f98932a4061a833287a12b28ba8b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testReturnZero2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>72</integer>
|
||||
|
@ -2010,9 +2022,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>6d3745ba4b32e1858de16c61fecf8ed4</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testInitZero</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>83</integer>
|
||||
|
@ -2386,9 +2400,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2d25b170621486480ca76aaba4c7a0c0</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testStoreZero</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>92</integer>
|
||||
|
@ -2805,9 +2821,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>567151df0ae29b0f0e1a412114d544dc</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>usePointer</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>97</integer>
|
||||
|
@ -3055,9 +3073,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>7849ab11af99aee1e3603a24ae95cdfd</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testSetFieldToNull</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>119</integer>
|
||||
|
@ -3165,9 +3185,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3ccb5e7e2cc82aba5c28a1cc873c83a1</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>132</integer>
|
||||
|
@ -3343,9 +3365,11 @@ void test4(int **p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>19292468c6c6f83fbbdb2ff072bb2ae8</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test4</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>139</integer>
|
||||
|
|
|
@ -878,9 +878,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2bf06135909de50c70d8390e77bddf9e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>C++ method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>use</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>8</integer>
|
||||
|
@ -1167,9 +1169,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>efde323086a985fe1e8ccc6cd0123c12</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>C++ method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>method</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>41</integer>
|
||||
|
@ -1417,7 +1421,9 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8162ef7a27137328a4a7a131e8d52cbe</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>63</integer>
|
||||
|
@ -1665,7 +1671,9 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>675157873c1414a885eb1f429b26f389</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>68</integer>
|
||||
|
@ -1947,7 +1955,9 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>aff5e83726a1ce1144580e4c80bde47c</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>73</integer>
|
||||
|
@ -2263,9 +2273,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>9484c73e190dfe4b8c6c5bdfad9700c1</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>C++ method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>operator=</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>78</integer>
|
||||
|
@ -2615,9 +2627,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a0f0ac76cf282b61236bfac7eb2eca62</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>C++ method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>operator=</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>83</integer>
|
||||
|
@ -2903,7 +2917,9 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>74b213f52cad2a4cbfcc8c5766bdd974</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
||||
|
@ -3151,9 +3167,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>0d5730cf85cea686ed80d788ab666603</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>173</integer>
|
||||
|
@ -3498,9 +3516,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>992e0f2917d29d0977d09ee64b3d10ef</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testRef</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>180</integer>
|
||||
|
@ -3608,9 +3628,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Returning null reference</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.uninitialized.UndefReturn</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ece17cf25bc055cbc118d903744a00cf</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>returnNullReference</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>190</integer>
|
||||
|
@ -3974,7 +3996,9 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>32677550226a34f422a4165a34f6a124</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>197</integer>
|
||||
|
@ -4179,9 +4203,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b5460cc5ca67af5b9f4943d7117f9bcf</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testNonPrintableAssignment</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>212</integer>
|
||||
|
@ -4289,9 +4315,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>749bda64658e48896477213e90176f5e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>221</integer>
|
||||
|
@ -4467,9 +4495,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2f9098b97145118cf80f1c9f2b9f8a90</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>C++ method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testGetDerefExprOnMemberExprWithADot</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>237</integer>
|
||||
|
@ -4577,9 +4607,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of undefined pointer value</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>41b38aba8763180af245befa02f63d61</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testGetDerefExprOnMemberExprWithADot</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>243</integer>
|
||||
|
@ -4784,9 +4816,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Called C++ object pointer is null</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.CallAndMessage</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8b577b362ffa5a7290d00d03635c1fca</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testDeclRefExprToReferenceInGetDerefExpr</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>261</integer>
|
||||
|
@ -5005,9 +5039,11 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f7fcdbc77cfb95588c0e5b606288013d</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>generateNoteOnDefaultArgument</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>269</integer>
|
||||
|
@ -5240,7 +5276,9 @@ namespace PR17746 {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ff61a6b893cd2d64c7ccaa2a9805311d</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>281</integer>
|
||||
|
|
|
@ -576,9 +576,11 @@ void testNullDereferenceInDispatch() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ad3081ebf0d1e26cc4edb01c88faa1c1</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testReturnZeroIfNil</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
||||
|
@ -884,9 +886,11 @@ void testNullDereferenceInDispatch() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>fd12d9853f5c0f7398305ff4047f4848</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testDispatchSyncInlining</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>14</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>14</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>101</integer>
|
||||
|
@ -1134,6 +1138,8 @@ void testNullDereferenceInDispatch() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>uninitialized variable captured by block</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.uninitialized.CapturedBlockVariable</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>6763f0438bcb4337c8f8c9863b35b8c1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>118</integer>
|
||||
|
@ -1449,9 +1455,11 @@ void testNullDereferenceInDispatch() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d32b4cd912950f7b38ae28dbf29d9e63</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testNilReceiverHelper</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>135</integer>
|
||||
|
@ -1627,9 +1635,11 @@ void testNullDereferenceInDispatch() {
|
|||
// CHECK-NEXT: <key>category</key><string>API Misuse (Apple)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>nil argument</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.NilArg</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a90589ba5d063fbfecc615bf06f84f5a</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testCreateArrayLiteral</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>153</integer>
|
||||
|
@ -2023,9 +2033,11 @@ void testNullDereferenceInDispatch() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Object autoreleased too many times</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a3c91a7a52619d81ebe032dcc49ebb93</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testAutoreleaseTakesEffectInDispatch</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>11</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>11</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>169</integer>
|
||||
|
|
|
@ -12,193 +12,195 @@ void diagnosticFromLambda() {
|
|||
}();
|
||||
}
|
||||
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>path</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>kind</key><string>control</string>
|
||||
// CHECK: <key>edges</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>start</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>8</integer>
|
||||
// CHECK: <key>col</key><integer>3</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>8</integer>
|
||||
// CHECK: <key>col</key><integer>5</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: <key>end</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>9</integer>
|
||||
// CHECK: <key>col</key><integer>3</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>9</integer>
|
||||
// CHECK: <key>col</key><integer>3</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>kind</key><string>event</string>
|
||||
// CHECK: <key>location</key>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>9</integer>
|
||||
// CHECK: <key>col</key><integer>3</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <key>ranges</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>9</integer>
|
||||
// CHECK: <key>col</key><integer>3</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>12</integer>
|
||||
// CHECK: <key>col</key><integer>5</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: </array>
|
||||
// CHECK: <key>depth</key><integer>0</integer>
|
||||
// CHECK: <key>extended_message</key>
|
||||
// CHECK: <string>The value 0 is assigned to field ''</string>
|
||||
// CHECK: <key>message</key>
|
||||
// CHECK: <string>The value 0 is assigned to field ''</string>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>kind</key><string>event</string>
|
||||
// CHECK: <key>location</key>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>9</integer>
|
||||
// CHECK: <key>col</key><integer>3</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <key>ranges</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>9</integer>
|
||||
// CHECK: <key>col</key><integer>3</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>12</integer>
|
||||
// CHECK: <key>col</key><integer>5</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: </array>
|
||||
// CHECK: <key>depth</key><integer>0</integer>
|
||||
// CHECK: <key>extended_message</key>
|
||||
// CHECK: <string>Calling 'operator()'</string>
|
||||
// CHECK: <key>message</key>
|
||||
// CHECK: <string>Calling 'operator()'</string>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>kind</key><string>event</string>
|
||||
// CHECK: <key>location</key>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>9</integer>
|
||||
// CHECK: <key>col</key><integer>5</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <key>depth</key><integer>1</integer>
|
||||
// CHECK: <key>extended_message</key>
|
||||
// CHECK: <string>Entered call from 'diagnosticFromLambda'</string>
|
||||
// CHECK: <key>message</key>
|
||||
// CHECK: <string>Entered call from 'diagnosticFromLambda'</string>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>kind</key><string>control</string>
|
||||
// CHECK: <key>edges</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>start</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>9</integer>
|
||||
// CHECK: <key>col</key><integer>5</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>9</integer>
|
||||
// CHECK: <key>col</key><integer>5</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: <key>end</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>10</integer>
|
||||
// CHECK: <key>col</key><integer>14</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>10</integer>
|
||||
// CHECK: <key>col</key><integer>14</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>kind</key><string>event</string>
|
||||
// CHECK: <key>location</key>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>10</integer>
|
||||
// CHECK: <key>col</key><integer>14</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <key>ranges</key>
|
||||
// CHECK: <array>
|
||||
// CHECK: <array>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>10</integer>
|
||||
// CHECK: <key>col</key><integer>13</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>10</integer>
|
||||
// CHECK: <key>col</key><integer>15</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: </array>
|
||||
// CHECK: <key>depth</key><integer>1</integer>
|
||||
// CHECK: <key>extended_message</key>
|
||||
// CHECK: <string>Division by zero</string>
|
||||
// CHECK: <key>message</key>
|
||||
// CHECK: <string>Division by zero</string>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
// CHECK: <key>description</key><string>Division by zero</string>
|
||||
// CHECK: <key>category</key><string>Logic error</string>
|
||||
// CHECK: <key>type</key><string>Division by zero</string>
|
||||
// CHECK: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK: <key>issue_context_kind</key><string>C++ method</string>
|
||||
// CHECK: <key>issue_context</key><string>operator()</string>
|
||||
// CHECK: <key>issue_hash</key><string>1</string>
|
||||
// CHECK: <key>location</key>
|
||||
// CHECK: <dict>
|
||||
// CHECK: <key>line</key><integer>10</integer>
|
||||
// CHECK: <key>col</key><integer>14</integer>
|
||||
// CHECK: <key>file</key><integer>0</integer>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </dict>
|
||||
// CHECK: </array>
|
||||
|
||||
// CHECK: <key>diagnostics</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>path</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>8</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>8</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>9</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>9</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>event</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>9</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <key>ranges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>9</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>12</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
||||
// CHECK-NEXT: <key>extended_message</key>
|
||||
// CHECK-NEXT: <string>The value 0 is assigned to field ''</string>
|
||||
// CHECK-NEXT: <key>message</key>
|
||||
// CHECK-NEXT: <string>The value 0 is assigned to field ''</string>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>event</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>9</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <key>ranges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>9</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>12</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
||||
// CHECK-NEXT: <key>extended_message</key>
|
||||
// CHECK-NEXT: <string>Calling 'operator()'</string>
|
||||
// CHECK-NEXT: <key>message</key>
|
||||
// CHECK-NEXT: <string>Calling 'operator()'</string>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>event</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>9</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <key>depth</key><integer>1</integer>
|
||||
// CHECK-NEXT: <key>extended_message</key>
|
||||
// CHECK-NEXT: <string>Entered call from 'diagnosticFromLambda'</string>
|
||||
// CHECK-NEXT: <key>message</key>
|
||||
// CHECK-NEXT: <string>Entered call from 'diagnosticFromLambda'</string>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>9</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>9</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>10</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>10</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>event</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>10</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <key>ranges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>10</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>13</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>10</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>depth</key><integer>1</integer>
|
||||
// CHECK-NEXT: <key>extended_message</key>
|
||||
// CHECK-NEXT: <string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>message</key>
|
||||
// CHECK-NEXT: <string>Division by zero</string>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>description</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>bd4eed3234018edced5efc2ed5562a74</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>C++ method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>operator()</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>10</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>14</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
|
|
|
@ -409,9 +409,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c60b35a3e46fd104f362f430a1eaca5d</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>diagnosticTest</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>15</integer>
|
||||
|
@ -572,9 +574,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>9b732ec46c4a08108dfbd37aa0955c51</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>myArrayAllocation</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>22</integer>
|
||||
|
@ -958,9 +962,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>37c0b1a1e65d26af6f9fb840cf159149</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>reallocDiagnostics</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>29</integer>
|
||||
|
@ -1358,9 +1364,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>384d1700f3d9c8eeea96d171e3030bdf</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_wrapper</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>46</integer>
|
||||
|
@ -1879,9 +1887,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Use-after-free</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>422436dc85b85cde7e15046a5616ee99</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_double_action_call</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>62</integer>
|
||||
|
@ -2439,9 +2449,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>23a6c295a515c455bea1c81519bc05b6</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>reallocIntra</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>77</integer>
|
||||
|
@ -2708,9 +2720,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>45181c7fc1df81a732346f1ed1b3f238</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>use_ret</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>87</integer>
|
||||
|
@ -2871,9 +2885,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d8483ccf1d5a1af1e8bcaac6905a18b3</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>LeakedSymbol</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>98</integer>
|
||||
|
@ -3077,9 +3093,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b07aebe89e4ba5ea104a9f957df9531b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>function_with_leak1</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>104</integer>
|
||||
|
@ -3283,9 +3301,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>efe2ffcb7c227e872aa732c5f793895d</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>function_with_leak2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>112</integer>
|
||||
|
@ -3586,9 +3606,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>0ddc87e8a7e7104428af3905f3057611</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>function_with_leak3</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>121</integer>
|
||||
|
@ -3889,9 +3911,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>948d356840e67fc4baa8cc5d0600463c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>function_with_leak4</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>132</integer>
|
||||
|
@ -4095,9 +4119,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2b0361060027060b94915ff4de8aa782</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>function_with_leak5</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>143</integer>
|
||||
|
@ -4301,9 +4327,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>73f573faa903ad4308d5155ef979cf31</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>function_with_leak6</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>154</integer>
|
||||
|
@ -4536,9 +4564,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>eb5628850b9b9118fbda903e721436a5</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>use_function_with_leak7</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>170</integer>
|
||||
|
@ -4771,9 +4801,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ad5b603037bc3581ff94947e86dbb1c8</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testOnlyRefferToVisibleVariables</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>180</integer>
|
||||
|
@ -5040,9 +5072,11 @@ void testMyMalloc() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8d59cc5cc4b7db55d432abc18b0e6c23</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testMyMalloc</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>192</integer>
|
||||
|
|
|
@ -144,9 +144,11 @@ void test_cast(const TestInstanceCall *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Called C++ object pointer is uninitialized</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.CallAndMessage</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8c0cdb645ae6be246ed75941dcefd32d</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_ic</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>14</integer>
|
||||
|
@ -254,9 +256,11 @@ void test_cast(const TestInstanceCall *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Called C++ object pointer is null</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.CallAndMessage</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>98e39ef0e4bbc0b9b2b1832285634d67</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_ic_null</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
||||
|
@ -398,9 +402,11 @@ void test_cast(const TestInstanceCall *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Called C++ object pointer is null</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.CallAndMessage</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>84f3d9d5009d2ac455b46b4aae88f67f</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_ic_set_to_null</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
|
@ -542,9 +548,11 @@ void test_cast(const TestInstanceCall *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Called C++ object pointer is null</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.CallAndMessage</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c5bd8e35fb6da070914016804720ae4d</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_ic_null</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>30</integer>
|
||||
|
@ -652,9 +660,11 @@ void test_cast(const TestInstanceCall *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Called C++ object pointer is null</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.CallAndMessage</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4681ee922f6860377317b26b3a4bb5d4</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_ic_member_ptr</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>37</integer>
|
||||
|
@ -796,9 +806,11 @@ void test_cast(const TestInstanceCall *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Called C++ object pointer is null</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.CallAndMessage</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>e23397f9f2eff1b08593c2b2db137494</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_cast</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>42</integer>
|
||||
|
|
|
@ -40,250 +40,252 @@ int main() {
|
|||
|
||||
// CHECK: <key>diagnostics</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>path</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>22</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>22</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>17</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>event</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>path</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <key>ranges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>22</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>22</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>17</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
||||
// CHECK-NEXT: <key>extended_message</key>
|
||||
// CHECK-NEXT: <string>'p' initialized to 0</string>
|
||||
// CHECK-NEXT: <key>message</key>
|
||||
// CHECK-NEXT: <string>'p' initialized to 0</string>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>event</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <key>ranges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>event</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <key>ranges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
||||
// CHECK-NEXT: <key>extended_message</key>
|
||||
// CHECK-NEXT: <string>'p' initialized to 0</string>
|
||||
// CHECK-NEXT: <key>message</key>
|
||||
// CHECK-NEXT: <string>'p' initialized to 0</string>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>13</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>17</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>5</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
||||
// CHECK-NEXT: <key>extended_message</key>
|
||||
// CHECK-NEXT: <string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>message</key>
|
||||
// CHECK-NEXT: <string>Division by zero</string>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>description</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>main</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>15</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>25</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>3</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>4</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>control</string>
|
||||
// CHECK-NEXT: <key>edges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>start</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>7</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>24</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>end</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>kind</key><string>event</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <key>ranges</key>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <array>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>13</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>17</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>depth</key><integer>0</integer>
|
||||
// CHECK-NEXT: <key>extended_message</key>
|
||||
// CHECK-NEXT: <string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>message</key>
|
||||
// CHECK-NEXT: <string>Division by zero</string>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
// CHECK-NEXT: <key>description</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Division by zero</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.DivideZero</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>86cb845e4f1e6abde1c5b319d5b08eca</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>main</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>15</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>35</integer>
|
||||
// CHECK-NEXT: <key>col</key><integer>15</integer>
|
||||
// CHECK-NEXT: <key>file</key><integer>0</integer>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </dict>
|
||||
// CHECK-NEXT: </array>
|
||||
|
|
|
@ -284,9 +284,11 @@ void repeatedStores(int coin) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3ff6dd9f2084f4a0dac8c3688c02fd0f</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testNull</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
||||
|
@ -510,9 +512,11 @@ void repeatedStores(int coin) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>208c1267ca2da821fcc1b9183e1d624b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>initWithID:</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>33</integer>
|
||||
|
@ -785,9 +789,11 @@ void repeatedStores(int coin) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>9e1f67627fbbfb46b4e3a618246e6b0a</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>repeatedStores</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>11</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>11</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>50</integer>
|
||||
|
|
|
@ -367,9 +367,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b41b510812f2a0d8735c67dfff6a9a5c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_working</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>54</integer>
|
||||
|
@ -530,9 +532,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>61d185b2522d15fb327f6784e0217adf</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_cf_leak</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>96</integer>
|
||||
|
@ -589,9 +593,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>63df5972efc8a7acccdbd2aca10c9e9e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>rdar9424882</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>119</integer>
|
||||
|
@ -648,9 +654,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>125290ceaf2b55f5778c262d87b2b6d5</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>from_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>139</integer>
|
||||
|
@ -707,9 +715,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>54627578ee3b8520400ae899bc32b3d6</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>from_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>144</integer>
|
||||
|
@ -766,9 +776,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>27c31d7f5825a1613c0206b5be082800</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>from_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>7</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>7</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>145</integer>
|
||||
|
@ -825,9 +837,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a59b85c1e38300cb17eaeedcf193f94b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>from_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>146</integer>
|
||||
|
@ -1003,9 +1017,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5baa7d5f38420d0a035aa61607675f3e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>from_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>7</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>7</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>146</integer>
|
||||
|
@ -1132,9 +1148,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4665e04694fd55e7c4ed7a67860b3b74</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>from_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>147</integer>
|
||||
|
@ -1191,9 +1209,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>70a67cc8fefa3ad133a35c3ffb579b9e</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>to_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>150</integer>
|
||||
|
@ -1250,9 +1270,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>afc41cacb8f32bfbe4a4152f20cec5bc</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>to_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>151</integer>
|
||||
|
@ -1309,9 +1331,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>e512cd0ada59beca5acfa53e2a632670</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>to_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>152</integer>
|
||||
|
@ -1368,9 +1392,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a43ae78dcef14395931eeb452f81819f</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>to_cf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>153</integer>
|
||||
|
@ -1512,9 +1538,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>798e65f80df0526369f9bb240e3d91fd</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_objc_unretainedObject</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>166</integer>
|
||||
|
@ -1811,9 +1839,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>e1fbcc142b678b3c2c43737ee35b64d9</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_objc_arrays</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>24</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>24</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>202</integer>
|
||||
|
@ -1981,9 +2011,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>e300a279615a384d2b310329651d3978</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>rdar11059275_positive</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>216</integer>
|
||||
|
@ -2096,9 +2128,11 @@ id rdar14061675() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>37efdaee587b783c6d49a228ff5ba49f</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>rdar14061675</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>230</integer>
|
||||
|
|
|
@ -221,9 +221,11 @@ void test2(int *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Bad deallocator</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.MismatchedDeallocator</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>81d63a132b4ef0cc96734c17440a1c26</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>noteOnMacro</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>16</integer>
|
||||
|
@ -316,9 +318,11 @@ void test2(int *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory Error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Memory leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.Malloc</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2d723d9fb4e5f10dd54a7396866dfce4</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>macroIsFirstInFunction</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>21</integer>
|
||||
|
@ -562,9 +566,11 @@ void test2(int *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3570104919aab3f953357f8c87b68bd7</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>macroInExpression</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>30</integer>
|
||||
|
@ -808,9 +814,11 @@ void test2(int *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>deff163b13f3fd860bc332498b0dbc59</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>macroInExpressionNoNote</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>39</integer>
|
||||
|
@ -1020,9 +1028,11 @@ void test2(int *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b67b58d85375752578e947b77c6aa70c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>macroWithArgInExpression</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>47</integer>
|
||||
|
@ -1164,9 +1174,11 @@ void test2(int *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b53410f6c0d3d07e62ce5c6f91a1810a</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>useMultiNoteMacroWithError</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>56</integer>
|
||||
|
@ -1371,9 +1383,11 @@ void test2(int *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>41f58f9549aa1867e461a7996a8d335c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>useMultiNote</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>70</integer>
|
||||
|
@ -1592,9 +1606,11 @@ void test2(int *p) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2dc47a4afc2f349f12217b38588769f4</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>null_deref</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>78</integer>
|
||||
|
|
|
@ -159,9 +159,11 @@ void rdar8331641(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>dc9c2a657ca759f9744cde2e093cfd59</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_init</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>6</integer>
|
||||
|
@ -303,9 +305,11 @@ void rdar8331641(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8f95d9681490a4e52c167969d0957b39</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_assign</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>12</integer>
|
||||
|
@ -510,9 +514,11 @@ void rdar8331641(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>94c43fbcad6aaff4ee7433f2d2db0bbe</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_assign_transitive</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
||||
|
@ -688,9 +694,11 @@ void rdar8331641(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>659f01507ffd7efd3ca3eab7179fd7d2</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_cond</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
|
@ -895,9 +903,11 @@ void rdar8331641(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c90d51e62139e614b57aff7021240a82</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_cond_transitive</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
|
@ -1073,9 +1083,11 @@ void rdar8331641(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>245408d2bc416e324064d990e6dd82a8</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_field</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>38</integer>
|
||||
|
@ -1367,9 +1379,11 @@ void rdar8331641(int x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>29a10ca4af622b6146ca082e49d919d6</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>rdar8331641</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>58</integer>
|
||||
|
|
|
@ -296,9 +296,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>dc9c2a657ca759f9744cde2e093cfd59</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_init</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>6</integer>
|
||||
|
@ -440,9 +442,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8f95d9681490a4e52c167969d0957b39</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_assign</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>12</integer>
|
||||
|
@ -647,9 +651,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>94c43fbcad6aaff4ee7433f2d2db0bbe</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_assign_transitive</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>19</integer>
|
||||
|
@ -825,9 +831,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>659f01507ffd7efd3ca3eab7179fd7d2</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_cond</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>24</integer>
|
||||
|
@ -1032,9 +1040,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c90d51e62139e614b57aff7021240a82</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_cond_transitive</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>31</integer>
|
||||
|
@ -1210,9 +1220,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>245408d2bc416e324064d990e6dd82a8</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_null_field</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>38</integer>
|
||||
|
@ -1514,9 +1526,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b12acffa40177b55b695aa2292533410</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_assumptions</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>50</integer>
|
||||
|
@ -1784,9 +1798,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c0a32b8291b0fc7230f847f05f415625</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_cond_assign</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>58</integer>
|
||||
|
@ -1928,9 +1944,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>ea1d5db6b4c380a432c88139fdd18f42</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>77</integer>
|
||||
|
@ -1987,9 +2005,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead initialization</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3dd1ebf91fa4e92eeec82faaeb48beda</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>86</integer>
|
||||
|
@ -2150,9 +2170,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f533db5cbb9c20d171f9f92105789dc4</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>88</integer>
|
||||
|
@ -2459,9 +2481,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>08f9a01186cb2f1b78b08ec20260f1c1</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>rdar12280665</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>98</integer>
|
||||
|
@ -2763,9 +2787,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>93a53e4c8f02d191b07477940ddcf89c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>radar12322528_for</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>111</integer>
|
||||
|
@ -3067,9 +3093,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f2d2dbf579b0b21a6b68726df6a041fc</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>radar12322528_while</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>7</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>7</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>121</integer>
|
||||
|
@ -3444,9 +3472,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>95c7d39fb9d0d8c172b894e02855a07c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>radar12322528_foo_2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>130</integer>
|
||||
|
@ -3884,9 +3914,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4cbbc713c8267513fef8a33f1327d7ca</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_loop_diagnostics</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>136</integer>
|
||||
|
@ -4358,9 +4390,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a5aa7cf7ce6ba6683bebfff63df926fd</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_loop_diagnostics_2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>145</integer>
|
||||
|
@ -4832,9 +4866,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3917bac4f8fdce1f6c6393b1f14a1320</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_loop_diagnostics_3</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>7</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>7</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>155</integer>
|
||||
|
@ -4879,9 +4915,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Dead store</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dead increment</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>deadcode.DeadStores</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c94f341ebaf0fac5d6703aaa7e6bee9b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_loop_fast_enumeration</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>163</integer>
|
||||
|
@ -5085,10 +5123,12 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>description</key><string>The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage</string>
|
||||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Assigned value is garbage or undefined</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.uninitialized.Assign</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.uninitialized.Assign</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>21c774309bdfd487c3d09a61a671bbcc</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_loop_fast_enumeration</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>163</integer>
|
||||
|
@ -5196,9 +5236,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b21eba78798501dc6b716bb91e3f7f01</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>172</integer>
|
||||
|
@ -5306,9 +5348,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Argument with 'nonnull' attribute passed null</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NonNullParamChecker</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>c0b359a043c633f1b8d1581f68743361</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>RDar13295437</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>184</integer>
|
||||
|
@ -5547,9 +5591,11 @@ int testFoo(Foo *x) {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a225fec9dc1e56142b68b3df82b00b6c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testFoo</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>194</integer>
|
||||
|
|
|
@ -209,9 +209,11 @@ void retainReleaseIgnored () {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak of object when using garbage collection</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>487197d1f3d333a1fb4d7610b6d852df</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>creationViaCFCreate</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>44</integer>
|
||||
|
@ -653,9 +655,11 @@ void retainReleaseIgnored () {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak of object when using garbage collection</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4f71073d5e7f2546564c1614dfc95420</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>makeCollectable</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>53</integer>
|
||||
|
@ -1022,9 +1026,11 @@ void retainReleaseIgnored () {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Bad release</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3d18c66bf99e8cd2938e8c63c345f6ea</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>retainReleaseIgnored</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>5</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>5</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>61</integer>
|
||||
|
@ -1207,9 +1213,11 @@ void retainReleaseIgnored () {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak of returned object when using garbage collection</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d012b4dfd7d763f06cdb53f8b5708275</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>getViolation</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>67</integer>
|
||||
|
@ -1392,9 +1400,11 @@ void retainReleaseIgnored () {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak of returned object when using garbage collection</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b241509266f9d666b8335e0ee2f45adf</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>copyViolation</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>72</integer>
|
||||
|
|
|
@ -465,9 +465,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d21e9660cc6434ef84a51f39ffcdce86</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>creationViaAlloc</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>48</integer>
|
||||
|
@ -609,9 +611,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>f8ec2601a04113e567aa1d09c9902c91</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>creationViaCFCreate</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>53</integer>
|
||||
|
@ -978,9 +982,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>dd26a8ad9a7a057feaa636974b43ccb0</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>acquisitionViaMethod</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>61</integer>
|
||||
|
@ -1197,9 +1203,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>2f2de5d7fe728958585598b619069e5a</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>acquisitionViaProperty</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>67</integer>
|
||||
|
@ -1416,9 +1424,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1c02b65e83dad1b22270ff5a71de3118</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>acquisitionViaCFFunction</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>73</integer>
|
||||
|
@ -1635,9 +1645,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Use-after-release</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>03c23f0f82d7f2fd880a22e0d9cf14b9</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>explicitDealloc</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>79</integer>
|
||||
|
@ -1854,9 +1866,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Use-after-release</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>6f1b3f0c6c7f79f1af9b313273a01e92</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>implicitDealloc</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>85</integer>
|
||||
|
@ -2148,9 +2162,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Object autoreleased too many times</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>cb5e4205a8f925230a70715914a2e3d2</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>overAutorelease</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>92</integer>
|
||||
|
@ -2367,9 +2383,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Object autoreleased too many times</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1edd178e5ad76c79ce9812f519e8f467</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>autoreleaseUnowned</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>98</integer>
|
||||
|
@ -2661,9 +2679,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>3f08690fae9687c29bb23b7a7cb7995b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>makeCollectableIgnored</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>105</integer>
|
||||
|
@ -2846,9 +2866,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Method should return an owned object</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4b621ab5f8f2ef9240699119f4d874cb</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>CFCopyRuleViolation</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>110</integer>
|
||||
|
@ -3031,9 +3053,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak of returned object</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5248d2310322982d02e5f3d564249b4f</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>CFGetRuleViolation</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>115</integer>
|
||||
|
@ -3216,9 +3240,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Method should return an owned object</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4f23ad2725fb68134cec8b8354cd295c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>copyViolation</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>121</integer>
|
||||
|
@ -3401,9 +3427,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Method should return an owned object</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>da1dab126ed46b144040160ae8628460</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>copyViolationIndexedSubscript</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>126</integer>
|
||||
|
@ -3586,9 +3614,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Method should return an owned object</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>52877f9471b1ecdaf213b39016b84e52</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>copyViolationKeyedSubscript</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>131</integer>
|
||||
|
@ -3771,9 +3801,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak of returned object</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>cf8c65a18ad9982cb9848a266cd9c61b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>getViolation</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>136</integer>
|
||||
|
@ -3990,9 +4022,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Method should return an owned object</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>e7b798151545b45a994592df0d27d250</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>copyAutorelease</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>142</integer>
|
||||
|
@ -4134,9 +4168,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Bad release</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4e0c810e2b301aca3f636ad7e3d6b0b8</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testNumericLiteral</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>171</integer>
|
||||
|
@ -4278,9 +4314,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Bad release</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1d054002016aa4360aaf23a4c4d8fbb7</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testBoxedInt</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>176</integer>
|
||||
|
@ -4422,9 +4460,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Bad release</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>67ca92144b05322ee4569aea88d08595</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testBoxedString</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>181</integer>
|
||||
|
@ -4566,9 +4606,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Bad release</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>32fcec71872b8f62d8d7b1b05284b0fe</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testArray</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>186</integer>
|
||||
|
@ -4710,9 +4752,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Bad release</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d9584825bb1e62066879949e3ade8570</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>testDictionary</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>191</integer>
|
||||
|
@ -5091,9 +5135,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>eef2aef4b58abf21fcfa4bbf69e19c02</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>226</integer>
|
||||
|
@ -5443,9 +5489,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Leak</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8c27524f691296551f9e52856b824326</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>8</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>8</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>237</integer>
|
||||
|
@ -5737,9 +5785,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Object autoreleased too many times</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4fc36e73ba317d307dc9cc4b3d62fd0a</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>CFOverAutorelease</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>250</integer>
|
||||
|
@ -5956,9 +6006,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Object autoreleased too many times</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>08e6a3931d34cda45c09dfda76976e17</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>CFAutoreleaseUnowned</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>3</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>3</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>256</integer>
|
||||
|
@ -6250,9 +6302,11 @@ void CFAutoreleaseUnownedMixed() {
|
|||
// CHECK-NEXT: <key>category</key><string>Memory (Core Foundation/Objective-C)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Object autoreleased too many times</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.cocoa.RetainCount</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>d9bb23a5435fe15df9d7ffdc27a8a072</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>CFAutoreleaseUnownedMixed</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>4</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>4</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>263</integer>
|
||||
|
|
|
@ -407,9 +407,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Improper use of 'open'</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5ef25c5c47db3dbfb329901d426452e7</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_open</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>6</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>6</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>55</integer>
|
||||
|
@ -556,9 +558,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>API Misuse (Apple)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Improper use of 'dispatch_once'</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>173fbcac3fc64dbaec32768d4cfda250</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_dispatch_once</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>62</integer>
|
||||
|
@ -637,9 +641,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Improper use of 'pthread_once'</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1e2f657a65cf8ee3c3ac2227de05ade4</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_pthread_once</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>73</integer>
|
||||
|
@ -718,9 +724,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>0e841458f0cb7cf161d35f9db5862dcf</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>pr2899</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>82</integer>
|
||||
|
@ -799,9 +807,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>a267ff573c7e8b959a3f886677893eb0</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_calloc</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>94</integer>
|
||||
|
@ -880,9 +890,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>14eb72957baab3c63bac610a10e6f48b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_calloc2</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>100</integer>
|
||||
|
@ -961,9 +973,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>7f6f67ebe3d481aed7750005bea7e371</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_realloc</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>112</integer>
|
||||
|
@ -1042,9 +1056,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>4941698efbd81601653dff10ef9c645b</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_reallocf</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>118</integer>
|
||||
|
@ -1123,9 +1139,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>b7ca3488e81d9d9d4b8dc545258ce97c</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_alloca</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>136</integer>
|
||||
|
@ -1204,9 +1222,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>1ec52551362b070237f47f6bb6c3847d</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_builtin_alloca</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>148</integer>
|
||||
|
@ -1285,9 +1305,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Unix API</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Undefined allocation of 0 bytes (CERT MEM04-C; CWE-131)</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>unix.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>675741e04c8d0071d280324e23f41d35</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_valloc</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>1</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>1</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>160</integer>
|
||||
|
@ -1366,9 +1388,11 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>API Misuse (Apple)</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Improper use of 'dispatch_once'</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>osx.API</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>8ded1f2025c1e4a4bcd5302dc97006d9</string>
|
||||
// CHECK-NEXT: <key>issue_context_kind</key><string>function</string>
|
||||
// CHECK-NEXT: <key>issue_context</key><string>test_dispatch_once_in_macro</string>
|
||||
// CHECK-NEXT: <key>issue_hash</key><string>2</string>
|
||||
// CHECK-NEXT: <key>issue_hash_function_offset</key><string>2</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>184</integer>
|
||||
|
@ -1776,6 +1800,8 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>5d3f4c433004c7a6d4a06aa30cc3ea85</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>192</integer>
|
||||
|
@ -2163,6 +2189,8 @@ void test_inline_dispatch_once() {
|
|||
// CHECK-NEXT: <key>category</key><string>Logic error</string>
|
||||
// CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string>
|
||||
// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string>
|
||||
// CHECK-NEXT: <!-- This hash is experimental and going to change! -->
|
||||
// CHECK-NEXT: <key>issue_hash_content_of_line_in_context</key><string>265c4fd608dafee211bfa93d21c28866</string>
|
||||
// CHECK-NEXT: <key>location</key>
|
||||
// CHECK-NEXT: <dict>
|
||||
// CHECK-NEXT: <key>line</key><integer>202</integer>
|
||||
|
|
|
@ -70,8 +70,8 @@ class AnalysisDiagnostic:
|
|||
id = self.getFileName() + "+"
|
||||
if 'issue_context' in self._data :
|
||||
id += self._data['issue_context'] + "+"
|
||||
if 'issue_hash' in self._data :
|
||||
id += str(self._data['issue_hash'])
|
||||
if 'issue_hash_content_of_line_in_context' in self._data :
|
||||
id += str(self._data['issue_hash_content_of_line_in_context'])
|
||||
return id
|
||||
|
||||
def getReport(self):
|
||||
|
|
Loading…
Reference in New Issue