Research Article
A Buffer Overflow Prediction Approach Based on Software Metrics and Machine Learning
Table 1
C/C + + language experimental data set specific data.
| ā | GOOD | BAD | Total | Good | Good Sink | Good Source | Good Auxiliary | Bad | Bad Sink | Bad Source |
| Stack-based buffer overflow | 5810 | 2748 | 312 | 7149 | 4716 | 2052 | 288 | 23075 | Heap-based buffer overflow | 7122 | 3076 | 968 | 9064 | 6733 | 2448 | 628 | 30039 | Buffer overflow | 2380 | 1180 | 208 | 3192 | 2472 | 1024 | 144 | 10600 | Integer overflow | 4608 | 4284 | 576 | 10872 | 4716 | 2052 | 288 | 27396 | Integer underflow | 3348 | 3234 | 408 | 8100 | 3414 | 1548 | 204 | 20256 | Total | 23268 | 14522 | 2472 | 38377 | 22051 | 9124 | 1552 | 111366 |
|
|