Skip to content
Snippets Groups Projects
Commit a099ec8b authored by Allan Blanchard's avatar Allan Blanchard Committed by Virgile Prevosto
Browse files

[ghost] Better error msg in Cfg

parent 4a497bc2
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,6 @@ ML_LINT_KO+=src/kernel_internals/runtime/messages.mli ...@@ -12,8 +12,6 @@ ML_LINT_KO+=src/kernel_internals/runtime/messages.mli
ML_LINT_KO+=src/kernel_internals/runtime/special_hooks.ml ML_LINT_KO+=src/kernel_internals/runtime/special_hooks.ml
ML_LINT_KO+=src/kernel_internals/typing/allocates.ml ML_LINT_KO+=src/kernel_internals/typing/allocates.ml
ML_LINT_KO+=src/kernel_internals/typing/asm_contracts.ml ML_LINT_KO+=src/kernel_internals/typing/asm_contracts.ml
ML_LINT_KO+=src/kernel_internals/typing/cfg.ml
ML_LINT_KO+=src/kernel_internals/typing/cfg.mli
ML_LINT_KO+=src/kernel_internals/typing/frontc.mli ML_LINT_KO+=src/kernel_internals/typing/frontc.mli
ML_LINT_KO+=src/kernel_internals/typing/infer_annotations.ml ML_LINT_KO+=src/kernel_internals/typing/infer_annotations.ml
ML_LINT_KO+=src/kernel_internals/typing/logic_builtin.ml ML_LINT_KO+=src/kernel_internals/typing/logic_builtin.ml
......
This diff is collapsed.
...@@ -57,7 +57,7 @@ val computeFileCFG: file -> unit ...@@ -57,7 +57,7 @@ val computeFileCFG: file -> unit
val clearFileCFG: ?clear_id:bool -> file -> unit val clearFileCFG: ?clear_id:bool -> file -> unit
(** Compute a control flow graph for fd. Stmts in fd have preds and succs (** Compute a control flow graph for fd. Stmts in fd have preds and succs
filled in *) filled in *)
val cfgFun : fundec -> unit val cfgFun : fundec -> unit
(** clear the sid, succs, and preds fields of each statement in a function *) (** clear the sid, succs, and preds fields of each statement in a function *)
...@@ -76,4 +76,3 @@ val prepareCFG: ?keepSwitch:bool -> fundec -> unit ...@@ -76,4 +76,3 @@ val prepareCFG: ?keepSwitch:bool -> fundec -> unit
(**/**) (**/**)
val clear_sid_info_ref: (unit -> unit) ref val clear_sid_info_ref: (unit -> unit) ref
[kernel] Parsing tests/cil/ghost_cfg.c (with preprocessing) [kernel] Parsing tests/cil/ghost_cfg.c (with preprocessing)
[kernel] User Error: tests/cil/ghost_cfg.c:101: [kernel] tests/cil/ghost_cfg.c:101: User Error:
'goto X;' cannot see target label (ghost), removing ghost status of the label. 'goto X;' would jump from normal statement to ghost code
[kernel] User Error: Deferred error message was emitted during execution. See above messages for more information. [kernel] User Error: Deferred error message was emitted during execution. See above messages for more information.
[kernel] Frama-C aborted: invalid user input. [kernel] Frama-C aborted: invalid user input.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment