int abs(int x)
{
  int res;
  if (x < 0) res = - x; else res = x;
  return res;
}


Unproved alarms:
abs.c:4: Signed_overflow(- x <= 2147483647) {true;false}
Proved 1/2 alarms

/ Name Type Value