SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #104: ITC-Benchmarks

Results: 100 test cases in 5 pages. Pages: 1 2 3 4 5
Go to page:

Select Test Case ID(down) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1992312016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Bit shift ...CWE-189: Numeric Errors
Bad test case
1992322016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Bit shift ...CWE-189: Numeric Errors
Good test case
1992332016-07-22CSource CodeCandidate Defect Type: Dynamic memory defects. Defect Sub-type: Dynamic bufferoCWE-121: Stack-based Buffer Overflow
CWE-122: Heap-based Buffer Overflow
CWE-468: Incorrect Pointer Scaling
CWE-476: NULL Pointer Dereference
CWE-704: Incorrect Type Conversion or Cast
CWE-823: Use of Out-of-range Pointer Offset
Bad test case
1992342016-07-22CSource CodeCandidate Defect Type: Dynamic memory defects. Defect Sub-type: Dynamic bufferoCWE-122: Heap-based Buffer Overflow
CWE-468: Incorrect Pointer Scaling
CWE-476: NULL Pointer Dereference
CWE-704: Incorrect Type Conversion or Cast
Good test case
1992352016-07-22CSource CodeCandidate Defect Type: Dynamic memory defects. Defect Sub-type: Dynamic bufferuCWE-124: Buffer Underwrite ('Buffer Underflow')
CWE-401: Improper Release of Memory Before Removing Last Reference ('Memory Leak')
CWE-468: Incorrect Pointer Scaling
CWE-476: NULL Pointer Dereference
CWE-704: Incorrect Type Conversion or Cast
Bad test case
1992362016-07-22CSource CodeCandidate Defect Type: Dynamic memory defects. Defect Sub-type: Dynamic bufferuCWE-124: Buffer Underwrite ('Buffer Underflow')
CWE-476: NULL Pointer Dereference
CWE-704: Incorrect Type Conversion or Cast
Good test case
1992372016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: ...CWE-480: Use of Incorrect Operator
CWE-561: Dead Code
Bad test case
1992382016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: ...CWE-480: Use of Incorrect Operator
CWE-561: Dead Code
Good test case
1992392016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Contradict ...CWE-398: Indicator of Poor Code Quality
CWE-561: Dead Code
Bad test case
1992402016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Contradict ...CWE-398: Indicator of Poor Code Quality
CWE-561: Dead Code
Good test case
1992412016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Integer ...CWE-197: Numeric Truncation Error
Bad test case
1992422016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Integer ...CWE-197: Numeric Truncation Error
Good test case
1992432016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Data overflow. ...CWE-190: Integer Overflow or Wraparound
Bad test case
1992442016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Data overflow. ...CWE-190: Integer Overflow or Wraparound
Good test case
1992452016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Data underflow. ...CWE-191: Integer Underflow (Wrap or Wraparound)
Bad test case
1992462016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Data underflow. ...CWE-191: Integer Underflow (Wrap or Wraparound)
Good test case
1992472016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Dead code. ...CWE-561: Dead Code
Bad test case
1992482016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Dead code. ...CWE-561: Dead Code
Good test case
1992492016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Dead lock. CWE-833: Deadlock
Bad test case
1992502016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Dead lock. ...CWE-833: Deadlock
Good test case
1 2 3 4 5
Total of selected test cases: 100
Total pages: 5