Deprecated test suite
Juliet C/C++ 1.2 Test suite #84
DownloadDescription
A collection of test cases in the C/C++ language. It contains examples for 118 different CWEs.
All documents related to the Juliet Test Suite can be found at the documents page.
This software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guaranties, expressed or implied, about its quality, reliability, or any other characteristic.
Documentation
Displaying test cases 27476 - 27500 of 61387 in total
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 09 Control flow: if(GL...
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 10 Control flow: if(gl...
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 11 Control flow: if(gl...
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 12 Control flow: if(gl...
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 13 Control flow: if(GL...
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 14 Control flow: if(gl...
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 15 Control flow: switc...
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 16 Control flow: while(1)
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 17 Control flow: for l...
-
CWE: 366 Race Condition Within a Thread Sinks: global_int GoodSink: Acquire a lock before attempting to increment a global integer using another function BadSink : Do not acquire a lock before attempting to increment a global integer using another function Flow Variant: 18 Control flow: goto ...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...
-
CWE: 366 Race Condition Within a Thread Sinks: int_byref GoodSink: Acquire a lock before attempting to increment a local integer by passing it as a reference to another function BadSink : Do not acquire a lock before attempting to increment a local integer by passing it as a reference to anoth...