let lval_to_loc_with_deps =
    ref (fun s ~with_alarms ~deps lval ->
      !Db.Value.lval_to_loc_with_deps (Kstmt s) ~with_alarms ~deps lval)