@ -137,8 +137,8 @@ let tests =
; read_field_to_id " read_id " " base_id " " f "
; read_field_to_id " read_id " " base_id " " f "
; var_assign_id " var " " read_id "
; var_assign_id " var " " read_id "
; invariant
; invariant
" { base_id$0.f => (SOURCE -> ?), ret_id$0 => (SOURCE -> ?), &var => (SOURCE -> ?) }" ]
" { base_id$0.f => (SOURCE -> ?), \n ret_id$0 => (SOURCE -> ?),\n &var => (SOURCE -> ?) }"
)
] )
; ( " source flows to var then cleared "
; ( " source flows to var then cleared "
, [ assign_to_source " ret_id "
, [ assign_to_source " ret_id "
; var_assign_id " var " " ret_id "
; var_assign_id " var " " ret_id "
@ -184,7 +184,7 @@ let tests =
; read_field_to_id " read_id " " var_id " " f "
; read_field_to_id " read_id " " var_id " " f "
; call_sink " read_id "
; call_sink " read_id "
; invariant
; invariant
" { base_id$0.f => (SOURCE -> ?), ret_id$0 => (SOURCE -> ?), &var.f* => (SOURCE -> SINK) }"
" { base_id$0.f => (SOURCE -> ?), \n ret_id$0 => (SOURCE -> ?),\n &var.f* => (SOURCE -> SINK) }"
] )
] )
; ( " source -> sink via cast "
; ( " source -> sink via cast "
, [ assign_to_source " ret_id "
, [ assign_to_source " ret_id "