You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.7 KiB

3 years ago
---
title: "Buffer Overrun Analysis (InferBO)"
description: "InferBO is a detector for out-of-bounds array accesses."
---
InferBO is a detector for out-of-bounds array accesses.
Activate with `--bufferoverrun`.
Supported languages:
- C/C++/ObjC: Yes
- Java: Yes
- C#/.Net: Yes
You can read about its origins in this [blog post](https://research.fb.com/inferbo-infer-based-buffer-overrun-analyzer/).
## List of Issue Types
The following issue types are reported by this checker:
- [BUFFER_OVERRUN_L1](/docs/all-issue-types#buffer_overrun_l1)
- [BUFFER_OVERRUN_L2](/docs/all-issue-types#buffer_overrun_l2)
- [BUFFER_OVERRUN_L3](/docs/all-issue-types#buffer_overrun_l3)
- [BUFFER_OVERRUN_L4](/docs/all-issue-types#buffer_overrun_l4)
- [BUFFER_OVERRUN_L5](/docs/all-issue-types#buffer_overrun_l5)
- [BUFFER_OVERRUN_S2](/docs/all-issue-types#buffer_overrun_s2)
- [BUFFER_OVERRUN_U5](/docs/all-issue-types#buffer_overrun_u5)
- [CONDITION_ALWAYS_FALSE](/docs/all-issue-types#condition_always_false)
- [CONDITION_ALWAYS_TRUE](/docs/all-issue-types#condition_always_true)
- [INFERBO_ALLOC_IS_BIG](/docs/all-issue-types#inferbo_alloc_is_big)
- [INFERBO_ALLOC_IS_NEGATIVE](/docs/all-issue-types#inferbo_alloc_is_negative)
- [INFERBO_ALLOC_IS_ZERO](/docs/all-issue-types#inferbo_alloc_is_zero)
- [INFERBO_ALLOC_MAY_BE_BIG](/docs/all-issue-types#inferbo_alloc_may_be_big)
- [INFERBO_ALLOC_MAY_BE_NEGATIVE](/docs/all-issue-types#inferbo_alloc_may_be_negative)
- [INTEGER_OVERFLOW_L1](/docs/all-issue-types#integer_overflow_l1)
- [INTEGER_OVERFLOW_L2](/docs/all-issue-types#integer_overflow_l2)
- [INTEGER_OVERFLOW_L5](/docs/all-issue-types#integer_overflow_l5)
- [INTEGER_OVERFLOW_U5](/docs/all-issue-types#integer_overflow_u5)
- [UNREACHABLE_CODE](/docs/all-issue-types#unreachable_code)