|
|
|
@ -189,6 +189,11 @@
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/WriterLeaks.java",
|
|
|
|
|
"procedure": "void WriterLeaks.bufferedWriterNotClosedAfterWrite()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
"procedure": "Object GuardedByExample.byRefTrickyBad()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "RESOURCE_LEAK",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/FilterInputStreamLeaks.java",
|
|
|
|
@ -734,6 +739,51 @@
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/ResourceLeaks.java",
|
|
|
|
|
"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.readFBadButSuppressedOther()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"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": "String GuardedByExample$3.readFromInnerClassBad1()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
"procedure": "String GuardedByExample$4.readFromInnerClassBad2()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"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",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/ResourceLeaks.java",
|
|
|
|
@ -794,6 +844,21 @@
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/NullPointerExceptions.java",
|
|
|
|
|
"procedure": "void NullPointerExceptions.stringVarEqualsFalseNPE()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
"procedure": "void GuardedByExample.synchronizedMethodReadBad()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
"procedure": "void GuardedByExample.synchronizedMethodWriteBad()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
"procedure": "void GuardedByExample.synchronizedOnThisBad()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "NULL_DEREFERENCE",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/NullPointerExceptions.java",
|
|
|
|
@ -834,6 +899,21 @@
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/CloseableAsResourceExample.java",
|
|
|
|
|
"procedure": "void CloseableAsResourceExample.withException()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
"procedure": "void GuardedByExample.writeFAfterBlockBad()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
"procedure": "void GuardedByExample.writeFBad()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "UNSAFE_GUARDED_BY_ACCESS",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/GuardedByExample.java",
|
|
|
|
|
"procedure": "void GuardedByExample.writeFBadWrongLock()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"bug_type": "RESOURCE_LEAK",
|
|
|
|
|
"file": "infer/tests/codetoanalyze/java/infer/WriterLeaks.java",
|
|
|
|
|