I installed frama-c in my system.
What it does it, it converts all my code into more expanded form with all the implicit conversions of C..
(E.g)
//My Actual Code
if(opTab ==NULL || symTab ==NULL || intermediateFile==NULL || sourceCode ==NULL)
{
printf("\nError in opening file streams");
exit(EXIT_FAILURE);
}
//Frama-c converted code
if (opTab == (void *)0) {
printf((char const *)"\nError in opening file streams");
exit(1);
}
else {
if (symTab == (void *)0) {
printf((char const *)"\nError in opening file streams");
exit(1);
}
else {
if (intermediateFile == (void *)0) {
printf((char const *)"\nError in opening file streams");
exit(1);
}
else {
if (sourceCode == (void *)0) {
printf((char const *)"\nError in opening file streams");
exit(1);
}
}
}
}
Now my doubt is , Before creating an object program, whether C compiler do all implicit convertions?
OR
whether during creation of object program , these implicit conversions is done in parallelly?
OR
It is implementation dependent? If so, why?