Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions lib/knowledge/bap_knowledge.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2654,10 +2654,11 @@ module Knowledge = struct
let compute_value
: type a p . (a,p) cls -> p obj -> unit knowledge
= fun cls obj ->
Slot.enum cls |> List.iter ~f:(fun (Slot.Pack s) ->
collect s obj >>= fun v ->
provide s obj v)

Slot.enum cls |>
Base.List.filter ~f:(function Slot.Pack {promises} ->
not (Hashtbl.is_empty promises)) |>
List.iter ~f:(fun (Slot.Pack s) ->
ignore_m @@ collect s obj)

let get_value cls obj =
compute_value cls obj >>= fun () ->
Expand Down
4 changes: 2 additions & 2 deletions oasis/common
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
OASISFormat: 0.4
Name: bap
Version: 2.0.0
Version: 2.1.0-alpha
OCamlVersion: >= 4.04.1
Synopsis: BAP Core Library
Authors: BAP Team
Expand All @@ -11,7 +11,7 @@ Plugins: META (0.4)
AlphaFeatures: ocamlbuild_more_args, compiled_setup_ml
BuildTools: ocamlbuild
XOCamlbuildExtraArgs:
-j 2
-j 4
-use-ocamlfind
-classic-display
-plugin-tags "'package(findlib)'"
Expand Down