Re: [PATCH 2/2] analyzer: strcpy and strncpy semantics

2022-09-02 Thread David Malcolm via Gcc-patches
On Fri, 2022-09-02 at 16:08 +0200, Tim Lange wrote: > Hi, > > below is my patch for the strcpy and strncpy semantics inside the > analyzer, enabling the out-of-bounds checker to also complain about > overflows caused by those two functions. > > As the plan is to reason about the inequality of sym

[PATCH 2/2] analyzer: strcpy and strncpy semantics

2022-09-02 Thread Tim Lange
Hi, below is my patch for the strcpy and strncpy semantics inside the analyzer, enabling the out-of-bounds checker to also complain about overflows caused by those two functions. As the plan is to reason about the inequality of symbolic values in the future, I decided to use eval_condition to com