Skip to content

Commit 2570bc6

Browse files
author
Simon Tietz
committed
went through everything
1 parent cb09957 commit 2570bc6

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

src/cdomain/value/cdomains/valueDomain.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ struct
725725
Array (CArrays.set ask n (array_idx_top) v)
726726
| t , Blob n -> Blob (Blobs.invalidate_value ask t n)
727727
| _ , Thread tid -> Thread (Threads.join (Threads.top ()) tid)
728-
| _ , JmpBuf (b, c, _) -> JmpBuf(b, c, true) (* TODO: no top jmpbuf *)
728+
| _ , JmpBuf (b, c, _) -> JmpBuf(b, c, true)
729729
| _, Bot -> Bot (* Leave uninitialized value (from malloc) alone in free to avoid trashing everything. TODO: sound? *)
730730
| t , _ -> top_value t
731731

src/common/framework/edge.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ type t =
2323
(** The true-branch or false-branch of a conditional exp *)
2424
| ASM of string list * asm_out * asm_in * bool
2525
(** Inline assembly statements, and the annotations for output and input
26-
* variables. The last field is a flag that indicates if this is a duplicated edge. *)
26+
* variables. The last field is a flag that indicates if this is an edge that
27+
* was inserted because of asm goto labels. *)
2728
| VDecl of CilType.Varinfo.t
2829
(** VDecl edge for the variable in varinfo. Whether such an edge is there for all
2930
* local variables or only when it is not possible to pull the declaration up, is

src/config/options.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"asm_is_nop": {
2121
"title": "asm_is_nop",
22-
"description": "treat asm statements as nop",
22+
"description": "Treat assembly statements as NOOP",
2323
"type": "boolean",
2424
"default": true
2525
},

src/framework/constraints.ml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -775,14 +775,14 @@ struct
775775

776776
let tf var getl sidel getg sideg prev_node edge d =
777777
begin match edge with
778-
| Assign (lv,rv) -> tf_assign var edge prev_node lv rv
779-
| VDecl (v) -> tf_vdecl var edge prev_node v
780-
| Proc (r,f,ars) -> tf_proc var edge prev_node r f ars
781-
| Entry f -> tf_entry var edge prev_node f
782-
| Ret (r,fd) -> tf_ret var edge prev_node r fd
783-
| Test (p,b) -> tf_test var edge prev_node p b
784-
| ASM (_, _, _,_) -> tf_asm var edge prev_node (* TODO: use ASM fields for something? *)
785-
| Skip -> tf_skip var edge prev_node
778+
| Assign (lv,rv) -> tf_assign var edge prev_node lv rv
779+
| VDecl (v) -> tf_vdecl var edge prev_node v
780+
| Proc (r,f,ars) -> tf_proc var edge prev_node r f ars
781+
| Entry f -> tf_entry var edge prev_node f
782+
| Ret (r,fd) -> tf_ret var edge prev_node r fd
783+
| Test (p,b) -> tf_test var edge prev_node p b
784+
| ASM (_, _, _,_) -> tf_asm var edge prev_node (* TODO: use ASM fields for something? *)
785+
| Skip -> tf_skip var edge prev_node
786786
end getl sidel getg sideg d
787787

788788
type Goblint_backtrace.mark += TfLocation of location

src/maingoblint.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ let do_analyze change_info merged_AST =
573573
(* Cilfacade.current_file := ast'; *)
574574
in
575575

576-
Timing.wrap "analysis" (control_analyze merged_AST) funs
576+
Timing.wrap "analysis" (control_analyze merged_AST) funs
577577
)
578578

579579
let do_html_output () =

0 commit comments

Comments
 (0)