Closed dddejan closed 4 years ago
This seems to be a special case of #117, marked it as duplicate
Assuming postcondition TCCs (f8adb1b6e3fc181b155c807f1dc7a6c50d9d0916) should now fix this and also #117. Currently all postcondition TCCs are added as an assume instead of preconditions. This way we might not detect if we mess up something with the translation and variables are out of range when calling a function. We could improve this by detecting if a TCC has return value in it and if yes add as assume, otherwise add as precondition.