I wanna generate a software, which should read a C file and check for some rules.
I mean, some lines will be syntactically correct according to C compiler. But logically sm lines will be wrong.
I wanna detect such lines using this software.
Please help me how to start with....