Help: static code anaylis
Kunal Chauhan
atkunalchauhan@gmail.com
Wed May 13 17:51:20 GMT 2020
I have am not able to compile my binary,
Will still can i do some static ayalysis ?
On 13 May 2020 11:18 p.m., "Jonathan Wakely" <jwakely.gcc@gmail.com> wrote:
On Wed, 13 May 2020 at 17:57, Kunal Chauhan via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Hi team
>
> I want my source file of c to be checked for code violations and null
check
> etc.
Make sure you're compiling with warnings turned on.
> As from logs crash is coming.
As Dan K. said, you'll probably get more reliable results from dynamic
instrumentation. Try using -fsanitize=undefined and/or
-fsanitize=address. Try using valgrind (not at the same time as
-fsantiize=address).
More information about the Gcc-help
mailing list