unique_id int64 29 189k | target stringclasses 118
values | code stringlengths 810 20.5k | __index_level_0__ int64 0 2.04k |
|---|---|---|---|
73,752 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_16.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-16.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 0 |
54,196 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_13.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-13.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 1 |
169,124 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_02.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-02.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 2 |
109,551 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_07.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-07.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 3 |
78,906 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_10.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-10.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 4 |
169,746 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_12.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-12.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 5 |
145,939 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_14.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-14.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 6 |
154,252 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_09.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-09.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 7 |
38,512 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_05.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-05.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 8 |
96,336 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_11.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-11.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 9 |
123,788 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_04.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-04.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 10 |
185,961 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_17.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-17.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 11 |
158,921 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_06.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-06.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 12 |
28,508 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_08.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-08.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 13 |
83,192 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_15.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-15.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 14 |
111,482 | CWE685 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic_03.c
Label Definition File: CWE685_Function_Call_With_Incorrect_Number_of_Arguments__basic.label.xml
Template File: point-flaw-03.tmpl.c
*/
/*
* @description
* CWE: 685 Function Call With Incorrect Number of A... | 15 |
35,780 | CWE835 | /*
* @description Infinite Loop - do..while()
*
* */
#include "std_testcase.h"
#ifndef OMITBAD
void CWE835_Infinite_Loop__do_true_01_bad()
{
int i = 0;
/* FLAW: Infinite Loop - do..while(true) with no break point */
do
{
printIntLine(i);
i++;
} while(1);
}
#endif /* OMI... | 16 |
137,451 | CWE835 | /*
* @description Infinite Loop - while()
*
* */
#include "std_testcase.h"
#ifndef OMITBAD
void CWE835_Infinite_Loop__while_01_bad()
{
int i = 0;
/* FLAW: Infinite Loop - while() with no break point */
while(i >= 0)
{
printIntLine(i);
i = (i + 1) % 256;
}
}
#endif /* OM... | 17 |
145,716 | CWE835 | /*
* @description Infinite Loop - do..while()
*
* */
#include "std_testcase.h"
#ifndef OMITBAD
void CWE835_Infinite_Loop__do_01_bad()
{
int i = 0;
/* FLAW: Infinite Loop - do..while() with no break point */
do
{
printIntLine(i);
i = (i + 1) % 256;
} while(i >= 0);
}
#en... | 18 |
113,535 | CWE835 | /*
* @description Infinite Loop - for()
*
* */
#include "std_testcase.h"
#ifndef OMITBAD
void CWE835_Infinite_Loop__for_01_bad()
{
int i = 0;
/* FLAW: Infinite Loop - for() with no break point */
for (i = 0; i >= 0; i = (i + 1) % 256)
{
printIntLine(i);
}
}
#endif /* OMITBAD */... | 19 |
163,328 | CWE835 | /*
* @description Infinite Loop - while(true)
*
* */
#include "std_testcase.h"
#ifndef OMITBAD
void CWE835_Infinite_Loop__while_true_01_bad()
{
int i = 0;
/* FLAW: Infinite Loop - while(true) with no break point */
while(1)
{
printIntLine(i);
i++;
}
}
#endif /* OMITBAD ... | 20 |
10,336 | CWE835 | /*
* @description Infinite Loop - for()
*
* */
#include "std_testcase.h"
#ifndef OMITBAD
void CWE835_Infinite_Loop__for_empty_01_bad()
{
int i = 0;
/* FLAW: Infinite Loop - for() with no break point */
for(;;)
{
printIntLine(i);
i++;
}
}
#endif /* OMITBAD */
#ifndef O... | 21 |
99,329 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_18.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-18.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 22 |
120,922 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_16.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-16.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 23 |
146,584 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_04.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-04.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 24 |
164,683 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_02.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-02.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 25 |
146,404 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_08.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-08.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 26 |
25,240 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_14.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-14.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 27 |
157,744 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_01.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-01.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 28 |
122,434 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_03.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-03.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 29 |
111,495 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_12.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-12.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 30 |
63,007 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_05.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-05.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 31 |
104,976 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_17.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-17.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 32 |
157,963 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_13.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-13.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 33 |
119,849 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_07.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-07.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 34 |
154,658 | CWE247 | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32_15.c
Label Definition File: CWE247_Reliance_on_DNS_Lookups_in_Security_Decision__w32.label.xml
Template File: point-flaw-15.tmpl.c
*/
/*
* @description
* CWE: 247 Reliance on DNS Lookups in a Security Decision
* Si... | 35 |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 11