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).