Skip to content

Commit

Permalink
Remove unused context_cpa from base analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Mar 8, 2023
1 parent cabf929 commit bcb29ce
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/analyses/base.ml
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,6 @@ struct
%> f (ContextUtil.should_keep ~isAttr:GobContext ~keepOption:"ana.base.context.int" ~removeAttr:"base.no-int" ~keepAttr:"base.int" fd) drop_ints
%> f (ContextUtil.should_keep ~isAttr:GobContext ~keepOption:"ana.base.context.interval" ~removeAttr:"base.no-interval" ~keepAttr:"base.interval" fd) drop_interval

let context_cpa fd (st: store) = (context fd st).cpa

let convertToQueryLval x =
let rec offsNormal o =
let ik = Cilfacade.ptrdiff_ikind () in
Expand Down Expand Up @@ -2509,8 +2507,6 @@ module type MainSpec = sig
include BaseDomain.ExpEvaluator
val return_lval: unit -> Cil.lval
val return_varinfo: unit -> Cil.varinfo
type extra = (varinfo * Offs.t * bool) list
val context_cpa: fundec -> D.t -> BaseDomain.CPA.t
end

let main_module: (module MainSpec) Lazy.t =
Expand Down

0 comments on commit bcb29ce

Please sign in to comment.