[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/slicing/top.c (with preprocessing)
[slicing] slicing requests in progress...
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
[value] Values of globals at initialization
  
tests/slicing/top.c:27:[kernel] warning: out of bounds read. assert \valid_read(p_str+i);
[value] computing for function strlen <- main.
        Called from tests/slicing/top.c:27.
tests/slicing/top.c:21:[value] entering loop for the first time
tests/slicing/top.c:21:[kernel] warning: out of bounds read. assert \valid_read(q);
tests/slicing/top.c:21:[kernel] warning: signed overflow. assert k+1 ≤ 2147483647;
[value] Recording results for strlen
[value] Done for function strlen
[value] Recording results for main
[value] done for function main
[slicing] making slicing project 'Slicing'...
[slicing] interpreting slicing requests from the command line...
[pdg] computing for function strlen
[pdg] done for function strlen
[slicing] applying all slicing requests...
[slicing] applying 0 actions...
[slicing] applying all slicing requests...
[slicing] applying 1 actions...
[slicing] applying actions: 1/1...
[pdg] computing for function main
[from] Computing for function strlen
[from] Done for function strlen
[pdg] done for function main
[slicing] exporting project to 'Slicing export'...
[slicing] applying all slicing requests...
[slicing] applying 0 actions...
[sparecode] remove unused global declarations from project 'Slicing export tmp'
[sparecode] removed unused global declarations in new project 'Slicing export'
/* Generated by Frama-C */
int strlen_slice_1(char *p)
{
  char *q;
  int k;
  k = 0;
  q = p;
  while (*q) {
    k ++;
    q ++;
  }
  return k;
}

void main(char **p_str, int i)
{
  strlen_slice_1(*(p_str + i));
  return;
}


