Re: Help: static code anaylis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:

On Wed, 13 May 2020 at 17:57, Kunal Chauhan via Gcc-help
<gcc-help@xxxxxxxxxxx> 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).



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux