Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

When I use it to detect the problem of out-of-bounds memory overflow in the array, it cannot be found #27

Answered by jgottschlich
DylanSang asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @DylanSang -

Thanks for looking into ControlFlag (CF) and exploring its capabilities.

Currently, CF only considers control expressions (e.g., if statement conditionals). This is because in many of the programming language defect surveys we had read, we observed that many of the coding defects came from ill-formed conditional expressions (i.e., incorrectly expressed Boolean logic).

That said, we do plan to add support for "learned" instruction-level static analysis in the coming months. It's our hope that CF will be able to detect these instruction-level defects (like the one you describe, which is clearly an "out of bounds" array access error) in the coming months.

Does all of this mak…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DylanSang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants