Skip to content

Commit

Permalink
CHJ: fix warnings and reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
sipma committed Sep 4, 2024
1 parent a329928 commit 824f950
Show file tree
Hide file tree
Showing 19 changed files with 1,577 additions and 1,610 deletions.
326 changes: 165 additions & 161 deletions CodeHawk/CHJ/jchpoly/jCHTNode.ml

Large diffs are not rendered by default.

26 changes: 12 additions & 14 deletions CodeHawk/CHJ/jchpoly/jCHTNode.mli
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@
Author: Anca Browne
------------------------------------------------------------------------------
The MIT License (MIT)
Copyright (c) 2005-2020 Kestrel Technology LLC
Copyright (c) 2020-2024 Henny B. Sipma
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Expand All @@ -29,8 +30,6 @@
open CHLanguage
open CHPretty

(* jchpre *)
open JCHPreAPI

val dbg : bool ref

Expand All @@ -47,9 +46,9 @@ val mk_eq_node :
-> variable_t
-> CHUtils.SymbolCollections.set_t
-> taint_node_int

val mk_field_node: field_info_int -> taint_node_int

val mk_call_node :
int
-> int
Expand All @@ -58,7 +57,7 @@ val mk_call_node :
-> variable_t option
-> variable_t list
-> taint_node_int

val mk_unknown_call_node :
int
-> int
Expand Down Expand Up @@ -88,7 +87,7 @@ module TaintNodeCollections :
module ObjectMap :
sig
type key = taint_node_int
type 'a t
type 'a t
val empty : 'a t
val is_empty : 'a t -> bool
val mem : key -> 'a t -> bool
Expand Down Expand Up @@ -120,7 +119,7 @@ module TaintNodeCollections :
module ObjectSet :
sig
type elt = taint_node_int
type t
type t
val empty : t
val is_empty : t -> bool
val mem : elt -> t -> bool
Expand Down Expand Up @@ -214,12 +213,11 @@ module TaintNodeCollections :
end

val print_dictionary : unit -> unit

val taint_node_set_to_pretty: TaintNodeCollections.set_t -> pretty_t

val taint_node_table_to_pretty:
TaintNodeCollections.set_t TaintNodeCollections.table_t -> pretty_t

val save_taint_trail:
TaintNodeCollections.set_t TaintNodeCollections.table_t -> int -> unit

Loading

0 comments on commit 824f950

Please sign in to comment.