-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #411 from AeneasVerif/son/borrows
Update the join for symbolic values with borrows
- Loading branch information
Showing
50 changed files
with
4,424 additions
and
2,587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# This is the commit from https://github.com/AeneasVerif/charon that should be used with this version of aeneas. | ||
8a17efc262ef3af377ab172efc865edcf1bb40ea | ||
df3b7fd4c1277827c92b4a2cb84347f1f54d92a6 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,94 @@ | ||
include Charon.Logging | ||
open Collections | ||
|
||
(** Below, we create subgloggers for various submodules, so that we can precisely | ||
(** Below, we create loggers for various (sub-)modules, so that we can precisely | ||
toggle logging on/off, depending on which information we need *) | ||
|
||
let loggers : L.logger StringMap.t ref = ref StringMap.empty | ||
|
||
let create_logger name = | ||
let l = L.get_logger ("MainLogger." ^ name) in | ||
loggers := StringMap.add name l !loggers; | ||
l | ||
|
||
(** Logger for Errors *) | ||
let errors_log = L.get_logger "MainLogger.Errors" | ||
let errors_log = create_logger "Errors" | ||
|
||
(** Logger for PrePasses *) | ||
let pre_passes_log = L.get_logger "MainLogger.PrePasses" | ||
let pre_passes_log = create_logger "PrePasses" | ||
|
||
(** Logger for RegionsHierarchy *) | ||
let regions_hierarchy_log = L.get_logger "MainLogger.RegionsHierarchy" | ||
let regions_hierarchy_log = create_logger "RegionsHierarchy" | ||
|
||
(** Logger for Translate *) | ||
let translate_log = L.get_logger "MainLogger.Translate" | ||
let translate_log = create_logger "Translate" | ||
|
||
(** Logger for BorrowCheck *) | ||
let borrow_check_log = L.get_logger "MainLogger.BorrowCheck" | ||
let borrow_check_log = create_logger "BorrowCheck" | ||
|
||
(** Logger for Contexts *) | ||
let contexts_log = L.get_logger "MainLogger.Contexts" | ||
let contexts_log = create_logger "Contexts" | ||
|
||
(** Logger for PureUtils *) | ||
let pure_utils_log = L.get_logger "MainLogger.PureUtils" | ||
let pure_utils_log = create_logger "PureUtils" | ||
|
||
(** Logger for SymbolicToPure *) | ||
let symbolic_to_pure_log = L.get_logger "MainLogger.SymbolicToPure" | ||
let symbolic_to_pure_log = create_logger "SymbolicToPure" | ||
|
||
(** Logger for PureMicroPasses *) | ||
let pure_micro_passes_log = L.get_logger "MainLogger.PureMicroPasses" | ||
let pure_micro_passes_log = create_logger "PureMicroPasses" | ||
|
||
(** Logger for PureMicroPasses.simplify_aggregates_unchanged_fields *) | ||
let simplify_aggregates_unchanged_fields_log = | ||
L.get_logger "MainLogger.PureMicroPasses.simplify_aggregates_unchanged_fields" | ||
create_logger "PureMicroPasses.simplify_aggregates_unchanged_fields" | ||
|
||
(** Logger for ExtractBase *) | ||
let extract_log = L.get_logger "MainLogger.ExtractBase" | ||
let extract_log = create_logger "ExtractBase" | ||
|
||
(** Logger for ExtractBuiltin *) | ||
let builtin_log = L.get_logger "MainLogger.Builtin" | ||
let builtin_log = create_logger "Builtin" | ||
|
||
(** Logger for Interpreter *) | ||
let interpreter_log = L.get_logger "MainLogger.Interpreter" | ||
let interpreter_log = create_logger "Interpreter" | ||
|
||
(** Logger for InterpreterLoopsMatchCtxs *) | ||
let loops_match_ctxs_log = L.get_logger "MainLogger.Interpreter.LoopsMatchCtxs" | ||
let loops_match_ctxs_log = create_logger "Interpreter.LoopsMatchCtxs" | ||
|
||
(** Logger for InterpreterLoopsJoinCtxs *) | ||
let loops_join_ctxs_log = L.get_logger "MainLogger.Interpreter.LoopsJoinCtxs" | ||
let loops_join_ctxs_log = create_logger "Interpreter.LoopsJoinCtxs" | ||
|
||
(** Logger for InterpreterLoopsFixedPoint *) | ||
let loops_fixed_point_log = L.get_logger "MainLogger.Interpreter.FixedPoint" | ||
let loops_fixed_point_log = create_logger "Interpreter.LoopsFixedPoint" | ||
|
||
(** Logger for InterpreterLoops *) | ||
let loops_log = L.get_logger "MainLogger.Interpreter.Loops" | ||
let loops_log = create_logger "Interpreter.Loops" | ||
|
||
(** Logger for InterpreterStatements *) | ||
let statements_log = L.get_logger "MainLogger.Interpreter.Statements" | ||
let statements_log = create_logger "Interpreter.Statements" | ||
|
||
(** Logger for InterpreterExpressions *) | ||
let expressions_log = L.get_logger "MainLogger.Interpreter.Expressions" | ||
let expressions_log = create_logger "Interpreter.Expressions" | ||
|
||
(** Logger for InterpreterPaths *) | ||
let paths_log = L.get_logger "MainLogger.Interpreter.Paths" | ||
let paths_log = create_logger "Interpreter.Paths" | ||
|
||
(** Logger for InterpreterExpansion *) | ||
let expansion_log = L.get_logger "MainLogger.Interpreter.Expansion" | ||
let expansion_log = create_logger "Interpreter.Expansion" | ||
|
||
(** Logger for InterpreterProjectors *) | ||
let projectors_log = L.get_logger "MainLogger.Interpreter.Projectors" | ||
let projectors_log = create_logger "Interpreter.Projectors" | ||
|
||
(** Logger for InterpreterBorrows *) | ||
let borrows_log = L.get_logger "MainLogger.Interpreter.Borrows" | ||
let borrows_log = create_logger "Interpreter.Borrows" | ||
|
||
(** Logger for Invariants *) | ||
let invariants_log = L.get_logger "MainLogger.Interpreter.Invariants" | ||
let invariants_log = create_logger "Interpreter.Invariants" | ||
|
||
(** Logger for AssociatedTypes *) | ||
let associated_types_log = L.get_logger "MainLogger.AssociatedTypes" | ||
let associated_types_log = create_logger "AssociatedTypes" | ||
|
||
(** Logger for SCC *) | ||
let scc_log = L.get_logger "MainLogger.Graph.SCC" | ||
let scc_log = create_logger "Graph.SCC" | ||
|
||
(** Logger for ReorderDecls *) | ||
let reorder_decls_log = L.get_logger "MainLogger.Graph.ReorderDecls" | ||
let reorder_decls_log = create_logger "Graph.ReorderDecls" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ | |
PrePasses | ||
PrintPure | ||
PrintSymbolicAst | ||
PureMicroPasses | ||
Pure | ||
PureTypeCheck | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.