Dat3M icon indicating copy to clipboard operation
Dat3M copied to clipboard

Wrong result in 30_Function_Pointer3_vs.c

Open hernanponcedeleon opened this issue 3 years ago • 1 comments

The problem is due to the way we handle returns in the boogie code. Currently we assume there is only one return. The file mentioned in the title shoes that is not always the case.

hernanponcedeleon avatar May 12 '21 07:05 hernanponcedeleon

For the time being we throw an exception when (unsupported) function pointers are used. Once we agree how to re-design/implement the whole parsing infrastructure, we need to come back to this issue and properly support function pointers.

hernanponcedeleon avatar Oct 13 '21 13:10 hernanponcedeleon

We have problems (i.e., exception) to handle the function pointer, but at least we do not return a wrong result anymore. Closing.

hernanponcedeleon avatar Oct 05 '23 09:10 hernanponcedeleon