|
|
@ -1039,6 +1039,8 @@ let rec sym_exec tenv current_pdesc _instr (prop_: Prop.normal Prop.t) path
|
|
|
|
| Sil.Prune (cond, loc, true_branch, ik) ->
|
|
|
|
| Sil.Prune (cond, loc, true_branch, ik) ->
|
|
|
|
let prop__ = Attribute.nullify_exp_with_objc_null tenv prop_ cond in
|
|
|
|
let prop__ = Attribute.nullify_exp_with_objc_null tenv prop_ cond in
|
|
|
|
let check_condition_always_true_false () =
|
|
|
|
let check_condition_always_true_false () =
|
|
|
|
|
|
|
|
if !Config.curr_language <> Config.Clang ||
|
|
|
|
|
|
|
|
Config.report_condition_always_true_in_clang then
|
|
|
|
let report_condition_always_true_false i =
|
|
|
|
let report_condition_always_true_false i =
|
|
|
|
let skip_loop = match ik with
|
|
|
|
let skip_loop = match ik with
|
|
|
|
| Sil.Ik_while | Sil.Ik_for ->
|
|
|
|
| Sil.Ik_while | Sil.Ik_for ->
|
|
|
|