skylabs.lang.cpp.code_notations
skylabs.lang.cpp.compile
skylabs.lang.cpp.cpp
skylabs.lang.cpp.logic
skylabs.lang.cpp.mparser
skylabs.lang.cpp.msyntax
skylabs.lang.cpp.notations
skylabs.lang.cpp.parser
skylabs.lang.cpp.primitives
skylabs.lang.cpp.reserved_notation
skylabs.lang.cpp.semantics
skylabs.lang.cpp.specs
skylabs.lang.cpp.syntax
skylabs.lang.cpp.algebra.cfrac
skylabs.lang.cpp.bi.cfractional
skylabs.lang.cpp.bi.cfractional_tests
skylabs.lang.cpp.bi.spec
skylabs.lang.cpp.bi.split_cfrac
skylabs.lang.cpp.bi.split_cfrac_tests
skylabs.lang.cpp.bi.spec.cfrac_splittable
skylabs.lang.cpp.bi.spec.typed
skylabs.lang.cpp.logic.arr
skylabs.lang.cpp.logic.atomics
skylabs.lang.cpp.logic.atomics_derived
skylabs.lang.cpp.logic.bitfield
skylabs.lang.cpp.logic.builtins
skylabs.lang.cpp.logic.call
skylabs.lang.cpp.logic.const
skylabs.lang.cpp.logic.core_string
skylabs.lang.cpp.logic.cptr
skylabs.lang.cpp.logic.cstring
skylabs.lang.cpp.logic.destroy
skylabs.lang.cpp.logic.dispatch
- reflecting virtual function dispatch in the logic.
- implementation and the downcast for this pointer.
skylabs.lang.cpp.logic.entailsN
skylabs.lang.cpp.logic.expr
- Semantics of expressions
- (expressed in weakest pre-condition style)
- Weakest pre-condition for expressions
- String Literals
- Unary Operators
- Binary Operators
- Casts
- Cderived2base
- of the "then" and "else" expressions (which must be the same).
- We express this with 4 rules, one for each of wp_lval,
- wp_operand, wp_xval, and wp_init.
- Function calls
- Member calls
- Operator Calls
skylabs.lang.cpp.logic.expr_bitfield
skylabs.lang.cpp.logic.func
skylabs.lang.cpp.logic.heap_pred
skylabs.lang.cpp.logic.initializers
skylabs.lang.cpp.logic.layout
skylabs.lang.cpp.logic.mpred
skylabs.lang.cpp.logic.mpred_prop
skylabs.lang.cpp.logic.new_delete
- Weakest pre-condition for new and delete expressions
- The semantics of
newanddeleteexpressions (including their array forms) - are *very* complex in C++. This is due to a litany of corner cases such as:
- - the need to pair allocation and de-allocation functions
- - the existance of placement
new - - the need to handle alignment as well as size.
- - the potential for padding bytes.
- - the potential to merge allocations. (BRiCk does not attempt to support this)
- NOTE It is important that these rules are sound, but less important that
- they are complete. When in doubt, we err on the side of caution and under-specify
- the behavior of various constructs.
- If you run into code that requires addditional semantic specification, please file
- an issue.
- <https://eel.is/c++draft/new.delete.placement1>.
- NOTE: placement <new> is more subtle than the rule described here
- because it can be used to construct an object over an existing
- object.
- the form
delete p;- wherepis a non-null pointer to an object whose - most-derived destructor is defined in the current translation unit.
skylabs.lang.cpp.logic.object_repr
skylabs.lang.cpp.logic.operator
- Pointer comparison operators
- The impure fragment of binary-operator evaluation, depending on the abstract machine state.
skylabs.lang.cpp.logic.path_pred
skylabs.lang.cpp.logic.pred
skylabs.lang.cpp.logic.pred_paradoxes
skylabs.lang.cpp.logic.raw
skylabs.lang.cpp.logic.rep
skylabs.lang.cpp.logic.rep_defs
skylabs.lang.cpp.logic.rep_proofmode
skylabs.lang.cpp.logic.spectra_mpred
skylabs.lang.cpp.logic.stmt
- Attribute Evaluation
- Expression Evaluation
- Declarations
- Blocks
ifwhilefordoreturnbreakcontinuegotoand labelsswitch
skylabs.lang.cpp.logic.string
- cstrings and zstrings
- cstring.t and cstring.WF - Well Formed BS.ts (bytestrings) as a Carrier Type for C++ Strings
- cstring.R - Fixed Sized Strings
- cstring.bufR - Dynamic Sized Strings Backed by Fixed Sized Character Arrays
skylabs.lang.cpp.logic.translation_unit
skylabs.lang.cpp.logic.vbyte
skylabs.lang.cpp.logic.wp
skylabs.lang.cpp.logic.wp_notations
skylabs.lang.cpp.logic.z_to_bytes
skylabs.lang.cpp.logic.zstring
skylabs.lang.cpp.logic.heap_pred.aggregate
skylabs.lang.cpp.logic.heap_pred.any
skylabs.lang.cpp.logic.heap_pred.block
skylabs.lang.cpp.logic.heap_pred.everywhere
skylabs.lang.cpp.logic.heap_pred.least
skylabs.lang.cpp.logic.heap_pred.null
skylabs.lang.cpp.logic.heap_pred.prelude
skylabs.lang.cpp.logic.heap_pred.prim
skylabs.lang.cpp.logic.heap_pred.simple
skylabs.lang.cpp.logic.heap_pred.tptsto
skylabs.lang.cpp.logic.heap_pred.uninit
skylabs.lang.cpp.logic.heap_pred.valid
skylabs.lang.cpp.logic.lib.agree
- Copyright (C) 2022 BlueRock Security, Inc.
- All rights reserved.
- SPDX-License-Identifier: LGPL-2.1 WITH BedRock Exception for use over network, see repository root for details.
skylabs.lang.cpp.logic.lib.auth_frac
- Copyright (C) 2022-2025 BlueRock Security, Inc.
- All rights reserved.
- SPDX-License-Identifier: LGPL-2.1 WITH BedRock Exception for use over network, see repository root for details.
skylabs.lang.cpp.logic.lib.dfrac_agree
- Copyright (C) 2022 BlueRock Security, Inc.
- All rights reserved.
- SPDX-License-Identifier: LGPL-2.1 WITH BedRock Exception for use over network, see repository root for details.