[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/rte/memaccess.c (with preprocessing)
[rte] annotating function main
/* Generated by Frama-C */
int main(int x)
{
  int __retres;
  int *p;
  int *q;
  int tab[10];
  /*@ assert rte: mem_access: \valid(p); */
  *p = 3;
  q = p;
  /*@ assert rte: mem_access: \valid(q); */
  /*@ assert rte: signed_overflow: *p+5 ≤ 2147483647; */
  /*@ assert rte: mem_access: \valid_read(p); */
  *q = *p + 5;
  /*@ assert rte: mem_access: \valid_read(q); */
  tab[3] = *q;
  /*@ assert rte: index_bound: 0 ≤ x; */
  /*@ assert rte: index_bound: x < 10; */
  /*@ assert rte: mem_access: \valid_read(q); */
  tab[x] = *q;
  p = & tab[2];
  p = & tab[x];
  /*@ assert rte: mem_access: \valid(p+1); */
  *(p + 1) = tab[0];
  /*@ assert rte: mem_access: \valid(p+1); */
  /*@ assert rte: index_bound: 0 ≤ x; */
  /*@ assert rte: index_bound: x < 10; */
  *(p + 1) = tab[x];
  /*@ assert rte: mem_access: \valid(q); */
  /*@ assert rte: mem_access: \valid_read(p+2); */
  *q = *(p + 2);
  __retres = 0;
  return __retres;
}


