|
|
@ -734,41 +734,6 @@
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/ResourceLeaks.java",
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/ResourceLeaks.java",
|
|
|
|
"procedure": "int ResourceLeaks.readConfigNotCloseStream(String)"
|
|
|
|
"procedure": "int ResourceLeaks.readConfigNotCloseStream(String)"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
|
|
|
"procedure": "void GuardedByExample.readFAfterBlockBad()"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
|
|
|
"procedure": "void GuardedByExample.readFBad()"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
|
|
|
"procedure": "void GuardedByExample.readFBadWrongAnnotation()"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
|
|
|
"procedure": "void GuardedByExample.readFBadWrongLock()"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
|
|
|
"procedure": "void GuardedByExample.readGFromCopyBad()"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
|
|
|
"procedure": "void GuardedByExample.readHBad()"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
|
|
|
"procedure": "void GuardedByExample.readHBadSynchronizedMethodShouldntHelp()"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"bug_type": "RESOURCE_LEAK",
|
|
|
|
"bug_type": "RESOURCE_LEAK",
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/ResourceLeaks.java",
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/ResourceLeaks.java",
|
|
|
@ -814,11 +779,6 @@
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/CloseableAsResourceExample.java",
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/CloseableAsResourceExample.java",
|
|
|
|
"procedure": "T CloseableAsResourceExample.sourceOfNullWithResourceLeak()"
|
|
|
|
"procedure": "T CloseableAsResourceExample.sourceOfNullWithResourceLeak()"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
|
|
|
"procedure": "void GuardedByExample.synchronizedMethodBad()"
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"bug_type": "NULL_DEREFERENCE",
|
|
|
|
"bug_type": "NULL_DEREFERENCE",
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/NullPointerExceptions.java",
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/NullPointerExceptions.java",
|
|
|
|