Skip to content

Commit

Permalink
Add newline before EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeom committed Feb 18, 2025
1 parent a67dca3 commit c423e19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/commands/cmd_symbolic.ml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ let serialize_thread workspace =
let path = Fmt.kstr (add_seg workspace) "witness-%d" (next_int ()) in
let pp = Fmt.option Smtml.Model.pp in
let pc = Smtml.Expr.Set.to_list @@ pc in
let _ = Bos.OS.File.writef ~mode (path + ".sexp") "%a" pp model in
let _ = Bos.OS.File.writef ~mode (path + ".sexp") "%a@." pp model in
let _ =
Bos.OS.File.writef ~mode (path + ".smtml") "%a" Smtml.Expr.pp_smt pc
Bos.OS.File.writef ~mode (path + ".smtml") "%a@." Smtml.Expr.pp_smt pc
in
[ witness ]

Expand All @@ -93,7 +93,7 @@ let write_report workspace symbolic_report =
let json = Symbolic_interpreter.Symbolic_result.to_json symbolic_report in
let path = Fpath.(workspace / "symbolic-execution.json") in
Result.bos
@@ Bos.OS.File.writef ~mode path "%a" (Yojson.pretty_print ~std:true) json
@@ Bos.OS.File.writef ~mode path "%a@." (Yojson.pretty_print ~std:true) json

let run ~input ~lang ~target ~workspace ~harness =
let* input = Result.bos @@ setup_prelude input harness in
Expand Down

0 comments on commit c423e19

Please sign in to comment.