Skip to content

Commit

Permalink
Remove TODO comment and add a few other explaining comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstanb committed Sep 6, 2023
1 parent 2b45499 commit 9241301
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/analyses/memOutOfBounds.ml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
(** An analysis for the detection of out-of-bounds memory accesses ([memOutOfBounds]).*)

open GoblintCil
open Analyses
open MessageCategory

module AS = AnalysisState
module VDQ = ValueDomainQueries

(*
Note:
* This functionality is implemented as an analysis solely for the sake of maintaining
separation of concerns, as well as for having the ablility to conveniently turn it on or off
* It doesn't track any internal state
*)
module Spec =
struct
include Analyses.IdentitySpec

module D = Lattice.Unit
module C = D

(* TODO: Check out later for benchmarking *)
let context _ _ = ()

let name () = "memOutOfBounds"
Expand Down

0 comments on commit 9241301

Please sign in to comment.