# frama-c -wp [...]
[kernel] Parsing FRAMAC_SHARE/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/wp_plugin/init_const_guard.i (no preprocessing)
[wp] Running WP plugin...
[wp] Loading driver 'share/wp.driver'
[wp] Collecting axiomatic usage
[wp] warning: Missing RTE guards
------------------------------------------------------------
  Function f
------------------------------------------------------------

Goal Post-condition 'Const' in 'f':
Assume {
  (* Initializer *)
  Init: shift_sint32(global(G_x_67), 0) =
      Mptr_0[shift_PTR(global(K_q_68), 0)].
  (* Heap *)
  Have: framed(Mptr_0) /\ linked(Malloc_0).
}
Prove: true.

------------------------------------------------------------

Goal Post-condition 'Pointed_Valid' in 'f':
Let a = shift_sint32(global(G_x_67), 0).
Assume {
  (* Initializer *)
  Init: a = Mptr_0[shift_PTR(global(K_q_68), 0)].
  (* Heap *)
  Have: framed(Mptr_0) /\ linked(Malloc_0).
}
Prove: valid_rw(Malloc_0, a, 1).

------------------------------------------------------------

Goal Post-condition 'Q_ReadOnly' in 'f':
Prove: true.

------------------------------------------------------------

Goal Post-condition 'Q_NotWrite' in 'f':
Prove: true.

------------------------------------------------------------
------------------------------------------------------------
  Function g
------------------------------------------------------------

Goal Post-condition 'P_not_Const' in 'g':
Prove: true.

------------------------------------------------------------

Goal Assertion 'Read' (file tests/wp_plugin/init_const_guard.i, line 31):
Let a = shift_sint32(global(G_x_67), 0).
Assume {
  (* Initializer *)
  Init: a = Mptr_0[shift_PTR(global(K_q_68), 0)].
  (* Heap *)
  Have: framed(Mptr_0) /\ linked(Malloc_0).
}
Prove: valid_rd(Malloc_0, a, 1).

------------------------------------------------------------

Goal Assertion 'Guard_against_Const' (file tests/wp_plugin/init_const_guard.i, line 32):
Let a = shift_sint32(global(G_x_67), 0).
Assume {
  (* Initializer *)
  Init: a = Mptr_0[shift_PTR(global(K_q_68), 0)].
  (* Heap *)
  Have: framed(Mptr_0) /\ linked(Malloc_0).
  (* Assertion 'Read' *)
  Have: valid_rd(Malloc_0, a, 1).
}
Prove: !valid_rw(Malloc_0, a, 1).

------------------------------------------------------------
