polystat / awesome-bugs

A taxonomy of defects with a benchmarking script that validates which of them can be spot by which static analyzers
MIT License
16 stars 5 forks source link

Onboard buffer overrun case from `clang-tidy-mistakes` repo to `awesome-bugs` #36

Open mximp opened 2 years ago

mximp commented 2 years ago

To consolidate cases for static analysis let's move first case from clang-tidy-mistakes: https://github.com/polystat/clang-tidy-mistakes/blob/master/false-negative/buffer-overrun.cpp

For that need to create bad/good code fragments for c++, Java, Python. Initial code needs to be cleaned up from comments and irrelevant structures/statements.

mximp commented 2 years ago

@yegor256 please assign to myself (maybe I can get rights to assign issues in this repo?).

yegor256 commented 2 years ago

@mximp I gave you permissions