You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add human readable error message for invalid main signatures
Currently we have special handling if the entry point for analysis is called
`main`, in particular we assume it is one of the following:
int main(void)
int main(int argc, char *argv[])
int main(int argc, char *argv[], char *envp[])
If it is not so far we have been failing with an UNREACHABLE invariant failure.
Since it is completely possible to have a main signature like that, we should
fail with a proper human readable error message that tells people what is wrong
and maybe how they can work around it.
0 commit comments