[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/slicing/mark_all_slices.c (with preprocessing)
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
[value] Values of globals at initialization
  A ∈ {0}
  B ∈ {0}
  C ∈ {0}
  D ∈ {0}
  A2 ∈ {0}
  B2 ∈ {0}
  C2 ∈ {0}
  D2 ∈ {0}
[value] computing for function fA <- main.
        Called from tests/slicing/mark_all_slices.c:23.
[value] computing for function all <- fA <- main.
        Called from tests/slicing/mark_all_slices.c:17.
[value] Recording results for all
[value] Done for function all
[value] Recording results for fA
[value] Done for function fA
[value] computing for function fB <- main.
        Called from tests/slicing/mark_all_slices.c:24.
[value] computing for function all <- fB <- main.
        Called from tests/slicing/mark_all_slices.c:18.
[value] Recording results for all
[value] Done for function all
[value] Recording results for fB
[value] Done for function fB
[value] computing for function fC <- main.
        Called from tests/slicing/mark_all_slices.c:25.
[value] computing for function all <- fC <- main.
        Called from tests/slicing/mark_all_slices.c:19.
[value] Recording results for all
[value] Done for function all
[value] Recording results for fC
[value] Done for function fC
[value] computing for function fD <- main.
        Called from tests/slicing/mark_all_slices.c:26.
[value] computing for function all <- fD <- main.
        Called from tests/slicing/mark_all_slices.c:20.
[value] Recording results for all
[value] Done for function all
[value] Recording results for fD
[value] Done for function fD
[value] computing for function all <- main.
        Called from tests/slicing/mark_all_slices.c:27.
[value] Recording results for all
[value] Done for function all
[value] Recording results for main
[value] done for function main
[from] Computing for function all
[from] Done for function all
[from] Computing for function fA
[from] Done for function fA
[from] Computing for function fB
[from] Done for function fB
[from] Computing for function fC
[from] Done for function fC
[from] Computing for function fD
[from] Done for function fD
[from] Computing for function main
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
       These dependencies hold at termination for the executions that terminate:
[from] Function all:
  A FROM x
  B FROM x
  C FROM x
  D FROM x
  \result FROM x
[from] Function fA:
  A FROM \nothing
  B FROM \nothing
  C FROM \nothing
  D FROM \nothing
  \result FROM \nothing
[from] Function fB:
  A FROM \nothing
  B FROM \nothing
  C FROM \nothing
  D FROM \nothing
  \result FROM \nothing
[from] Function fC:
  A FROM \nothing
  B FROM \nothing
  C FROM \nothing
  D FROM \nothing
  \result FROM \nothing
[from] Function fD:
  A FROM \nothing
  B FROM \nothing
  C FROM \nothing
  D FROM \nothing
  \result FROM \nothing
[from] Function main:
  A FROM \nothing
  B FROM \nothing
  C FROM \nothing
  D FROM \nothing
  A2 FROM \nothing
  B2 FROM \nothing
  C2 FROM \nothing
  D2 FROM \nothing
  \result FROM \nothing
[from] ====== END OF DEPENDENCIES ======
[slicing] making slicing project 'slicing_1'...
[pdg] computing for function main
[pdg] done for function main
[slicing] applying all slicing requests...
[slicing] applying 1 actions...
[slicing] applying actions: 1/1...
[pdg] computing for function fA
[pdg] done for function fA
[pdg] computing for function all
[pdg] done for function all
[slicing] exporting project to 'Sliced code'...
[slicing] applying all slicing requests...
[slicing] applying 0 actions...
[sparecode] remove unused global declarations from project 'Sliced code tmp'
[sparecode] removed unused global declarations in new project 'Sliced code'
/* Generated by Frama-C */
int A;
int A2;
void all_slice_1(int x)
{
  A = x;
  return;
}

int fA_slice_1(void)
{
  all_slice_1(1);
  return A;
}

void main(void)
{
  A2 = fA_slice_1();
  return;
}


Slicing project worklist [default/slicing_1] =
[all_slice_1 = (n:54(restrict to __retres) ,<[--d], [---]>)]

[slicing] applying all slicing requests...
[slicing] applying 1 actions...
[slicing] applying actions: 1/1...
[slicing] exporting project to 'Sliced code'...
[slicing] applying all slicing requests...
[slicing] applying 0 actions...
[sparecode] remove unused global declarations from project 'Sliced code tmp'
[sparecode] removed unused global declarations in new project 'Sliced code'
/* Generated by Frama-C */
int A;
int A2;
int all_slice_1(int x)
{
  int __retres;
  A = x;
  __retres = x + 1;
  return __retres;
}

int fA_slice_1(void)
{
  all_slice_1(1);
  return A;
}

void main(void)
{
  A2 = fA_slice_1();
  return;
}


Slicing project worklist [default/slicing_1] =
[main_slice_1 = examine_calls]

[slicing] applying all slicing requests...
[slicing] applying 1 actions...
[slicing] applying actions: 1/1...
[pdg] computing for function fB
[pdg] done for function fB
[slicing] exporting project to 'Sliced code'...
[slicing] applying all slicing requests...
[slicing] applying 0 actions...
[sparecode] remove unused global declarations from project 'Sliced code tmp'
[sparecode] removed unused global declarations in new project 'Sliced code'
/* Generated by Frama-C */
int A;
int B;
int A2;
int B2;
int all_slice_2(int x)
{
  int __retres;
  B = x;
  __retres = x + 1;
  return __retres;
}

int all_slice_1(int x)
{
  int __retres;
  A = x;
  __retres = x + 1;
  return __retres;
}

int fA_slice_1(void)
{
  all_slice_1(1);
  return A;
}

int fB_slice_1(void)
{
  all_slice_2(1);
  return B;
}

void main(void)
{
  A2 = fA_slice_1();
  B2 = fB_slice_1();
  return;
}


[slicing] making slicing project 'slicing_2'...
Slicing project worklist [default/slicing_2] =


[slicing] applying all slicing requests...
[slicing] applying 0 actions...
[slicing] exporting project to 'Sliced code'...
[slicing] applying all slicing requests...
[slicing] applying 0 actions...
[sparecode] remove unused global declarations from project 'Sliced code tmp'
[sparecode] removed unused global declarations in new project 'Sliced code'
/* Generated by Frama-C */
int all_slice_1(int x)
{
  int __retres;
  __retres = x + 1;
  return __retres;
}


[slicing] applying all slicing requests...
[slicing] applying 1 actions...
[slicing] applying actions: 1/1...
[slicing] exporting project to 'Sliced code'...
[slicing] applying all slicing requests...
[slicing] applying 0 actions...
[sparecode] remove unused global declarations from project 'Sliced code tmp'
[sparecode] removed unused global declarations in new project 'Sliced code'
/* Generated by Frama-C */
int A;
int A2;
int all_slice_2(int x)
{
  int __retres;
  A = x;
  __retres = x + 1;
  return __retres;
}

int all_slice_1(int x)
{
  int __retres;
  __retres = x + 1;
  return __retres;
}

int fA_slice_1(void)
{
  all_slice_2(1);
  return A;
}

void main(void)
{
  A2 = fA_slice_1();
  return;
}


