National Institute of Standards and Technology
Package illustrating a test case

Test case 199266

Description

Defect Type: Pointer related defects
Defect Sub-type: Bad cast of a function pointer
Description: Defect Free Code to identify false positives in bad cast of function pointer
The test case contains coincidental weaknesses along with intended ones as follows for file func_pointer.c:
* line(s): 133,442 CWE-401
* line(s): 160,166,186,188,189,220,226,239,250,251,272,605,623 CWE-476
* line(s): 250 CWE-465
* line(s): 324,353 CWE-561

Flaws

Test Suites

Have any comments on this test case? Please, send us an email.