Re: [PATCH 2/4] - relax strlen range optimization to avoid making assumptions about types

2018-10-10 Thread Martin Sebor
On 10/10/2018 03:18 PM, Jeff Law wrote: On 10/2/18 10:37 AM, Martin Sebor wrote: [2/4] - Relax strlen range optimization to avoid making assumptions about types This main part of this patch is to relax the strlen range optimization to avoid relying on array types. Instead, the

Re: [PATCH 2/4] - relax strlen range optimization to avoid making assumptions about types

2018-10-10 Thread Jeff Law
On 10/2/18 10:37 AM, Martin Sebor wrote: > [2/4] - Relax strlen range optimization to avoid making assumptions > about types > > This main part of this patch is to relax the strlen range > optimization to avoid relying on array types.  Instead, the function > either removes the upper 

[PATCH 2/4] - relax strlen range optimization to avoid making assumptions about types

2018-10-02 Thread Martin Sebor
[2/4] - Relax strlen range optimization to avoid making assumptions about types This main part of this patch is to relax the strlen range optimization to avoid relying on array types. Instead, the function either removes the upper bound of the strlen result altogether, or constrains it