We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64ac6bb commit 0849cccCopy full SHA for 0849ccc
CodeHawk/CHB/bchcil/bCHParseCilFile.ml
@@ -32,6 +32,9 @@ open Frontc
32
(* chlib *)
33
open CHPretty
34
35
+(* chutil *)
36
+open CHLogger
37
+
38
(* bchlib *)
39
open BCHBCFiles
40
open BCHBCTypes
@@ -47,7 +50,13 @@ let update_symbolic_address_types () =
47
50
if List.mem vinfo.bvname gfunnames then
48
51
()
49
52
else
- BCHGlobalMemoryMap.update_global_location_type vinfo) varinfos
53
+ match BCHGlobalMemoryMap.update_global_location_type vinfo with
54
+ | Error e ->
55
+ ch_error_log#add
56
+ "update-global-location-type"
57
+ (LBLOCK [
58
+ STR "varinfo: "; STR vinfo.bvname; STR (String.concat "; " e)])
59
+ | _ -> ()) varinfos
60
61
62
let parse_cil_file ?(computeCFG=true) ?(removeUnused=true) (filename: string) =
0 commit comments