From 41462e3c97a45542f3c80f3a7da2496569226ed2 Mon Sep 17 00:00:00 2001 From: "Celina G. Val" Date: Mon, 2 May 2022 14:08:46 -0700 Subject: [PATCH] Update copyright blob (#1144) * Update copyright check script We are changing Kani's copyright from Amazon to "Kani Contributors" * Update Kani copyright blob Amazon -> Kani Contributors I used the following command to update the blob: git ls-files | xargs -d "\n" -L 1 sed -i "0,/Copyright Amazon.com/{s/Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved./Copyright Kani Contributors/}" --- .github/CODEOWNERS | 2 +- .github/actions/setup/action.yml | 2 +- .github/workflows/audit.yml | 2 +- .github/workflows/format-check.yml | 2 +- .github/workflows/kani.yml | 2 +- .github/workflows/release.yml | 2 +- Cargo.toml | 2 +- build.rs | 2 +- cprover_bindings/Cargo.toml | 2 +- cprover_bindings/src/cbmc_string.rs | 2 +- cprover_bindings/src/env.rs | 2 +- cprover_bindings/src/goto_program/builtin.rs | 2 +- cprover_bindings/src/goto_program/expr.rs | 2 +- cprover_bindings/src/goto_program/location.rs | 2 +- cprover_bindings/src/goto_program/mod.rs | 2 +- cprover_bindings/src/goto_program/stmt.rs | 2 +- cprover_bindings/src/goto_program/symbol.rs | 2 +- cprover_bindings/src/goto_program/symbol_table.rs | 2 +- .../gen_c_transformer/expr_transformer.rs | 2 +- .../symtab_transformer/gen_c_transformer/mod.rs | 2 +- .../gen_c_transformer/name_transformer.rs | 2 +- .../gen_c_transformer/nondet_transformer.rs | 2 +- .../goto_program/symtab_transformer/identity_transformer.rs | 2 +- cprover_bindings/src/goto_program/symtab_transformer/mod.rs | 2 +- .../src/goto_program/symtab_transformer/passes.rs | 2 +- .../src/goto_program/symtab_transformer/transformer.rs | 2 +- cprover_bindings/src/goto_program/typ.rs | 2 +- cprover_bindings/src/irep/irep.rs | 2 +- cprover_bindings/src/irep/irep_id.rs | 2 +- cprover_bindings/src/irep/mod.rs | 2 +- cprover_bindings/src/irep/serialize.rs | 2 +- cprover_bindings/src/irep/symbol.rs | 2 +- cprover_bindings/src/irep/symbol_table.rs | 2 +- cprover_bindings/src/irep/to_irep.rs | 2 +- cprover_bindings/src/lib.rs | 2 +- cprover_bindings/src/machine_model.rs | 2 +- cprover_bindings/src/utils.rs | 2 +- docs/book.toml | 2 +- docs/build-docs.sh | 2 +- docs/src/getting-started/verification-results/Cargo.toml | 2 +- docs/src/getting-started/verification-results/src/main.rs | 2 +- docs/src/tutorial/arbitrary-variables/Cargo.toml | 2 +- docs/src/tutorial/arbitrary-variables/src/inventory.rs | 2 +- docs/src/tutorial/arbitrary-variables/src/lib.rs | 2 +- docs/src/tutorial/arbitrary-variables/src/rating.rs | 2 +- docs/src/tutorial/kani-first-steps/Cargo.toml | 2 +- docs/src/tutorial/kani-first-steps/src/final_form.rs | 2 +- docs/src/tutorial/kani-first-steps/src/lib.rs | 2 +- docs/src/tutorial/kinds-of-failure/Cargo.toml | 2 +- docs/src/tutorial/kinds-of-failure/src/bounds_check.rs | 2 +- docs/src/tutorial/kinds-of-failure/src/lib.rs | 2 +- docs/src/tutorial/kinds-of-failure/src/overflow.rs | 2 +- .../src/tutorial/kinds-of-failure/src/overflow_quicksort.rs | 2 +- docs/src/tutorial/loops-unwinding/Cargo.toml | 2 +- docs/src/tutorial/loops-unwinding/src/lib.rs | 2 +- kani-compiler/Cargo.toml | 2 +- kani-compiler/build.rs | 2 +- kani-compiler/kani_queries/Cargo.toml | 2 +- kani-compiler/kani_queries/src/lib.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/codegen/assert.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/codegen/block.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/codegen/function.rs | 2 +- .../src/codegen_cprover_gotoc/codegen/intrinsic.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/codegen/mod.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/codegen/operand.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/codegen/place.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/codegen/span.rs | 2 +- .../src/codegen_cprover_gotoc/codegen/statement.rs | 2 +- .../src/codegen_cprover_gotoc/codegen/static_var.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/codegen/typ.rs | 2 +- .../src/codegen_cprover_gotoc/compiler_interface.rs | 2 +- .../src/codegen_cprover_gotoc/context/current_fn.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/context/goto_ctx.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/context/mod.rs | 2 +- .../src/codegen_cprover_gotoc/context/vtable_ctx.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/mod.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/overrides/hooks.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/overrides/mod.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/utils/debug.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/utils/mod.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/utils/names.rs | 2 +- kani-compiler/src/codegen_cprover_gotoc/utils/utils.rs | 2 +- kani-compiler/src/main.rs | 2 +- kani-compiler/src/parser.rs | 2 +- kani-compiler/src/session.rs | 2 +- kani-driver/Cargo.toml | 2 +- kani-driver/build.rs | 2 +- kani-driver/src/args.rs | 2 +- kani-driver/src/args_toml.rs | 2 +- kani-driver/src/call_cargo.rs | 2 +- kani-driver/src/call_cbmc.rs | 2 +- kani-driver/src/call_cbmc_viewer.rs | 2 +- kani-driver/src/call_display_results.rs | 2 +- kani-driver/src/call_goto_cc.rs | 2 +- kani-driver/src/call_goto_instrument.rs | 2 +- kani-driver/src/call_single_file.rs | 2 +- kani-driver/src/call_symtab.rs | 2 +- kani-driver/src/main.rs | 2 +- kani-driver/src/metadata.rs | 2 +- kani-driver/src/session.rs | 2 +- kani-driver/src/util.rs | 2 +- kani_metadata/Cargo.toml | 2 +- kani_metadata/src/harness.rs | 2 +- kani_metadata/src/lib.rs | 2 +- kani_metadata/src/vtable.rs | 2 +- library/kani/Cargo.toml | 2 +- library/kani/gen_c_lib.c | 2 +- library/kani/kani_lib.c | 2 +- library/kani/src/arbitrary.rs | 2 +- library/kani/src/invariant.rs | 2 +- library/kani/src/lib.rs | 2 +- library/kani/src/slice.rs | 2 +- library/kani/stubs/C/hashset/hashset.c | 2 +- library/kani/stubs/C/vec/vec.c | 2 +- library/kani/stubs/Rust/hashset/c_hashset.rs | 2 +- library/kani/stubs/Rust/vec/c_vec.rs | 2 +- library/kani/stubs/Rust/vec/kani_vec.rs | 2 +- library/kani/stubs/Rust/vec/mod.rs | 2 +- library/kani/stubs/Rust/vec/noback_vec.rs | 2 +- library/kani/stubs/Rust/vec/utils.rs | 2 +- library/kani_macros/Cargo.toml | 2 +- library/kani_macros/src/lib.rs | 2 +- library/std/Cargo.toml | 2 +- library/std/src/lib.rs | 2 +- library/std/src/process.rs | 2 +- rust-toolchain.toml | 2 +- rustfmt.toml | 2 +- scripts/cargo-kani | 2 +- scripts/cbmc_json_parser.py | 2 +- scripts/check-cbmc-version.py | 2 +- scripts/check-cbmc-viewer-version.py | 2 +- scripts/ci/Dockerfile.release-bundle-test | 2 +- scripts/ci/copyright_check.py | 6 +++--- scripts/ci/detect_bookrunner_failures.sh | 2 +- scripts/ci/run-copyright-check.sh | 6 ++++-- scripts/ci/update_bookrunner_report.py | 2 +- scripts/codegen-firecracker.sh | 2 +- scripts/kani | 2 +- scripts/kani-fmt.sh | 2 +- scripts/kani-regression.sh | 2 +- scripts/pyproject.toml | 2 +- scripts/run-autopep8.sh | 2 +- scripts/run-clang-format.sh | 2 +- scripts/setup/install_bookrunner_deps.sh | 2 +- scripts/setup/install_rustup.sh | 2 +- scripts/setup/install_viewer.sh | 2 +- scripts/setup/macos-10.15/install_cbmc.sh | 2 +- scripts/setup/macos-10.15/install_deps.sh | 2 +- scripts/setup/ubuntu/install_cbmc.sh | 2 +- scripts/setup/ubuntu/install_deps.sh | 2 +- scripts/std-lib-regression.sh | 2 +- scripts/test_cbmc_json_parser.py | 2 +- src/bin/cargo_kani.rs | 2 +- src/bin/kani.rs | 2 +- src/lib.rs | 2 +- tests/cargo-kani/asm/global/Cargo.toml | 2 +- .../cargo-kani/asm/global/crate_with_global_asm/Cargo.toml | 2 +- .../cargo-kani/asm/global/crate_with_global_asm/src/lib.rs | 2 +- tests/cargo-kani/asm/global/src/lib.rs | 2 +- tests/cargo-kani/asm/global_error/Cargo.toml | 2 +- .../asm/global_error/crate_with_global_asm/Cargo.toml | 2 +- .../asm/global_error/crate_with_global_asm/src/lib.rs | 2 +- tests/cargo-kani/asm/global_error/src/lib.rs | 2 +- tests/cargo-kani/assert-reach/Cargo.toml | 2 +- tests/cargo-kani/assert-reach/foo/Cargo.toml | 2 +- tests/cargo-kani/assert-reach/foo/src/lib.rs | 2 +- tests/cargo-kani/assert-reach/src/lib.rs | 2 +- tests/cargo-kani/cbmc-unknown-lang-mode/Cargo.toml | 2 +- tests/cargo-kani/cbmc-unknown-lang-mode/src/lib.rs | 2 +- tests/cargo-kani/config/Cargo.toml | 2 +- tests/cargo-kani/config/src/lib.rs | 2 +- tests/cargo-kani/dependencies/Cargo.toml | 2 +- tests/cargo-kani/dependencies/src/lib.rs | 2 +- tests/cargo-kani/firecracker-block-example/Cargo.toml | 2 +- .../src/descriptor_permission_checker.rs | 2 +- tests/cargo-kani/firecracker-block-example/src/main.rs | 2 +- .../cargo-kani/firecracker-block-example/src/virtio_defs.rs | 2 +- tests/cargo-kani/output-format/Cargo.toml | 2 +- tests/cargo-kani/output-format/src/main.rs | 2 +- tests/cargo-kani/percent-encoding/Cargo.toml | 2 +- tests/cargo-kani/percent-encoding/src/lib.rs | 2 +- tests/cargo-kani/rectangle-example/Cargo.toml | 2 +- tests/cargo-kani/rectangle-example/src/lib.rs | 2 +- tests/cargo-kani/rectangle-example/src/rectangle.rs | 2 +- tests/cargo-kani/simple-config-toml/Cargo.toml | 2 +- tests/cargo-kani/simple-config-toml/src/lib.rs | 2 +- tests/cargo-kani/simple-config-toml/src/pair.rs | 2 +- tests/cargo-kani/simple-extern/Cargo.toml | 2 +- tests/cargo-kani/simple-extern/src/externs.rs | 2 +- tests/cargo-kani/simple-extern/src/helper.c | 2 +- tests/cargo-kani/simple-extern/src/lib.rs | 2 +- tests/cargo-kani/simple-lib/Cargo.toml | 2 +- tests/cargo-kani/simple-lib/src/lib.rs | 2 +- tests/cargo-kani/simple-lib/src/pair.rs | 2 +- tests/cargo-kani/simple-main/Cargo.toml | 2 +- tests/cargo-kani/simple-main/src/main.rs | 2 +- tests/cargo-kani/simple-proof-annotation/Cargo.toml | 2 +- tests/cargo-kani/simple-proof-annotation/src/main.rs | 2 +- tests/cargo-kani/simple-unwind-annotation/Cargo.toml | 2 +- tests/cargo-kani/simple-unwind-annotation/src/lib.rs | 2 +- tests/cargo-kani/simple-visualize/Cargo.toml | 2 +- tests/cargo-kani/simple-visualize/src/main.rs | 2 +- tests/cargo-kani/small-vec/Cargo.toml | 2 +- tests/cargo-kani/small-vec/src/lib.rs | 2 +- tests/cargo-kani/type-mismatch/Cargo.toml | 2 +- tests/cargo-kani/type-mismatch/src/lib.rs | 2 +- tests/cargo-kani/type-mismatch/uses_core/Cargo.toml | 2 +- tests/cargo-kani/type-mismatch/uses_core/src/lib.rs | 2 +- tests/cargo-kani/type-mismatch/uses_std/Cargo.toml | 2 +- tests/cargo-kani/type-mismatch/uses_std/src/lib.rs | 2 +- tests/cargo-kani/vecdeque-cve/Cargo.toml | 2 +- tests/cargo-kani/vecdeque-cve/src/cve.rs | 2 +- tests/cargo-kani/vecdeque-cve/src/fixed.rs | 2 +- tests/cargo-kani/vecdeque-cve/src/harness.rs | 2 +- tests/cargo-kani/vecdeque-cve/src/raw_vec.rs | 2 +- tests/expected/abort/main.rs | 2 +- tests/expected/allocation/main.rs | 2 +- tests/expected/array/main.rs | 2 +- tests/expected/assert-eq/main.rs | 2 +- tests/expected/assert-location/assert-false/main.rs | 2 +- tests/expected/assert-location/debug-assert/main.rs | 2 +- tests/expected/binop/main.rs | 2 +- tests/expected/closure/main.rs | 2 +- tests/expected/closure2/main.rs | 2 +- tests/expected/closure3/main.rs | 2 +- tests/expected/comp/main.rs | 2 +- tests/expected/dry-run-flag-conflict/main.rs | 2 +- tests/expected/dry-run-flag-unwind-conflict/main.rs | 2 +- tests/expected/dry-run/main.rs | 2 +- tests/expected/dynamic-error-trait/main.rs | 2 +- tests/expected/dynamic-trait-static-dispatch/main.rs | 2 +- tests/expected/dynamic-trait/main.rs | 2 +- tests/expected/enum/main.rs | 2 +- tests/expected/float-nan/main.rs | 2 +- tests/expected/generators/as_parameter/main.rs | 2 +- tests/expected/generics/main.rs | 2 +- tests/expected/intrinsics/breakpoint/main.rs | 2 +- tests/expected/intrinsics/offset-same-object/main.rs | 2 +- tests/expected/intrinsics/unreachable/main.rs | 2 +- tests/expected/intrinsics/write_bytes/out-of-bounds/main.rs | 2 +- tests/expected/intrinsics/write_bytes/overflow/main.rs | 2 +- tests/expected/intrinsics/write_bytes/unaligned/main.rs | 2 +- tests/expected/iterator/main.rs | 2 +- tests/expected/never-return/check_never.rs | 2 +- tests/expected/niche/main.rs | 2 +- tests/expected/niche2/main.rs | 2 +- tests/expected/nondet-slice-i32-oob/main.rs | 2 +- tests/expected/nondet-slice-len/main.rs | 2 +- tests/expected/nondet-slice-u8-oob/main.rs | 2 +- tests/expected/nondet/main.rs | 2 +- tests/expected/object-bits/insufficient/main.rs | 2 +- tests/expected/offset-bytes-overflow/main.rs | 2 +- tests/expected/offset-from-bytes-overflow/main.rs | 2 +- tests/expected/offset-i32-fail/main.rs | 2 +- tests/expected/offset-overflow/main.rs | 2 +- tests/expected/offset-u8-fail/main.rs | 2 +- tests/expected/one-assert/test.rs | 2 +- tests/expected/pointer-overflow/main.rs | 2 +- tests/expected/raw_slice/slice.rs | 2 +- tests/expected/raw_slice_c_repr/slice.rs | 2 +- tests/expected/raw_slice_packed/slice.rs | 2 +- tests/expected/reach/assert/reachable_fail/test.rs | 2 +- tests/expected/reach/assert/reachable_pass/test.rs | 2 +- tests/expected/reach/assert/unreachable/test.rs | 2 +- tests/expected/reach/assert_eq/unreachable/test.rs | 2 +- tests/expected/reach/assert_ne/unreachable/test.rs | 2 +- tests/expected/reach/bounds/reachable_fail/test.rs | 2 +- tests/expected/reach/bounds/reachable_pass/test.rs | 2 +- tests/expected/reach/bounds/unreachable/test.rs | 2 +- tests/expected/reach/check_id/main.rs | 2 +- tests/expected/reach/debug-assert-eq/reachable_fail/test.rs | 2 +- tests/expected/reach/debug-assert-eq/reachable_pass/test.rs | 2 +- tests/expected/reach/debug-assert-eq/unreachable/test.rs | 2 +- tests/expected/reach/debug-assert-ne/reachable_fail/test.rs | 2 +- tests/expected/reach/debug-assert-ne/reachable_pass/test.rs | 2 +- tests/expected/reach/debug-assert-ne/unreachable/test.rs | 2 +- tests/expected/reach/debug-assert/reachable_fail/test.rs | 2 +- tests/expected/reach/debug-assert/reachable_pass/test.rs | 2 +- tests/expected/reach/debug-assert/unreachable/test.rs | 2 +- tests/expected/reach/div-zero/reachable_fail/test.rs | 2 +- tests/expected/reach/div-zero/reachable_pass/test.rs | 2 +- tests/expected/reach/div-zero/unreachable/test.rs | 2 +- tests/expected/reach/overflow-neg/reachable_fail/test.rs | 2 +- tests/expected/reach/overflow-neg/reachable_pass/test.rs | 2 +- tests/expected/reach/overflow-neg/unreachable/test.rs | 2 +- tests/expected/reach/overflow/reachable_fail/test.rs | 2 +- tests/expected/reach/overflow/reachable_pass/test.rs | 2 +- tests/expected/reach/overflow/unreachable/test.rs | 2 +- tests/expected/reach/rem-zero/reachable_fail/test.rs | 2 +- tests/expected/reach/rem-zero/reachable_pass/test.rs | 2 +- tests/expected/reach/rem-zero/unreachable/test.rs | 2 +- tests/expected/reach/turned-off/test.rs | 2 +- tests/expected/realloc/null/main.rs | 2 +- tests/expected/realloc/shrink/main.rs | 2 +- tests/expected/realloc/zero_size/main.rs | 2 +- tests/expected/references/main.rs | 2 +- tests/expected/report/insufficient_unwind/test.rs | 2 +- tests/expected/report/uncolor/test.rs | 2 +- tests/expected/report/unsupported/failure/test.rs | 2 +- tests/expected/report/unsupported/reachable/test.rs | 2 +- tests/expected/report/unsupported/unreachable/test.rs | 2 +- tests/expected/slice-pattern-array/main.rs | 2 +- tests/expected/slice/main.rs | 2 +- tests/expected/static-mutable-struct/main.rs | 2 +- tests/expected/static-mutable/main.rs | 2 +- tests/expected/static/main.rs | 2 +- tests/expected/test1/main.rs | 2 +- tests/expected/test2/main.rs | 2 +- tests/expected/test3/main.rs | 2 +- tests/expected/test4/main.rs | 2 +- tests/expected/test5/main.rs | 2 +- tests/expected/test6/main.rs | 2 +- tests/expected/transmute/main.rs | 2 +- .../unsupported-fatptr-comparison/ptr_comparison.rs | 2 +- tests/expected/unwind_tip/main.rs | 2 +- tests/expected/vec/main.rs | 2 +- tests/expected/vecdq/main.rs | 2 +- tests/firecracker/micro-http-parsed-request/ignore-main.rs | 2 +- tests/firecracker/virtio-balloon-compact/ignore-main.rs | 2 +- tests/kani-dependency-test/dependency3/Cargo.toml | 2 +- tests/kani-dependency-test/dependency3/src/lib.rs | 2 +- tests/kani-dependency-test/diamond-dependency/Cargo.toml | 2 +- .../diamond-dependency/dependency1/Cargo.toml | 2 +- .../diamond-dependency/dependency1/src/lib.rs | 2 +- .../diamond-dependency/dependency2/Cargo.toml | 2 +- .../diamond-dependency/dependency2/src/lib.rs | 2 +- .../diamond-dependency/dependency3/Cargo.toml | 2 +- .../diamond-dependency/dependency3/src/lib.rs | 2 +- .../kani-dependency-test/diamond-dependency/main/Cargo.toml | 2 +- .../kani-dependency-test/diamond-dependency/main/src/lib.rs | 2 +- .../diamond-dependency/run-dependency-test.sh | 2 +- tests/kani/Arbitrary/vector_wrapper.rs | 2 +- tests/kani/ArithEqualOperators/main.rs | 2 +- tests/kani/ArithOperators/div_fail.rs | 2 +- tests/kani/ArithOperators/div_zero_fail.rs | 2 +- tests/kani/ArithOperators/main.rs | 2 +- tests/kani/ArithOperators/rem_fail.rs | 2 +- tests/kani/ArithOperators/rem_zero_fail.rs | 2 +- tests/kani/ArithOperators/unchecked.rs | 2 +- tests/kani/ArithOperators/unchecked_add_fail.rs | 2 +- tests/kani/ArithOperators/unchecked_mul_fail.rs | 2 +- tests/kani/ArithOperators/unchecked_sub_fail.rs | 2 +- tests/kani/ArithOperators/unsafe.rs | 2 +- tests/kani/ArithOperators/unsafe_add_fail.rs | 2 +- tests/kani/ArithOperators/unsafe_mul_fail.rs | 2 +- tests/kani/ArithOperators/unsafe_sub_fail.rs | 2 +- tests/kani/ArithOperators/wrapping.rs | 2 +- tests/kani/Asm/main_fixme.rs | 2 +- tests/kani/Assert/multiple_asserts.rs | 2 +- tests/kani/AssociatedTypes/associated_types.rs | 2 +- tests/kani/AssociatedTypes/into_iter.rs | 2 +- tests/kani/AssociatedTypes/type_of.rs | 2 +- tests/kani/Assume/main.rs | 2 +- tests/kani/Assume/main_fail.rs | 2 +- tests/kani/BinOp_Offset/main.rs | 2 +- tests/kani/BinOp_Offset/main_fail.rs | 2 +- tests/kani/BitwiseArithOperators/bool.rs | 2 +- tests/kani/BitwiseArithOperators/main.rs | 2 +- tests/kani/BitwiseEqualOperators/main.rs | 2 +- tests/kani/BitwiseShiftOperators/Usize/main.rs | 2 +- tests/kani/BitwiseShiftOperators/main.rs | 2 +- tests/kani/Bool-BoolOperators/main.rs | 2 +- tests/kani/Cast/cast_abstract_args_to_concrete_fixme.rs | 2 +- tests/kani/Cast/cast_abstract_args_to_concrete_fixme2.rs | 2 +- tests/kani/Cast/from_be_bytes.rs | 2 +- tests/kani/Cast/main.rs | 2 +- tests/kani/Cast/path.rs | 2 +- tests/kani/Cleanup/assert.rs | 2 +- tests/kani/Cleanup/unwind_fixme.rs | 2 +- tests/kani/Closure/fn_mut_closure.rs | 2 +- tests/kani/Closure/main.rs | 2 +- tests/kani/Closure/tupled_closure.rs | 2 +- tests/kani/CodegenConstValue/bigints.rs | 2 +- tests/kani/CodegenConstValue/main.rs | 2 +- tests/kani/CodegenConstValue/u128.rs | 2 +- tests/kani/CodegenMisc/main.rs | 2 +- tests/kani/CodegenStatic/main.rs | 2 +- tests/kani/CodegenStatic/struct.rs | 2 +- tests/kani/CopyIntrinsics/main_fixme.rs | 2 +- tests/kani/Count/Unstable/Ctlz/bounds.rs | 2 +- tests/kani/Count/Unstable/Ctlz/main.rs | 2 +- tests/kani/Count/Unstable/Cttz/bounds.rs | 2 +- tests/kani/Count/Unstable/Cttz/main.rs | 2 +- tests/kani/DynTrait/any_cast_int.rs | 2 +- tests/kani/DynTrait/any_cast_int_fail.rs | 2 +- tests/kani/DynTrait/boxed_closure.rs | 2 +- tests/kani/DynTrait/boxed_closure_fail.rs | 2 +- tests/kani/DynTrait/boxed_debug_cast.rs | 2 +- tests/kani/DynTrait/boxed_trait.rs | 2 +- tests/kani/DynTrait/boxed_trait_fail.rs | 2 +- tests/kani/DynTrait/different_crates.rs | 2 +- tests/kani/DynTrait/different_crates_fail.rs | 2 +- tests/kani/DynTrait/drop_boxed_dyn.rs | 2 +- tests/kani/DynTrait/drop_concrete.rs | 2 +- tests/kani/DynTrait/drop_dyn_pointer.rs | 2 +- tests/kani/DynTrait/drop_nested_boxed_dyn.rs | 2 +- tests/kani/DynTrait/drop_nested_boxed_dyn_fail.rs | 2 +- tests/kani/DynTrait/dyn_fn_mut.rs | 2 +- tests/kani/DynTrait/dyn_fn_mut_fail.rs | 2 +- tests/kani/DynTrait/dyn_fn_once.rs | 2 +- tests/kani/DynTrait/dyn_fn_once_fail.rs | 2 +- tests/kani/DynTrait/dyn_fn_param.rs | 2 +- tests/kani/DynTrait/dyn_fn_param_closure.rs | 2 +- tests/kani/DynTrait/dyn_fn_param_closure_capture.rs | 2 +- tests/kani/DynTrait/dyn_fn_param_closure_capture_fail.rs | 2 +- tests/kani/DynTrait/dyn_fn_param_closure_fail.rs | 2 +- tests/kani/DynTrait/dyn_fn_param_fail.rs | 2 +- tests/kani/DynTrait/generic_duplicate_names.rs | 2 +- tests/kani/DynTrait/generic_duplicate_names_fail.rs | 2 +- tests/kani/DynTrait/generic_duplicate_names_impl.rs | 2 +- tests/kani/DynTrait/generic_duplicate_names_impl_fail.rs | 2 +- tests/kani/DynTrait/main.rs | 2 +- tests/kani/DynTrait/main_fail.rs | 2 +- tests/kani/DynTrait/nested_boxes.rs | 2 +- tests/kani/DynTrait/nested_boxes_fail.rs | 2 +- tests/kani/DynTrait/nested_closures.rs | 2 +- tests/kani/DynTrait/nested_closures_fail.rs | 2 +- tests/kani/DynTrait/object_safe_generics.rs | 2 +- tests/kani/DynTrait/object_safe_trait.rs | 2 +- tests/kani/DynTrait/rc_dyn.rs | 2 +- tests/kani/DynTrait/std_lib_add_duplicate.rs | 2 +- tests/kani/DynTrait/vtable_duplicate_field_override.rs | 2 +- tests/kani/DynTrait/vtable_duplicate_fields.rs | 2 +- tests/kani/DynTrait/vtable_restrictions.rs | 2 +- tests/kani/DynTrait/vtable_restrictions_fail_fixme.rs | 2 +- tests/kani/DynTrait/vtable_size_align_drop.rs | 2 +- tests/kani/DynTrait/vtable_size_align_drop_fail.rs | 2 +- tests/kani/EQ-NE/main.rs | 2 +- tests/kani/Enum/discriminant.rs | 2 +- tests/kani/Enum/main.rs | 2 +- tests/kani/Enum/min_offset.rs | 2 +- tests/kani/Enum/neg_discriminant.rs | 2 +- tests/kani/Enum/niche.rs | 2 +- tests/kani/Enum/result1.rs | 2 +- tests/kani/Enum/result2.rs | 2 +- tests/kani/Enum/result3.rs | 2 +- tests/kani/Enum/variants_multiple_len_2.rs | 2 +- tests/kani/Enum/variants_single_len_1_fields_arbitrary_0.rs | 2 +- tests/kani/Enum/variants_single_len_1_fields_arbitrary_1.rs | 2 +- tests/kani/Enum/variants_single_len_1_fields_arbitrary_2.rs | 2 +- tests/kani/Enum/variants_single_len_2_fields_arbitrary_1.rs | 2 +- tests/kani/FatPointers/boxmuttrait.rs | 2 +- tests/kani/FatPointers/boxmuttrait_fail.rs | 2 +- tests/kani/FatPointers/boxslice1.rs | 2 +- tests/kani/FatPointers/boxslice2.rs | 2 +- tests/kani/FatPointers/boxtrait.rs | 2 +- tests/kani/FatPointers/boxtrait_fail.rs | 2 +- tests/kani/FatPointers/slice1.rs | 2 +- tests/kani/FatPointers/slice2.rs | 2 +- tests/kani/FatPointers/slice3.rs | 2 +- tests/kani/FatPointers/structslice.rs | 2 +- tests/kani/FatPointers/trait1.rs | 2 +- tests/kani/FatPointers/trait1_fail.rs | 2 +- tests/kani/FatPointers/trait2.rs | 2 +- tests/kani/FatPointers/trait2_fail.rs | 2 +- tests/kani/FatPointers/trait3.rs | 2 +- tests/kani/FatPointers/trait3_fail.rs | 2 +- tests/kani/FileNameWithSpace/my src/hi.rs | 2 +- tests/kani/FloatingPoint/main.rs | 2 +- tests/kani/ForeignItems/fixme_main.rs | 2 +- tests/kani/ForeignItems/fixme_varadic.rs | 2 +- tests/kani/ForeignItems/lib.c | 2 +- tests/kani/ForeignItems/main.rs | 2 +- tests/kani/ForeignItems/missing_fn_fail.rs | 2 +- tests/kani/FunctionAbstractions/mem_replace.rs | 2 +- tests/kani/FunctionAbstractions/mem_swap.rs | 2 +- tests/kani/FunctionAbstractions/ptr_read.rs | 2 +- tests/kani/FunctionAbstractions/ptr_write.rs | 2 +- tests/kani/FunctionCall/FnPtr/main.rs | 2 +- tests/kani/FunctionCall/Variadic/fixme_main.rs | 2 +- tests/kani/FunctionCall/Variadic/main.rs | 2 +- tests/kani/FunctionCall_ImplicitReturn/main.rs | 2 +- tests/kani/FunctionCall_NoRet-NoParam/main.rs | 2 +- tests/kani/FunctionCall_NoRet-Param/main.rs | 2 +- tests/kani/FunctionCall_Ret-NoParam/main.rs | 2 +- tests/kani/FunctionCall_Ret-Param/main.rs | 2 +- tests/kani/Generator/main.rs | 2 +- tests/kani/Helpers/vtable_utils_ignore.rs | 2 +- tests/kani/IfElseifElse_NonReturning/main.rs | 2 +- tests/kani/IfElseifElse_Returning/main.rs | 2 +- tests/kani/Intrinsics/AlignOfVal/align_of_basic.rs | 2 +- tests/kani/Intrinsics/AlignOfVal/align_of_fat_ptr.rs | 2 +- tests/kani/Intrinsics/Assert/inhabited_panic.rs | 2 +- tests/kani/Intrinsics/Assert/uninit_valid_panic.rs | 2 +- tests/kani/Intrinsics/Assert/zero_valid.rs | 2 +- tests/kani/Intrinsics/Assert/zero_valid_panic.rs | 2 +- tests/kani/Intrinsics/Assume/assume_fail.rs | 2 +- tests/kani/Intrinsics/Assume/assume_ok.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/CompareExchange/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/Exchange/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/Fence/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/FetchAdd/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/FetchAnd/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/FetchOr/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/FetchSub/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/FetchXor/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/Load/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Stable/Store/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicAdd/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicAnd/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicCxchg/main.rs | 2 +- .../kani/Intrinsics/Atomic/Unstable/AtomicCxchgWeak/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicFence/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicLoad/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acq.rs | 2 +- .../kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acqrel.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_rel.rs | 2 +- .../Intrinsics/Atomic/Unstable/AtomicMax/max_relaxed.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acq.rs | 2 +- .../kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acqrel.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_rel.rs | 2 +- .../Intrinsics/Atomic/Unstable/AtomicMin/min_relaxed.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicNand/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicOr/main.rs | 2 +- .../Atomic/Unstable/AtomicSingleThreadFence/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicStore/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicSub/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax.rs | 2 +- .../kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_acq.rs | 2 +- .../Intrinsics/Atomic/Unstable/AtomicUmax/umax_acqrel.rs | 2 +- .../kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_rel.rs | 2 +- .../Intrinsics/Atomic/Unstable/AtomicUmax/umax_relaxed.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin.rs | 2 +- .../kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_acq.rs | 2 +- .../Intrinsics/Atomic/Unstable/AtomicUmin/umin_acqrel.rs | 2 +- .../kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_rel.rs | 2 +- .../Intrinsics/Atomic/Unstable/AtomicUmin/umin_relaxed.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicXchg/main.rs | 2 +- tests/kani/Intrinsics/Atomic/Unstable/AtomicXor/main.rs | 2 +- tests/kani/Intrinsics/Compiler/variant_count.rs | 2 +- tests/kani/Intrinsics/Compiler/variant_count_fixme.rs | 2 +- tests/kani/Intrinsics/ConstEval/min_align_of.rs | 2 +- tests/kani/Intrinsics/ConstEval/needs_drop.rs | 2 +- tests/kani/Intrinsics/ConstEval/pref_align_of.rs | 2 +- tests/kani/Intrinsics/ConstEval/size_of.rs | 2 +- tests/kani/Intrinsics/ConstEval/type_id.rs | 2 +- tests/kani/Intrinsics/ConstEval/type_name.rs | 2 +- tests/kani/Intrinsics/Count/ctlz.rs | 2 +- tests/kani/Intrinsics/Count/ctlz_nonzero_panic.rs | 2 +- tests/kani/Intrinsics/Count/ctpop.rs | 2 +- tests/kani/Intrinsics/Count/cttz.rs | 2 +- tests/kani/Intrinsics/Count/cttz_nonzero_panic.rs | 2 +- tests/kani/Intrinsics/ExactDiv/divisor_is_zero.rs | 2 +- tests/kani/Intrinsics/ExactDiv/main.rs | 2 +- tests/kani/Intrinsics/ExactDiv/not_exact_division.rs | 2 +- tests/kani/Intrinsics/ExactDiv/overflow_division.rs | 2 +- tests/kani/Intrinsics/FastMath/add_f32.rs | 2 +- tests/kani/Intrinsics/FastMath/add_f64.rs | 2 +- tests/kani/Intrinsics/FastMath/add_overflow_f32.rs | 2 +- tests/kani/Intrinsics/FastMath/add_overflow_f64.rs | 2 +- tests/kani/Intrinsics/FastMath/div_f32.rs | 2 +- tests/kani/Intrinsics/FastMath/div_f64.rs | 2 +- tests/kani/Intrinsics/FastMath/div_overflow_f32.rs | 2 +- tests/kani/Intrinsics/FastMath/div_overflow_f64.rs | 2 +- tests/kani/Intrinsics/FastMath/mul_f32.rs | 2 +- tests/kani/Intrinsics/FastMath/mul_f64.rs | 2 +- tests/kani/Intrinsics/FastMath/mul_overflow_f32.rs | 2 +- tests/kani/Intrinsics/FastMath/mul_overflow_f64.rs | 2 +- tests/kani/Intrinsics/FastMath/sub_f32.rs | 2 +- tests/kani/Intrinsics/FastMath/sub_f64.rs | 2 +- tests/kani/Intrinsics/FastMath/sub_overflow_f32.rs | 2 +- tests/kani/Intrinsics/FastMath/sub_overflow_f64.rs | 2 +- tests/kani/Intrinsics/Forget/forget_fail.rs | 2 +- tests/kani/Intrinsics/Forget/forget_ok.rs | 2 +- tests/kani/Intrinsics/Likely/main.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/add_fail.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/div_fail.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/div_zero_fail.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/mul_fail.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/no_overflows.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/rem_fail.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/rem_zero_fail.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/shl_fail.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/shr_fail.rs | 2 +- tests/kani/Intrinsics/Math/Arith/Unchecked/sub_fail.rs | 2 +- tests/kani/Intrinsics/Math/Arith/ops_with_overflow.rs | 2 +- tests/kani/Intrinsics/Math/Arith/wrapping_ops.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/ceilf32.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/ceilf64.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/floorf32.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/floorf64.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/nearbyintf32.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/nearbyintf64.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/rintf32.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/rintf64.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/roundf32.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/roundf64.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/truncf32.rs | 2 +- tests/kani/Intrinsics/Math/Rounding/truncf64.rs | 2 +- tests/kani/Intrinsics/Math/Trigonometry/cosf32.rs | 2 +- tests/kani/Intrinsics/Math/Trigonometry/cosf64.rs | 2 +- tests/kani/Intrinsics/Math/Trigonometry/sinf32.rs | 2 +- tests/kani/Intrinsics/Math/Trigonometry/sinf64.rs | 2 +- tests/kani/Intrinsics/Math/fabsf32.rs | 2 +- tests/kani/Intrinsics/Math/fabsf64.rs | 2 +- tests/kani/Intrinsics/NonRet/abort.rs | 2 +- tests/kani/Intrinsics/NonRet/transmute_zst.rs | 2 +- tests/kani/Intrinsics/Offset/offset_i32_ok.rs | 2 +- tests/kani/Intrinsics/Offset/offset_u8_ok.rs | 2 +- tests/kani/Intrinsics/PtrGuaranteedCmp/eq.rs | 2 +- tests/kani/Intrinsics/PtrGuaranteedCmp/ne.rs | 2 +- tests/kani/Intrinsics/PtrOffsetFrom/main.rs | 2 +- tests/kani/Intrinsics/RawEq/main.rs | 2 +- tests/kani/Intrinsics/RawEq/uninit_eq.rs | 2 +- tests/kani/Intrinsics/RawEq/uninit_ne.rs | 2 +- tests/kani/Intrinsics/Rotate/rotate_left.rs | 2 +- tests/kani/Intrinsics/Rotate/rotate_right.rs | 2 +- tests/kani/Intrinsics/Saturating/main.rs | 2 +- tests/kani/Intrinsics/SizeOfVal/size_of_basic.rs | 2 +- tests/kani/Intrinsics/SizeOfVal/size_of_fat_ptr.rs | 2 +- tests/kani/Intrinsics/Transmute/arr_to_struct.rs | 2 +- tests/kani/Intrinsics/Transmute/bytes_to_u32.rs | 2 +- tests/kani/Intrinsics/Transmute/ptr_to_fn_ptr.rs | 2 +- tests/kani/Intrinsics/Transmute/str_to_slice.rs | 2 +- tests/kani/Intrinsics/Volatile/store.rs | 2 +- tests/kani/Intrinsics/Volatile/store_fail.rs | 2 +- tests/kani/Intrinsics/WriteBytes/main.rs | 2 +- tests/kani/Intrinsics/bitreverse.rs | 2 +- tests/kani/Intrinsics/black_box.rs | 2 +- tests/kani/Intrinsics/bswap.rs | 2 +- tests/kani/Intrinsics/discriminant_value.rs | 2 +- tests/kani/Intrinsics/exact_div.rs | 2 +- tests/kani/Intrinsics/fixme_catch_unwind.rs | 2 +- tests/kani/Intrinsics/fixme_try.rs | 2 +- tests/kani/Invariants/array.rs | 2 +- tests/kani/Invariants/array_raw_fail.rs | 2 +- tests/kani/Invariants/bool.rs | 2 +- tests/kani/Invariants/bool_raw_fail.rs | 2 +- tests/kani/Invariants/char.rs | 2 +- tests/kani/Invariants/char_fail.rs | 2 +- tests/kani/Invariants/enum.rs | 2 +- tests/kani/Invariants/enum_raw_fail.rs | 2 +- tests/kani/Invariants/fixme_niche_opt.rs | 2 +- tests/kani/Invariants/float.rs | 2 +- tests/kani/Invariants/integer.rs | 2 +- tests/kani/Invariants/nonzero.rs | 2 +- tests/kani/Invariants/option.rs | 2 +- tests/kani/Invariants/option_raw_fail.rs | 2 +- tests/kani/Invariants/result.rs | 2 +- tests/kani/Invariants/result_raw_fail.rs | 2 +- tests/kani/Iterator/flat_map.rs | 2 +- tests/kani/Iterator/into_iter.rs | 2 +- tests/kani/Iterator/try_fold.rs | 2 +- tests/kani/LT-GT-LE-GE/main.rs | 2 +- tests/kani/LexicographicCmp/main.rs | 2 +- tests/kani/LoopLoop_NonReturning/main.rs | 2 +- tests/kani/LoopLoop_NonReturning/main_no_unwind_asserts.rs | 2 +- tests/kani/LoopWhile_NonReturning/main.rs | 2 +- tests/kani/LoopWhile_NonReturning/main_no_unwind_asserts.rs | 2 +- tests/kani/Match/match_bool.rs | 2 +- tests/kani/MemReplace/main.rs | 2 +- tests/kani/Never/main.rs | 2 +- tests/kani/Never/never_return.rs | 2 +- tests/kani/NondetSlices/test1.rs | 2 +- tests/kani/NondetSlices/test2.rs | 2 +- tests/kani/NondetSlices/test3.rs | 2 +- tests/kani/NondetSlices/test4.rs | 2 +- tests/kani/NondetSlices/test5.rs | 2 +- tests/kani/NondetVectors/bytes.rs | 2 +- tests/kani/NondetVectors/fixme_main.rs | 2 +- tests/kani/Options/check_tests.rs | 2 +- tests/kani/Overflow/pointer_overflow_fail.rs | 2 +- tests/kani/Parenths/main.rs | 2 +- tests/kani/PhantomData/phantom_fixme.rs | 2 +- tests/kani/PointerComparison/fixme_ptr_comparison.rs | 2 +- tests/kani/PointerOffset/offset_from.rs | 2 +- tests/kani/PointerOffset/offset_sub.rs | 2 +- tests/kani/Pointers_Basic/fixme_from_raw.rs | 2 +- tests/kani/Pointers_Basic/main.rs | 2 +- tests/kani/Pointers_Functions/main.rs | 2 +- tests/kani/Pointers_InAssert/main.rs | 2 +- tests/kani/Pointers_OtherTypes/main.rs | 2 +- tests/kani/Pointers_OutOfScopeFail/fixme_main.rs | 2 +- tests/kani/Print/arg_not_moved.rs | 2 +- tests/kani/Print/main.rs | 2 +- tests/kani/Print/side_effects.rs | 2 +- tests/kani/Projection/dyn_dyn_projection.rs | 2 +- tests/kani/Projection/dyn_slice_projection.rs | 2 +- tests/kani/Projection/slice_dyn_projection.rs | 2 +- tests/kani/Projection/slice_slice_projection.rs | 2 +- tests/kani/ProjectionElem/ConstantIndex/main.rs | 2 +- tests/kani/Realloc/two_reallocs.rs | 2 +- tests/kani/Refs/main.rs | 2 +- tests/kani/Repr/check_repr.rs | 2 +- tests/kani/Repr/issue_837.rs | 2 +- tests/kani/Repr/main.rs | 2 +- tests/kani/SIMD/Compare/main.rs | 2 +- tests/kani/SIMD/Construction/main.rs | 2 +- tests/kani/SIMD/Operators/main.rs | 2 +- tests/kani/SIMD/Operators/overflow.rs | 2 +- tests/kani/SIMD/Shuffle/main.rs | 2 +- tests/kani/Scopes_NonReturning/main.rs | 2 +- tests/kani/Scopes_Returning/main.rs | 2 +- tests/kani/Serde/main.rs | 2 +- tests/kani/SizeAndAlignOfDst/main_assert_fixme.rs | 2 +- tests/kani/SizeAndAlignOfDst/main_fixme.rs | 2 +- tests/kani/Slice/codegen.rs | 2 +- tests/kani/Slice/drop_in_place.rs | 2 +- tests/kani/Slice/empty_slice.rs | 2 +- tests/kani/Slice/empty_slice_fail.rs | 2 +- tests/kani/Slice/extra_checks_fail.rs | 2 +- tests/kani/Slice/fixme_issue_707.rs | 2 +- tests/kani/Slice/main.rs | 2 +- tests/kani/Slice/pathbuf.rs | 2 +- tests/kani/Slice/size_of.rs | 2 +- tests/kani/Slice/slice.rs | 2 +- tests/kani/Slice/slice_from_raw.rs | 2 +- tests/kani/Static/main.rs | 2 +- tests/kani/Static/method_static_var.rs | 2 +- tests/kani/Static/table_of_pairs.rs | 2 +- tests/kani/Static/table_of_pairs2.rs | 2 +- tests/kani/Strings/boxed_str.rs | 2 +- tests/kani/Strings/copy_empty_string_by_intrinsic.rs | 2 +- tests/kani/Strings/copy_empty_string_by_intrinsic_fixme.rs | 2 +- tests/kani/Strings/copy_empty_string_by_ref.rs | 2 +- tests/kani/Strings/main.rs | 2 +- tests/kani/Strings/os_str.rs | 2 +- tests/kani/Strings/os_str_reduced.rs | 2 +- tests/kani/SubSlice/subslice1.rs | 2 +- tests/kani/SubSlice/subslice2.rs | 2 +- tests/kani/SubSlice/subslice3.rs | 2 +- tests/kani/SwitchInt/main.rs | 2 +- tests/kani/Transparent/transparent1.rs | 2 +- tests/kani/Transparent/transparent2.rs | 2 +- tests/kani/Transparent/transparent3.rs | 2 +- tests/kani/Transparent/transparent4.rs | 2 +- tests/kani/Unit/main.rs | 2 +- tests/kani/UnsafeBlocks_Useless/main.rs | 2 +- tests/kani/Unwind-Attribute/fixme_lib.rs | 2 +- tests/kani/Vectors/fixme_main.rs | 2 +- tests/kani/Vectors/issue-763.rs | 2 +- tests/kani/Vectors/push.rs | 2 +- tests/kani/Vectors/push_u8.rs | 2 +- tests/kani/Vectors/vector_extend.rs | 2 +- tests/kani/Vectors/vector_extend_fail.rs | 2 +- tests/kani/Vectors/vector_extend_in_new.rs | 2 +- tests/kani/Vectors/vector_extend_loop.rs | 2 +- tests/kani/VolatileIntrinsics/core_intrinsics.rs | 2 +- tests/kani/VolatileIntrinsics/main_fixme.rs | 2 +- tests/kani/Whitespace/main.rs | 2 +- tests/kani/i32-Unary-/main.rs | 2 +- tests/prusti/100_doors.rs | 2 +- tests/prusti/Ackermann_function.rs | 2 +- tests/prusti/Binary_search.rs | 2 +- tests/prusti/Fibonacci_sequence.rs | 2 +- tests/prusti/Heapsort.rs | 2 +- tests/prusti/Selection_sort.rs | 2 +- tests/prusti/Tower_of_Hanoi.rs | 2 +- tests/prusti/borrow_first.rs | 2 +- tests/smack/basic/add.rs | 2 +- tests/smack/basic/arith.rs | 2 +- tests/smack/basic/arith_assume.rs | 2 +- tests/smack/basic/arith_assume2.rs | 2 +- tests/smack/basic/arith_assume3.rs | 2 +- tests/smack/basic/div.rs | 2 +- tests/smack/basic/mod.rs | 2 +- tests/smack/basic/mul.rs | 2 +- tests/smack/basic/sub.rs | 2 +- tests/smack/functions/closure.rs | 2 +- tests/smack/functions/closure_fail.rs | 2 +- tests/smack/functions/double.rs | 2 +- tests/smack/functions/double_fail.rs | 2 +- tests/smack/generics/generic_function.rs | 2 +- tests/smack/generics/generic_function1.rs | 2 +- tests/smack/generics/generic_function2.rs | 2 +- tests/smack/generics/generic_function3.rs | 2 +- tests/smack/generics/generic_function4.rs | 2 +- tests/smack/generics/generic_function5.rs | 2 +- tests/smack/loops/gauss_sum_nondet.rs | 2 +- tests/smack/loops/gauss_sum_nondet_fail.rs | 2 +- tests/smack/loops/iterator.rs | 2 +- tests/smack/loops/iterator_fail.rs | 2 +- tests/smack/overflow/add_overflow.rs | 2 +- tests/smack/overflow/mul_overflow.rs | 2 +- tests/smack/overflow/sub_overflow.rs | 2 +- tests/smack/recursion/fac.rs | 2 +- tests/smack/recursion/fac_fail.rs | 2 +- tests/smack/recursion/fib.rs | 2 +- tests/smack/recursion/fib_fail.rs | 2 +- tests/smack/structures/option.rs | 2 +- tests/smack/structures/option_fail.rs | 2 +- tests/smack/structures/point.rs | 2 +- tests/smack/structures/point_fail.rs | 2 +- tests/smack/vector/vec1.rs | 2 +- tests/smack/vector/vec11.rs | 2 +- tests/smack/vector/vec12.rs | 2 +- tests/smack/vector/vec13.rs | 2 +- tests/smack/vector/vec_resize.rs | 2 +- tests/smack/vector/vec_resize_fail.rs | 2 +- tests/stub-tests/HashSet/concrete.rs | 2 +- tests/stub-tests/HashSet/ignore-nondet.rs | 2 +- tests/stub-tests/Vec/append.rs | 2 +- tests/stub-tests/Vec/as_mut_ptr.rs | 2 +- tests/stub-tests/Vec/as_mut_slice.rs | 2 +- tests/stub-tests/Vec/as_ptr.rs | 2 +- tests/stub-tests/Vec/as_slice.rs | 2 +- tests/stub-tests/Vec/capacity.rs | 2 +- tests/stub-tests/Vec/clear.rs | 2 +- tests/stub-tests/Vec/clone.rs | 2 +- tests/stub-tests/Vec/drop.rs | 2 +- tests/stub-tests/Vec/extend.rs | 2 +- tests/stub-tests/Vec/extend_from_slice.rs | 2 +- tests/stub-tests/Vec/from_raw_parts.rs | 2 +- tests/stub-tests/Vec/from_slice.rs | 2 +- tests/stub-tests/Vec/from_str.rs | 2 +- tests/stub-tests/Vec/insert.rs | 2 +- tests/stub-tests/Vec/into_iter.rs | 2 +- tests/stub-tests/Vec/is_empty.rs | 2 +- tests/stub-tests/Vec/len.rs | 2 +- tests/stub-tests/Vec/new.rs | 2 +- tests/stub-tests/Vec/pop.rs | 2 +- tests/stub-tests/Vec/push.rs | 2 +- tests/stub-tests/Vec/remove.rs | 2 +- tests/stub-tests/Vec/reserve.rs | 2 +- tests/stub-tests/Vec/reserve_exact.rs | 2 +- tests/stub-tests/Vec/resize.rs | 2 +- tests/stub-tests/Vec/resize_with.rs | 2 +- tests/stub-tests/Vec/shrink_to.rs | 2 +- tests/stub-tests/Vec/shrink_to_fit.rs | 2 +- tests/stub-tests/Vec/simple.rs | 2 +- tests/stub-tests/Vec/split_off.rs | 2 +- tests/stub-tests/Vec/swap_remove.rs | 2 +- tests/stub-tests/Vec/truncate.rs | 2 +- tests/stub-tests/Vec/truncate_drop.rs | 2 +- tests/stub-tests/Vec/truncate_reduce.rs | 2 +- tests/stub-tests/Vec/truncate_zero.rs | 2 +- tests/ui/Property-Class-UI/arithmetic_overflow/main.rs | 2 +- tests/ui/Property-Class-UI/exact_div/main.rs | 2 +- tests/ui/Property-Class-UI/expect_fail/main.rs | 2 +- tests/ui/arguments-proof/main.rs | 2 +- tests/ui/cbmc_checks/float-overflow/check_message.rs | 2 +- tests/ui/cbmc_checks/pointer/check_message.rs | 2 +- tests/ui/cbmc_checks/signed-overflow/check_message.rs | 2 +- tests/ui/cbmc_checks/unsigned-overflow/check_message.rs | 2 +- tests/ui/check_operations/operations.rs | 2 +- tests/ui/code-location/main.rs | 2 +- tests/ui/code-location/module/mod.rs | 2 +- tests/ui/expect-fail-property-class/main.rs | 2 +- tests/ui/logging/debug/trivial.rs | 2 +- tests/ui/logging/warning/trivial.rs | 2 +- tests/ui/missing-function/extern_c/extern_c.rs | 2 +- tests/ui/missing-function/replaced-description/main.rs | 2 +- .../ui/missing-function/rust-by-example-description/main.rs | 2 +- tests/ui/multiple-harnesses/test.rs | 2 +- tests/ui/multiple-proof-attributes/main.rs | 2 +- tests/ui/regular-output-format-fail/fail.rs | 2 +- tests/ui/regular-output-format-pass/main.rs | 2 +- tests/ui/terse-output-format-fail/fail.rs | 2 +- tests/ui/terse-output-format-pass/main.rs | 2 +- tests/ui/unsupported-annotation/main.rs | 2 +- tests/ui/unsupported-features/thread/main.rs | 2 +- tests/ui/unwind-multiple-arguments/main.rs | 2 +- tests/ui/unwind-without-proof/main.rs | 2 +- tools/bookrunner/Cargo.toml | 2 +- tools/bookrunner/librustdoc/Cargo.toml | 2 +- tools/bookrunner/librustdoc/build.rs | 2 +- tools/bookrunner/librustdoc/clean/auto_trait.rs | 2 +- tools/bookrunner/librustdoc/clean/blanket_impl.rs | 2 +- tools/bookrunner/librustdoc/clean/cfg.rs | 2 +- tools/bookrunner/librustdoc/clean/cfg/tests.rs | 2 +- tools/bookrunner/librustdoc/clean/inline.rs | 2 +- tools/bookrunner/librustdoc/clean/mod.rs | 2 +- tools/bookrunner/librustdoc/clean/simplify.rs | 2 +- tools/bookrunner/librustdoc/clean/types.rs | 2 +- tools/bookrunner/librustdoc/clean/utils.rs | 2 +- tools/bookrunner/librustdoc/clean/utils/tests.rs | 2 +- tools/bookrunner/librustdoc/config.rs | 2 +- tools/bookrunner/librustdoc/core.rs | 2 +- tools/bookrunner/librustdoc/docfs.rs | 2 +- tools/bookrunner/librustdoc/doctest.rs | 2 +- tools/bookrunner/librustdoc/doctest/tests.rs | 2 +- tools/bookrunner/librustdoc/error.rs | 2 +- tools/bookrunner/librustdoc/externalfiles.rs | 2 +- tools/bookrunner/librustdoc/fold.rs | 2 +- tools/bookrunner/librustdoc/formats/cache.rs | 2 +- tools/bookrunner/librustdoc/formats/item_type.rs | 2 +- tools/bookrunner/librustdoc/formats/mod.rs | 2 +- tools/bookrunner/librustdoc/formats/renderer.rs | 2 +- tools/bookrunner/librustdoc/html/escape.rs | 2 +- tools/bookrunner/librustdoc/html/format.rs | 2 +- tools/bookrunner/librustdoc/html/highlight.rs | 2 +- tools/bookrunner/librustdoc/html/layout.rs | 2 +- tools/bookrunner/librustdoc/html/length_limit.rs | 2 +- tools/bookrunner/librustdoc/html/length_limit/tests.rs | 2 +- tools/bookrunner/librustdoc/html/markdown.rs | 2 +- tools/bookrunner/librustdoc/html/markdown/tests.rs | 2 +- tools/bookrunner/librustdoc/html/mod.rs | 2 +- tools/bookrunner/librustdoc/html/render/context.rs | 2 +- tools/bookrunner/librustdoc/html/render/mod.rs | 2 +- tools/bookrunner/librustdoc/html/render/print_item.rs | 2 +- tools/bookrunner/librustdoc/html/render/search_index.rs | 2 +- tools/bookrunner/librustdoc/html/render/span_map.rs | 2 +- tools/bookrunner/librustdoc/html/render/tests.rs | 2 +- tools/bookrunner/librustdoc/html/render/write_shared.rs | 2 +- tools/bookrunner/librustdoc/html/sources.rs | 2 +- tools/bookrunner/librustdoc/html/static_files.rs | 2 +- tools/bookrunner/librustdoc/html/tests.rs | 2 +- tools/bookrunner/librustdoc/html/toc.rs | 2 +- tools/bookrunner/librustdoc/html/toc/tests.rs | 2 +- tools/bookrunner/librustdoc/html/url_parts_builder.rs | 2 +- tools/bookrunner/librustdoc/html/url_parts_builder/tests.rs | 2 +- tools/bookrunner/librustdoc/lib.rs | 2 +- tools/bookrunner/librustdoc/lint.rs | 2 +- tools/bookrunner/librustdoc/markdown.rs | 2 +- tools/bookrunner/librustdoc/passes/bare_urls.rs | 2 +- .../bookrunner/librustdoc/passes/calculate_doc_coverage.rs | 2 +- .../bookrunner/librustdoc/passes/check_code_block_syntax.rs | 2 +- .../librustdoc/passes/check_doc_test_visibility.rs | 2 +- .../bookrunner/librustdoc/passes/collect_intra_doc_links.rs | 2 +- .../librustdoc/passes/collect_intra_doc_links/early.rs | 2 +- tools/bookrunner/librustdoc/passes/collect_trait_impls.rs | 2 +- tools/bookrunner/librustdoc/passes/html_tags.rs | 2 +- tools/bookrunner/librustdoc/passes/mod.rs | 2 +- tools/bookrunner/librustdoc/passes/propagate_doc_cfg.rs | 2 +- tools/bookrunner/librustdoc/passes/strip_hidden.rs | 2 +- tools/bookrunner/librustdoc/passes/stripper.rs | 2 +- tools/bookrunner/librustdoc/passes/unindent_comments.rs | 2 +- .../bookrunner/librustdoc/passes/unindent_comments/tests.rs | 2 +- tools/bookrunner/librustdoc/scrape_examples.rs | 2 +- tools/bookrunner/librustdoc/visit.rs | 2 +- tools/bookrunner/librustdoc/visit_ast.rs | 2 +- tools/bookrunner/print.sh | 2 +- tools/bookrunner/rust-doc/unstable-book/book.toml | 2 +- tools/bookrunner/src/bookrunner.rs | 2 +- tools/bookrunner/src/books.rs | 2 +- tools/bookrunner/src/litani.rs | 2 +- tools/bookrunner/src/main.rs | 2 +- tools/bookrunner/src/util.rs | 2 +- tools/compiletest/Cargo.toml | 2 +- tools/compiletest/src/common.rs | 2 +- tools/compiletest/src/header.rs | 2 +- tools/compiletest/src/json.rs | 2 +- tools/compiletest/src/main.rs | 2 +- tools/compiletest/src/raise_fd_limit.rs | 2 +- tools/compiletest/src/read2.rs | 2 +- tools/compiletest/src/runtest.rs | 2 +- tools/compiletest/src/util.rs | 2 +- tools/make-kani-release/Cargo.toml | 2 +- tools/make-kani-release/build.rs | 2 +- tools/make-kani-release/src/main.rs | 2 +- 943 files changed, 948 insertions(+), 946 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1f7096f0b5ce..f1a8a10bcd0f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT * @model-checking/kani-devs diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index fae129842899..b4b9eb4d9176 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT name: Setup Kani Dependencies inputs: diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 43de46a086b9..2b2c3e4db621 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT # A temporary, non-required workflow to notify us when cargo-audit has things to say. diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index 925bd97ce253..29f1ed612089 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT name: Kani Format Check on: pull_request diff --git a/.github/workflows/kani.yml b/.github/workflows/kani.yml index 3802a7e0c5b5..94c798d163b5 100644 --- a/.github/workflows/kani.yml +++ b/.github/workflows/kani.yml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT name: Kani CI on: [push, pull_request] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d0508ef93fb..ec23438e055e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT name: Release on: diff --git a/Cargo.toml b/Cargo.toml index 4b25caeb19c0..9d1007636ce8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/build.rs b/build.rs index 8f76e043a3c2..58b4f8f6dbe5 100644 --- a/build.rs +++ b/build.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::env::var; diff --git a/cprover_bindings/Cargo.toml b/cprover_bindings/Cargo.toml index c7c178f3add2..2cbb1591bf5c 100644 --- a/cprover_bindings/Cargo.toml +++ b/cprover_bindings/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/cprover_bindings/src/cbmc_string.rs b/cprover_bindings/src/cbmc_string.rs index 68588e229b5c..b487b7615122 100644 --- a/cprover_bindings/src/cbmc_string.rs +++ b/cprover_bindings/src/cbmc_string.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use lazy_static::lazy_static; diff --git a/cprover_bindings/src/env.rs b/cprover_bindings/src/env.rs index 7beb86255c1c..4d6c602b7798 100644 --- a/cprover_bindings/src/env.rs +++ b/cprover_bindings/src/env.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Find mod.rs for centralized documentation //! diff --git a/cprover_bindings/src/goto_program/builtin.rs b/cprover_bindings/src/goto_program/builtin.rs index 0d79b58118b6..0260ff116109 100644 --- a/cprover_bindings/src/goto_program/builtin.rs +++ b/cprover_bindings/src/goto_program/builtin.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! this module lazily declares builtin functions in CBMC use self::BuiltinFn::*; diff --git a/cprover_bindings/src/goto_program/expr.rs b/cprover_bindings/src/goto_program/expr.rs index a8aacd6bf042..1ab3c595ab79 100644 --- a/cprover_bindings/src/goto_program/expr.rs +++ b/cprover_bindings/src/goto_program/expr.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use self::BinaryOperand::*; use self::ExprValue::*; diff --git a/cprover_bindings/src/goto_program/location.rs b/cprover_bindings/src/goto_program/location.rs index 0d37d995f896..120832874968 100644 --- a/cprover_bindings/src/goto_program/location.rs +++ b/cprover_bindings/src/goto_program/location.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use crate::cbmc_string::{InternStringOption, InternedString}; use std::convert::TryInto; diff --git a/cprover_bindings/src/goto_program/mod.rs b/cprover_bindings/src/goto_program/mod.rs index a873edc7b9d0..a66aca693f37 100644 --- a/cprover_bindings/src/goto_program/mod.rs +++ b/cprover_bindings/src/goto_program/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module contains typesafe representations of CBMC's data structures diff --git a/cprover_bindings/src/goto_program/stmt.rs b/cprover_bindings/src/goto_program/stmt.rs index d3cee28973aa..78fe0f98b3da 100644 --- a/cprover_bindings/src/goto_program/stmt.rs +++ b/cprover_bindings/src/goto_program/stmt.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use self::StmtBody::*; use super::{BuiltinFn, Expr, Location}; diff --git a/cprover_bindings/src/goto_program/symbol.rs b/cprover_bindings/src/goto_program/symbol.rs index 71d46962b54d..38fc9b8a8ae2 100644 --- a/cprover_bindings/src/goto_program/symbol.rs +++ b/cprover_bindings/src/goto_program/symbol.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::super::utils::aggr_tag; use super::{DatatypeComponent, Expr, Location, Parameter, Stmt, Type}; diff --git a/cprover_bindings/src/goto_program/symbol_table.rs b/cprover_bindings/src/goto_program/symbol_table.rs index da32e20d533a..62fec3bf0b98 100644 --- a/cprover_bindings/src/goto_program/symbol_table.rs +++ b/cprover_bindings/src/goto_program/symbol_table.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::super::{env, MachineModel}; use super::{BuiltinFn, Stmt, Symbol}; diff --git a/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/expr_transformer.rs b/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/expr_transformer.rs index 3a80683560a3..dd3f08f97d78 100644 --- a/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/expr_transformer.rs +++ b/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/expr_transformer.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::ops::{BitAnd, Shl, Shr}; diff --git a/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/mod.rs b/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/mod.rs index c3f623426bde..7d54b791a296 100644 --- a/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/mod.rs +++ b/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT mod expr_transformer; diff --git a/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/name_transformer.rs b/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/name_transformer.rs index 95b5e4e5419d..f021b7ea9f93 100644 --- a/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/name_transformer.rs +++ b/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/name_transformer.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::super::Transformer; diff --git a/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/nondet_transformer.rs b/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/nondet_transformer.rs index 26f15e78e722..f09259781f01 100644 --- a/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/nondet_transformer.rs +++ b/cprover_bindings/src/goto_program/symtab_transformer/gen_c_transformer/nondet_transformer.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::super::Transformer; diff --git a/cprover_bindings/src/goto_program/symtab_transformer/identity_transformer.rs b/cprover_bindings/src/goto_program/symtab_transformer/identity_transformer.rs index 9f873434e4a7..2e6d72a3154f 100644 --- a/cprover_bindings/src/goto_program/symtab_transformer/identity_transformer.rs +++ b/cprover_bindings/src/goto_program/symtab_transformer/identity_transformer.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::Transformer; diff --git a/cprover_bindings/src/goto_program/symtab_transformer/mod.rs b/cprover_bindings/src/goto_program/symtab_transformer/mod.rs index c3aa6da1a742..1ffa48f0f156 100644 --- a/cprover_bindings/src/goto_program/symtab_transformer/mod.rs +++ b/cprover_bindings/src/goto_program/symtab_transformer/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module contains the structures used for symbol table transformations. diff --git a/cprover_bindings/src/goto_program/symtab_transformer/passes.rs b/cprover_bindings/src/goto_program/symtab_transformer/passes.rs index 1527dbd3a168..0f5c4974b903 100644 --- a/cprover_bindings/src/goto_program/symtab_transformer/passes.rs +++ b/cprover_bindings/src/goto_program/symtab_transformer/passes.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::gen_c_transformer::{ExprTransformer, NameTransformer, NondetTransformer}; diff --git a/cprover_bindings/src/goto_program/symtab_transformer/transformer.rs b/cprover_bindings/src/goto_program/symtab_transformer/transformer.rs index afd8fea53043..8b7df396c93a 100644 --- a/cprover_bindings/src/goto_program/symtab_transformer/transformer.rs +++ b/cprover_bindings/src/goto_program/symtab_transformer/transformer.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use crate::goto_program::{ diff --git a/cprover_bindings/src/goto_program/typ.rs b/cprover_bindings/src/goto_program/typ.rs index e085dcdb68f2..87edaeb686fd 100644 --- a/cprover_bindings/src/goto_program/typ.rs +++ b/cprover_bindings/src/goto_program/typ.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use self::DatatypeComponent::*; use self::Type::*; diff --git a/cprover_bindings/src/irep/irep.rs b/cprover_bindings/src/irep/irep.rs index e8f265b41cef..29be8e4bf4c2 100644 --- a/cprover_bindings/src/irep/irep.rs +++ b/cprover_bindings/src/irep/irep.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! The actual `Irep` structure, and associated constructors, getters, and setters. diff --git a/cprover_bindings/src/irep/irep_id.rs b/cprover_bindings/src/irep/irep_id.rs index d4d343e0043e..cebf99769174 100644 --- a/cprover_bindings/src/irep/irep_id.rs +++ b/cprover_bindings/src/irep/irep_id.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! find mod.rs for centralized documentation //! diff --git a/cprover_bindings/src/irep/mod.rs b/cprover_bindings/src/irep/mod.rs index 328b6cfd4efa..911ff9603d2c 100644 --- a/cprover_bindings/src/irep/mod.rs +++ b/cprover_bindings/src/irep/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module is am implementation of the `Irep` serilization format for goto programs. //! diff --git a/cprover_bindings/src/irep/serialize.rs b/cprover_bindings/src/irep/serialize.rs index fb2c1e538a7b..0ca9ff417efe 100644 --- a/cprover_bindings/src/irep/serialize.rs +++ b/cprover_bindings/src/irep/serialize.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This crate implements irep serialization using serde Serializer. use crate::irep::{Irep, IrepId, Symbol, SymbolTable}; diff --git a/cprover_bindings/src/irep/symbol.rs b/cprover_bindings/src/irep/symbol.rs index 555700459022..2707103f2569 100644 --- a/cprover_bindings/src/irep/symbol.rs +++ b/cprover_bindings/src/irep/symbol.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::Irep; use crate::InternedString; diff --git a/cprover_bindings/src/irep/symbol_table.rs b/cprover_bindings/src/irep/symbol_table.rs index 5b78102151fb..77e63c98fa4b 100644 --- a/cprover_bindings/src/irep/symbol_table.rs +++ b/cprover_bindings/src/irep/symbol_table.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::Symbol; use crate::InternedString; diff --git a/cprover_bindings/src/irep/to_irep.rs b/cprover_bindings/src/irep/to_irep.rs index 1938c67166d7..92c7d54d4293 100644 --- a/cprover_bindings/src/irep/to_irep.rs +++ b/cprover_bindings/src/irep/to_irep.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Converts a typed goto-program into the `Irep` serilization format of CBMC // TODO: consider making a macro to replace `linear_map![])` for initilizing btrees. diff --git a/cprover_bindings/src/lib.rs b/cprover_bindings/src/lib.rs index 00ee5c243c59..30a1fd531ded 100644 --- a/cprover_bindings/src/lib.rs +++ b/cprover_bindings/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module contains the representations of CBMC's daa structures. //! diff --git a/cprover_bindings/src/machine_model.rs b/cprover_bindings/src/machine_model.rs index 9b33348bc076..87963d1c8c20 100644 --- a/cprover_bindings/src/machine_model.rs +++ b/cprover_bindings/src/machine_model.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT /// Represents the machine specific information necessary to generate an Irep. use num::bigint::BigInt; diff --git a/cprover_bindings/src/utils.rs b/cprover_bindings/src/utils.rs index f01a48b0c4f8..52738f96ac45 100644 --- a/cprover_bindings/src/utils.rs +++ b/cprover_bindings/src/utils.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Useful utilities for CBMC diff --git a/docs/book.toml b/docs/book.toml index 277314a15e5f..3ec2b92d74de 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [book] title = "The Kani Rust Verifier" diff --git a/docs/build-docs.sh b/docs/build-docs.sh index 242d24f2e3c5..5a9097c15fc2 100755 --- a/docs/build-docs.sh +++ b/docs/build-docs.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/docs/src/getting-started/verification-results/Cargo.toml b/docs/src/getting-started/verification-results/Cargo.toml index 8c3298b69b06..896ce98400a0 100644 --- a/docs/src/getting-started/verification-results/Cargo.toml +++ b/docs/src/getting-started/verification-results/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/docs/src/getting-started/verification-results/src/main.rs b/docs/src/getting-started/verification-results/src/main.rs index ff3986a5d19e..8d067ac2dfb3 100644 --- a/docs/src/getting-started/verification-results/src/main.rs +++ b/docs/src/getting-started/verification-results/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/docs/src/tutorial/arbitrary-variables/Cargo.toml b/docs/src/tutorial/arbitrary-variables/Cargo.toml index f4cb60d74ea2..5a6570ae8a38 100644 --- a/docs/src/tutorial/arbitrary-variables/Cargo.toml +++ b/docs/src/tutorial/arbitrary-variables/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "arbitrary-variables" diff --git a/docs/src/tutorial/arbitrary-variables/src/inventory.rs b/docs/src/tutorial/arbitrary-variables/src/inventory.rs index 1feea0bfb52b..bbd3f104fa1c 100644 --- a/docs/src/tutorial/arbitrary-variables/src/inventory.rs +++ b/docs/src/tutorial/arbitrary-variables/src/inventory.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // ANCHOR: inventory_lib diff --git a/docs/src/tutorial/arbitrary-variables/src/lib.rs b/docs/src/tutorial/arbitrary-variables/src/lib.rs index 3e2e15e129c0..234ffca810c8 100644 --- a/docs/src/tutorial/arbitrary-variables/src/lib.rs +++ b/docs/src/tutorial/arbitrary-variables/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub mod inventory; diff --git a/docs/src/tutorial/arbitrary-variables/src/rating.rs b/docs/src/tutorial/arbitrary-variables/src/rating.rs index 758c814adf8c..9e4120df36d3 100644 --- a/docs/src/tutorial/arbitrary-variables/src/rating.rs +++ b/docs/src/tutorial/arbitrary-variables/src/rating.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // ANCHOR: rating_struct diff --git a/docs/src/tutorial/kani-first-steps/Cargo.toml b/docs/src/tutorial/kani-first-steps/Cargo.toml index bd142a565f77..a95502e46568 100644 --- a/docs/src/tutorial/kani-first-steps/Cargo.toml +++ b/docs/src/tutorial/kani-first-steps/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "kani-first-steps" diff --git a/docs/src/tutorial/kani-first-steps/src/final_form.rs b/docs/src/tutorial/kani-first-steps/src/final_form.rs index 5c2d7d717a2c..76926ad88ed3 100644 --- a/docs/src/tutorial/kani-first-steps/src/final_form.rs +++ b/docs/src/tutorial/kani-first-steps/src/final_form.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // ANCHOR: code diff --git a/docs/src/tutorial/kani-first-steps/src/lib.rs b/docs/src/tutorial/kani-first-steps/src/lib.rs index 642e47a2b6ab..a9d7f52a7aed 100644 --- a/docs/src/tutorial/kani-first-steps/src/lib.rs +++ b/docs/src/tutorial/kani-first-steps/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/docs/src/tutorial/kinds-of-failure/Cargo.toml b/docs/src/tutorial/kinds-of-failure/Cargo.toml index 0b5fdb15edcb..4dc1ae87565e 100644 --- a/docs/src/tutorial/kinds-of-failure/Cargo.toml +++ b/docs/src/tutorial/kinds-of-failure/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "kinds-of-failure" diff --git a/docs/src/tutorial/kinds-of-failure/src/bounds_check.rs b/docs/src/tutorial/kinds-of-failure/src/bounds_check.rs index 3590761b8fc8..9204d8f0f17e 100644 --- a/docs/src/tutorial/kinds-of-failure/src/bounds_check.rs +++ b/docs/src/tutorial/kinds-of-failure/src/bounds_check.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/docs/src/tutorial/kinds-of-failure/src/lib.rs b/docs/src/tutorial/kinds-of-failure/src/lib.rs index 57c60c70d9d5..abf4df025f97 100644 --- a/docs/src/tutorial/kinds-of-failure/src/lib.rs +++ b/docs/src/tutorial/kinds-of-failure/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub mod bounds_check; pub mod overflow; diff --git a/docs/src/tutorial/kinds-of-failure/src/overflow.rs b/docs/src/tutorial/kinds-of-failure/src/overflow.rs index 1d66942940c5..f6f45192e81a 100644 --- a/docs/src/tutorial/kinds-of-failure/src/overflow.rs +++ b/docs/src/tutorial/kinds-of-failure/src/overflow.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/docs/src/tutorial/kinds-of-failure/src/overflow_quicksort.rs b/docs/src/tutorial/kinds-of-failure/src/overflow_quicksort.rs index 2e002fb4ffd0..80e3461e40ab 100644 --- a/docs/src/tutorial/kinds-of-failure/src/overflow_quicksort.rs +++ b/docs/src/tutorial/kinds-of-failure/src/overflow_quicksort.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/docs/src/tutorial/loops-unwinding/Cargo.toml b/docs/src/tutorial/loops-unwinding/Cargo.toml index 76ed895a2f2d..b418a4064827 100644 --- a/docs/src/tutorial/loops-unwinding/Cargo.toml +++ b/docs/src/tutorial/loops-unwinding/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "loops-unwinding" diff --git a/docs/src/tutorial/loops-unwinding/src/lib.rs b/docs/src/tutorial/loops-unwinding/src/lib.rs index be27df525155..3163e5f10dfe 100644 --- a/docs/src/tutorial/loops-unwinding/src/lib.rs +++ b/docs/src/tutorial/loops-unwinding/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // ANCHOR: code diff --git a/kani-compiler/Cargo.toml b/kani-compiler/Cargo.toml index a7bf1a73d1ac..b39976f1bc68 100644 --- a/kani-compiler/Cargo.toml +++ b/kani-compiler/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/kani-compiler/build.rs b/kani-compiler/build.rs index 35df6facd672..672866b8f9a7 100644 --- a/kani-compiler/build.rs +++ b/kani-compiler/build.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::env; diff --git a/kani-compiler/kani_queries/Cargo.toml b/kani-compiler/kani_queries/Cargo.toml index 13c59ffc59ba..8d92efb75a92 100644 --- a/kani-compiler/kani_queries/Cargo.toml +++ b/kani-compiler/kani_queries/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/kani-compiler/kani_queries/src/lib.rs b/kani-compiler/kani_queries/src/lib.rs index 3a73ebc56dea..8c67a4809aa7 100644 --- a/kani-compiler/kani_queries/src/lib.rs +++ b/kani-compiler/kani_queries/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::sync::atomic::{AtomicBool, Ordering}; diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/assert.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/assert.rs index e9822048009d..48f5ef55fe57 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/assert.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/assert.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This file contains the code that acts as a wrapper to create the new assert and related statements diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/block.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/block.rs index 97a5b2e36724..f6bdd2725df4 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/block.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/block.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This file contains functions related to codegenning MIR blocks into gotoc diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/function.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/function.rs index 8872f6397cbc..68be3a092874 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/function.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/function.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This file contains functions related to codegenning MIR functions into gotoc diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/intrinsic.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/intrinsic.rs index f156f5396c24..40ee727bac90 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/intrinsic.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/intrinsic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! this module handles intrinsics use super::PropertyClass; diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/mod.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/mod.rs index db9aef91197f..7ae375b8e187 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/mod.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module does that actual translation of MIR constructs to goto constructs. diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/operand.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/operand.rs index 1a908717d73f..90dc544d8d77 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/operand.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/operand.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use crate::codegen_cprover_gotoc::utils::slice_fat_ptr; use crate::codegen_cprover_gotoc::GotocCtx; diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/place.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/place.rs index 8bc41ec987bc..a6198c5372aa 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/place.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/place.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! responsible for handling codegening places. //! diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs index d94c14ca053b..ce51a52cc5f4 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::typ::{is_pointer, pointee_type, TypeExt}; use crate::codegen_cprover_gotoc::utils::{dynamic_fat_ptr, slice_fat_ptr}; diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/span.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/span.rs index f5bf992e1122..c6bb332a6f83 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/span.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/span.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! MIR Span related functions diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/statement.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/statement.rs index d135428f6e3a..07ed06464ec5 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/statement.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/statement.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::typ::TypeExt; use super::typ::FN_RETURN_VOID_VAR_NAME; diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/static_var.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/static_var.rs index 4a82b70c6036..822dfc2fc412 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/static_var.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/static_var.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This file contains functions related to codegenning MIR static variables into gotoc diff --git a/kani-compiler/src/codegen_cprover_gotoc/codegen/typ.rs b/kani-compiler/src/codegen_cprover_gotoc/codegen/typ.rs index 811aafc5bdc2..95870e266438 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/codegen/typ.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/codegen/typ.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use crate::codegen_cprover_gotoc::GotocCtx; use cbmc::goto_program::{DatatypeComponent, Expr, Location, Parameter, Symbol, SymbolTable, Type}; diff --git a/kani-compiler/src/codegen_cprover_gotoc/compiler_interface.rs b/kani-compiler/src/codegen_cprover_gotoc/compiler_interface.rs index d660924de80a..a83c41816205 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/compiler_interface.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/compiler_interface.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This file contains the code necessary to interface with the compiler backend diff --git a/kani-compiler/src/codegen_cprover_gotoc/context/current_fn.rs b/kani-compiler/src/codegen_cprover_gotoc/context/current_fn.rs index 3b2d4987e680..ce5fecd408be 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/context/current_fn.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/context/current_fn.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use crate::codegen_cprover_gotoc::GotocCtx; diff --git a/kani-compiler/src/codegen_cprover_gotoc/context/goto_ctx.rs b/kani-compiler/src/codegen_cprover_gotoc/context/goto_ctx.rs index 4478d84ffc59..862fcf92c21d 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/context/goto_ctx.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/context/goto_ctx.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Kani can be thought of as a translator from an MIR context to a goto context. diff --git a/kani-compiler/src/codegen_cprover_gotoc/context/mod.rs b/kani-compiler/src/codegen_cprover_gotoc/context/mod.rs index da07c416736e..0053b9add18b 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/context/mod.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/context/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module carries the context used by Kani to convert MIR into goto. diff --git a/kani-compiler/src/codegen_cprover_gotoc/context/vtable_ctx.rs b/kani-compiler/src/codegen_cprover_gotoc/context/vtable_ctx.rs index e9bbc6325a55..7c9bf2c3de90 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/context/vtable_ctx.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/context/vtable_ctx.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT /// We can improve verification performance by conveying semantic information diff --git a/kani-compiler/src/codegen_cprover_gotoc/mod.rs b/kani-compiler/src/codegen_cprover_gotoc/mod.rs index 2e77a754a92d..b9454f63c5f9 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/mod.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT mod codegen; mod compiler_interface; diff --git a/kani-compiler/src/codegen_cprover_gotoc/overrides/hooks.rs b/kani-compiler/src/codegen_cprover_gotoc/overrides/hooks.rs index 1742f161782e..25a1b52c822c 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/overrides/hooks.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/overrides/hooks.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! this module contains various codegen hooks for functions. //! e.g. diff --git a/kani-compiler/src/codegen_cprover_gotoc/overrides/mod.rs b/kani-compiler/src/codegen_cprover_gotoc/overrides/mod.rs index e2e56a23f38d..3dda5076fb89 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/overrides/mod.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/overrides/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module provides a mechanism which Kani can use to override standard codegen. diff --git a/kani-compiler/src/codegen_cprover_gotoc/utils/debug.rs b/kani-compiler/src/codegen_cprover_gotoc/utils/debug.rs index cf2e5e02e692..c1a6af2ee143 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/utils/debug.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/utils/debug.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This file contains functionality that makes Kani easier to debug diff --git a/kani-compiler/src/codegen_cprover_gotoc/utils/mod.rs b/kani-compiler/src/codegen_cprover_gotoc/utils/mod.rs index 54f45bb61f98..edc7c77951a8 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/utils/mod.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/utils/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module provides utils used across Kani diff --git a/kani-compiler/src/codegen_cprover_gotoc/utils/names.rs b/kani-compiler/src/codegen_cprover_gotoc/utils/names.rs index 528d062637bb..b7d1075bf0ef 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/utils/names.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/utils/names.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Functions that make names for things diff --git a/kani-compiler/src/codegen_cprover_gotoc/utils/utils.rs b/kani-compiler/src/codegen_cprover_gotoc/utils/utils.rs index 341c60e1d897..741d2511e1f6 100644 --- a/kani-compiler/src/codegen_cprover_gotoc/utils/utils.rs +++ b/kani-compiler/src/codegen_cprover_gotoc/utils/utils.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use super::super::codegen::TypeExt; use crate::codegen_cprover_gotoc::codegen::PropertyClass; diff --git a/kani-compiler/src/main.rs b/kani-compiler/src/main.rs index 95f58d42efd9..ec593d8b866e 100644 --- a/kani-compiler/src/main.rs +++ b/kani-compiler/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This is the main entry point to our compiler driver. This code accepts a few options that diff --git a/kani-compiler/src/parser.rs b/kani-compiler/src/parser.rs index 827283e78041..baf293cc1688 100644 --- a/kani-compiler/src/parser.rs +++ b/kani-compiler/src/parser.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use clap::{ diff --git a/kani-compiler/src/session.rs b/kani-compiler/src/session.rs index 076f8783e4b6..3b46c4e2a88e 100644 --- a/kani-compiler/src/session.rs +++ b/kani-compiler/src/session.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Module used to configure a compiler session. diff --git a/kani-driver/Cargo.toml b/kani-driver/Cargo.toml index a92ee25e4825..f105087409a5 100644 --- a/kani-driver/Cargo.toml +++ b/kani-driver/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/kani-driver/build.rs b/kani-driver/build.rs index 8f76e043a3c2..58b4f8f6dbe5 100644 --- a/kani-driver/build.rs +++ b/kani-driver/build.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::env::var; diff --git a/kani-driver/src/args.rs b/kani-driver/src/args.rs index 5d922f65df66..bf655f825a60 100644 --- a/kani-driver/src/args.rs +++ b/kani-driver/src/args.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::bail; diff --git a/kani-driver/src/args_toml.rs b/kani-driver/src/args_toml.rs index 0201d23de361..95068b6627de 100644 --- a/kani-driver/src/args_toml.rs +++ b/kani-driver/src/args_toml.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::{bail, Result}; diff --git a/kani-driver/src/call_cargo.rs b/kani-driver/src/call_cargo.rs index 7ea334f4987c..97bfc9d166db 100644 --- a/kani-driver/src/call_cargo.rs +++ b/kani-driver/src/call_cargo.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::{Context, Result}; diff --git a/kani-driver/src/call_cbmc.rs b/kani-driver/src/call_cbmc.rs index 73866bfdb849..445e4e9b2b55 100644 --- a/kani-driver/src/call_cbmc.rs +++ b/kani-driver/src/call_cbmc.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::{bail, Result}; diff --git a/kani-driver/src/call_cbmc_viewer.rs b/kani-driver/src/call_cbmc_viewer.rs index e7a7d33aa718..4ef1d23af3fa 100644 --- a/kani-driver/src/call_cbmc_viewer.rs +++ b/kani-driver/src/call_cbmc_viewer.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::Result; diff --git a/kani-driver/src/call_display_results.rs b/kani-driver/src/call_display_results.rs index 7f1cde7fad4e..cd544a4f8ba5 100644 --- a/kani-driver/src/call_display_results.rs +++ b/kani-driver/src/call_display_results.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::Result; diff --git a/kani-driver/src/call_goto_cc.rs b/kani-driver/src/call_goto_cc.rs index 5d8d76c263bf..1d36bfccb744 100644 --- a/kani-driver/src/call_goto_cc.rs +++ b/kani-driver/src/call_goto_cc.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::Result; diff --git a/kani-driver/src/call_goto_instrument.rs b/kani-driver/src/call_goto_instrument.rs index c61b1e7d6301..00482b846e2c 100644 --- a/kani-driver/src/call_goto_instrument.rs +++ b/kani-driver/src/call_goto_instrument.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::Result; diff --git a/kani-driver/src/call_single_file.rs b/kani-driver/src/call_single_file.rs index 6f697de8b7e4..86ab691a7dc2 100644 --- a/kani-driver/src/call_single_file.rs +++ b/kani-driver/src/call_single_file.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::{Context, Result}; diff --git a/kani-driver/src/call_symtab.rs b/kani-driver/src/call_symtab.rs index b0e248cfb61a..a9b427a168e1 100644 --- a/kani-driver/src/call_symtab.rs +++ b/kani-driver/src/call_symtab.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::Result; diff --git a/kani-driver/src/main.rs b/kani-driver/src/main.rs index e9d1af63745b..0097ac2bbdaa 100644 --- a/kani-driver/src/main.rs +++ b/kani-driver/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::Result; diff --git a/kani-driver/src/metadata.rs b/kani-driver/src/metadata.rs index 241a5aa330c0..4d1b37fd6526 100644 --- a/kani-driver/src/metadata.rs +++ b/kani-driver/src/metadata.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::{bail, Result}; diff --git a/kani-driver/src/session.rs b/kani-driver/src/session.rs index d2732b76dfe4..77d3d6dd43e0 100644 --- a/kani-driver/src/session.rs +++ b/kani-driver/src/session.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use crate::args::KaniArgs; diff --git a/kani-driver/src/util.rs b/kani-driver/src/util.rs index e9ee60f50280..dc3eb77eab07 100644 --- a/kani-driver/src/util.rs +++ b/kani-driver/src/util.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::ffi::OsString; diff --git a/kani_metadata/Cargo.toml b/kani_metadata/Cargo.toml index ac2d5f73d0c9..af113e2fc2cf 100644 --- a/kani_metadata/Cargo.toml +++ b/kani_metadata/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/kani_metadata/src/harness.rs b/kani_metadata/src/harness.rs index a445b26cc857..f6278892abf1 100644 --- a/kani_metadata/src/harness.rs +++ b/kani_metadata/src/harness.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use serde::{Deserialize, Serialize}; diff --git a/kani_metadata/src/lib.rs b/kani_metadata/src/lib.rs index 1f6d4b1cb5b1..933b2809905f 100644 --- a/kani_metadata/src/lib.rs +++ b/kani_metadata/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT mod harness; diff --git a/kani_metadata/src/vtable.rs b/kani_metadata/src/vtable.rs index fb7fcb958e2c..25cff442c650 100644 --- a/kani_metadata/src/vtable.rs +++ b/kani_metadata/src/vtable.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Data structures to represent vtable trait function pointer restrictions diff --git a/library/kani/Cargo.toml b/library/kani/Cargo.toml index ad8910e74c93..a609af6111b9 100644 --- a/library/kani/Cargo.toml +++ b/library/kani/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/library/kani/gen_c_lib.c b/library/kani/gen_c_lib.c index c1a810a5744b..67782d8e9147 100644 --- a/library/kani/gen_c_lib.c +++ b/library/kani/gen_c_lib.c @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This file contains stubs that we link to the produced C file //! from --gen-c-runnable to make it executable. diff --git a/library/kani/kani_lib.c b/library/kani/kani_lib.c index 928b15263d6f..9f951adf1315 100644 --- a/library/kani/kani_lib.c +++ b/library/kani/kani_lib.c @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #include diff --git a/library/kani/src/arbitrary.rs b/library/kani/src/arbitrary.rs index e288e0306acd..eb1e45da9869 100644 --- a/library/kani/src/arbitrary.rs +++ b/library/kani/src/arbitrary.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module introduces the Arbitrary trait as well as implementation for the Invariant trait. diff --git a/library/kani/src/invariant.rs b/library/kani/src/invariant.rs index 4238e4034640..4758d27ecb59 100644 --- a/library/kani/src/invariant.rs +++ b/library/kani/src/invariant.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module introduces the Invariant trait as well as implementation for commonly used types. diff --git a/library/kani/src/lib.rs b/library/kani/src/lib.rs index cd9a1535e088..e977f47cf3ed 100644 --- a/library/kani/src/lib.rs +++ b/library/kani/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(rustc_attrs)] // Used for rustc_diagnostic_item. #![feature(min_specialization)] // Used for default implementation of Arbitrary. diff --git a/library/kani/src/slice.rs b/library/kani/src/slice.rs index 9edd3611d8a0..a1b50b838ff8 100644 --- a/library/kani/src/slice.rs +++ b/library/kani/src/slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use crate::{any, any_raw, assume, Arbitrary}; use std::alloc::{alloc, dealloc, Layout}; diff --git a/library/kani/stubs/C/hashset/hashset.c b/library/kani/stubs/C/hashset/hashset.c index 1c7ac00a9c84..e92affafb487 100644 --- a/library/kani/stubs/C/hashset/hashset.c +++ b/library/kani/stubs/C/hashset/hashset.c @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #include diff --git a/library/kani/stubs/C/vec/vec.c b/library/kani/stubs/C/vec/vec.c index ffcd10b530d6..ce0fb0433661 100644 --- a/library/kani/stubs/C/vec/vec.c +++ b/library/kani/stubs/C/vec/vec.c @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #include diff --git a/library/kani/stubs/Rust/hashset/c_hashset.rs b/library/kani/stubs/Rust/hashset/c_hashset.rs index 679fec12dda8..3c1e3f20015a 100644 --- a/library/kani/stubs/Rust/hashset/c_hashset.rs +++ b/library/kani/stubs/Rust/hashset/c_hashset.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // NOTE: Code in this file and hashset.c is experimental and is meant to be a diff --git a/library/kani/stubs/Rust/vec/c_vec.rs b/library/kani/stubs/Rust/vec/c_vec.rs index 38dbde176e80..223e56529a9a 100644 --- a/library/kani/stubs/Rust/vec/c_vec.rs +++ b/library/kani/stubs/Rust/vec/c_vec.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT mod utils; diff --git a/library/kani/stubs/Rust/vec/kani_vec.rs b/library/kani/stubs/Rust/vec/kani_vec.rs index 8c406758e679..1a9a10651ffc 100644 --- a/library/kani/stubs/Rust/vec/kani_vec.rs +++ b/library/kani/stubs/Rust/vec/kani_vec.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT mod utils; diff --git a/library/kani/stubs/Rust/vec/mod.rs b/library/kani/stubs/Rust/vec/mod.rs index f03f4879a36c..4d577ea23140 100644 --- a/library/kani/stubs/Rust/vec/mod.rs +++ b/library/kani/stubs/Rust/vec/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub mod c_vec; diff --git a/library/kani/stubs/Rust/vec/noback_vec.rs b/library/kani/stubs/Rust/vec/noback_vec.rs index 8bd7df780a99..c7945ec591ae 100644 --- a/library/kani/stubs/Rust/vec/noback_vec.rs +++ b/library/kani/stubs/Rust/vec/noback_vec.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::marker::PhantomData; diff --git a/library/kani/stubs/Rust/vec/utils.rs b/library/kani/stubs/Rust/vec/utils.rs index f2109f2ddfaf..a014d99e2db7 100644 --- a/library/kani/stubs/Rust/vec/utils.rs +++ b/library/kani/stubs/Rust/vec/utils.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This file should contain imports and methods which can be used across the diff --git a/library/kani_macros/Cargo.toml b/library/kani_macros/Cargo.toml index 998855a7c064..c41f31890553 100644 --- a/library/kani_macros/Cargo.toml +++ b/library/kani_macros/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/library/kani_macros/src/lib.rs b/library/kani_macros/src/lib.rs index 1c011bbaf462..43c709832a62 100644 --- a/library/kani_macros/src/lib.rs +++ b/library/kani_macros/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // #![feature(register_tool)] diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index 95db2fb5fd9f..8fc1ceb83460 100644 --- a/library/std/Cargo.toml +++ b/library/std/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 4b0b065b48a8..85f2db734f85 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! The purpose of this crate is to allow kani to selectively override diff --git a/library/std/src/process.rs b/library/std/src/process.rs index 5630d050f3aa..250dbb78d742 100644 --- a/library/std/src/process.rs +++ b/library/std/src/process.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This module introduces stubs for process methods. diff --git a/rust-toolchain.toml b/rust-toolchain.toml index d859ef2642fc..0f0548c8bc50 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [toolchain] diff --git a/rustfmt.toml b/rustfmt.toml index f196c0471624..1b30f8b91fd4 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT # Run rustfmt with this config (it should be picked up automatically). diff --git a/scripts/cargo-kani b/scripts/cargo-kani index 7173d0a398df..14b91dfbecc1 100755 --- a/scripts/cargo-kani +++ b/scripts/cargo-kani @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/scripts/cbmc_json_parser.py b/scripts/cbmc_json_parser.py index 521567413950..e0f0c1117abc 100755 --- a/scripts/cbmc_json_parser.py +++ b/scripts/cbmc_json_parser.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT diff --git a/scripts/check-cbmc-version.py b/scripts/check-cbmc-version.py index 1737a4ea64ba..fb831a75a16c 100755 --- a/scripts/check-cbmc-version.py +++ b/scripts/check-cbmc-version.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT import argparse diff --git a/scripts/check-cbmc-viewer-version.py b/scripts/check-cbmc-viewer-version.py index 3bd742b689da..88c0f7ed31cb 100755 --- a/scripts/check-cbmc-viewer-version.py +++ b/scripts/check-cbmc-viewer-version.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT import argparse diff --git a/scripts/ci/Dockerfile.release-bundle-test b/scripts/ci/Dockerfile.release-bundle-test index 8a40514606d5..f2516acd6f48 100644 --- a/scripts/ci/Dockerfile.release-bundle-test +++ b/scripts/ci/Dockerfile.release-bundle-test @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT # Note: this file is intended only for testing the kani release bundle diff --git a/scripts/ci/copyright_check.py b/scripts/ci/copyright_check.py index 7a9ef345213d..d3383199a5ed 100755 --- a/scripts/ci/copyright_check.py +++ b/scripts/ci/copyright_check.py @@ -1,17 +1,17 @@ #!/usr/bin/python3 -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT import re import sys import os.path as path from enum import Enum -STANDARD_HEADER_PATTERN_1 = '(//|#) Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.' +STANDARD_HEADER_PATTERN_1 = '(//|#) Copyright Kani Contributors' STANDARD_HEADER_PATTERN_2 = '(//|#) SPDX-License-Identifier: Apache-2.0 OR MIT' MODIFIED_HEADER_PATTERN_1 = '(//|#) SPDX-License-Identifier: Apache-2.0 OR MIT' MODIFIED_HEADER_PATTERN_2 = '(//|#)' -MODIFIED_HEADER_PATTERN_3 = '(//|#) Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.' +MODIFIED_HEADER_PATTERN_3 = '(//|#) Modifications Copyright Kani Contributors' MODIFIED_HEADER_PATTERN_4 = '(//|#) See GitHub history for details.' class CheckResult(Enum): diff --git a/scripts/ci/detect_bookrunner_failures.sh b/scripts/ci/detect_bookrunner_failures.sh index 8292671d4855..027ea8174b5d 100755 --- a/scripts/ci/detect_bookrunner_failures.sh +++ b/scripts/ci/detect_bookrunner_failures.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/scripts/ci/run-copyright-check.sh b/scripts/ci/run-copyright-check.sh index da44ec8a8efd..ea3de914b0c9 100755 --- a/scripts/ci/run-copyright-check.sh +++ b/scripts/ci/run-copyright-check.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -o errexit @@ -13,4 +13,6 @@ KANI_DIR=$CI_SCRIPT_DIR/../.. # Filter the files for copyright check based on the patterns in `copyright-exclude` # Exclude rustdoc to reduce conflicts for now: # https://github.com/model-checking/kani/issues/974 -git ls-files $KANI_DIR | grep -v -E -f $CI_SCRIPT_DIR/copyright-exclude | xargs ./scripts/ci/copyright_check.py +git ls-files $KANI_DIR |\ + grep -v -E -f $CI_SCRIPT_DIR/copyright-exclude |\ + xargs -d "\n" ./scripts/ci/copyright_check.py diff --git a/scripts/ci/update_bookrunner_report.py b/scripts/ci/update_bookrunner_report.py index 6e36d5658308..fc1c47ad78c4 100644 --- a/scripts/ci/update_bookrunner_report.py +++ b/scripts/ci/update_bookrunner_report.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT import argparse diff --git a/scripts/codegen-firecracker.sh b/scripts/codegen-firecracker.sh index 7382756d2f10..8baf5c60fd73 100755 --- a/scripts/codegen-firecracker.sh +++ b/scripts/codegen-firecracker.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/scripts/kani b/scripts/kani index eafeb9fdefb2..1ed225b2cb8d 100755 --- a/scripts/kani +++ b/scripts/kani @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/scripts/kani-fmt.sh b/scripts/kani-fmt.sh index 777e8ac7428e..e64067c8ff01 100755 --- a/scripts/kani-fmt.sh +++ b/scripts/kani-fmt.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT # # Runs `rustfmt` in our source crates and tests. diff --git a/scripts/kani-regression.sh b/scripts/kani-regression.sh index 5906488f7922..11c4572ad0e4 100755 --- a/scripts/kani-regression.sh +++ b/scripts/kani-regression.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT if [[ -z $KANI_REGRESSION_KEEP_GOING ]]; then diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml index ade493bf085f..584156e5eee4 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [tool.autopep8] diff --git a/scripts/run-autopep8.sh b/scripts/run-autopep8.sh index d723fe1c8cab..0673f59db77c 100755 --- a/scripts/run-autopep8.sh +++ b/scripts/run-autopep8.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT # # Script that enables auto formating of python files. diff --git a/scripts/run-clang-format.sh b/scripts/run-clang-format.sh index 5391cf34f747..eb92b983092c 100755 --- a/scripts/run-clang-format.sh +++ b/scripts/run-clang-format.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT # Flags: -d: Dry-run. Instead of updating, error if there are non-formatted c files diff --git a/scripts/setup/install_bookrunner_deps.sh b/scripts/setup/install_bookrunner_deps.sh index 45295fe3f8a3..f1457c1e9c4d 100755 --- a/scripts/setup/install_bookrunner_deps.sh +++ b/scripts/setup/install_bookrunner_deps.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/scripts/setup/install_rustup.sh b/scripts/setup/install_rustup.sh index e8c0b68d682e..d9c72ecf3cfe 100755 --- a/scripts/setup/install_rustup.sh +++ b/scripts/setup/install_rustup.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eux diff --git a/scripts/setup/install_viewer.sh b/scripts/setup/install_viewer.sh index 33d75cf5167a..c6a449ee2954 100755 --- a/scripts/setup/install_viewer.sh +++ b/scripts/setup/install_viewer.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/scripts/setup/macos-10.15/install_cbmc.sh b/scripts/setup/macos-10.15/install_cbmc.sh index 0a207a23b0a2..7940b2980c63 100755 --- a/scripts/setup/macos-10.15/install_cbmc.sh +++ b/scripts/setup/macos-10.15/install_cbmc.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eux diff --git a/scripts/setup/macos-10.15/install_deps.sh b/scripts/setup/macos-10.15/install_deps.sh index 94e2caebb786..68d1b46ea0c7 100755 --- a/scripts/setup/macos-10.15/install_deps.sh +++ b/scripts/setup/macos-10.15/install_deps.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eux diff --git a/scripts/setup/ubuntu/install_cbmc.sh b/scripts/setup/ubuntu/install_cbmc.sh index ef347b138651..afa2bee2d22f 100755 --- a/scripts/setup/ubuntu/install_cbmc.sh +++ b/scripts/setup/ubuntu/install_cbmc.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/scripts/setup/ubuntu/install_deps.sh b/scripts/setup/ubuntu/install_deps.sh index 771166705464..92a3454bc055 100755 --- a/scripts/setup/ubuntu/install_deps.sh +++ b/scripts/setup/ubuntu/install_deps.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/scripts/std-lib-regression.sh b/scripts/std-lib-regression.sh index c6887a68e210..1381b4ba7f83 100755 --- a/scripts/std-lib-regression.sh +++ b/scripts/std-lib-regression.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT set -eu diff --git a/scripts/test_cbmc_json_parser.py b/scripts/test_cbmc_json_parser.py index 78eb7674002f..74820e2d4472 100644 --- a/scripts/test_cbmc_json_parser.py +++ b/scripts/test_cbmc_json_parser.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT import unittest import os diff --git a/src/bin/cargo_kani.rs b/src/bin/cargo_kani.rs index 7860194f88b8..2d39cd0a1d10 100644 --- a/src/bin/cargo_kani.rs +++ b/src/bin/cargo_kani.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::Result; diff --git a/src/bin/kani.rs b/src/bin/kani.rs index 33955fdbe2ee..b94ff383748c 100644 --- a/src/bin/kani.rs +++ b/src/bin/kani.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use anyhow::Result; diff --git a/src/lib.rs b/src/lib.rs index 9febbc5dbd3c..2e2bd6ee926a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This crate includes two "proxy binaries": `kani` and `cargo-kani`. diff --git a/tests/cargo-kani/asm/global/Cargo.toml b/tests/cargo-kani/asm/global/Cargo.toml index 9cad3c960de6..69778d77ef4e 100644 --- a/tests/cargo-kani/asm/global/Cargo.toml +++ b/tests/cargo-kani/asm/global/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/asm/global/crate_with_global_asm/Cargo.toml b/tests/cargo-kani/asm/global/crate_with_global_asm/Cargo.toml index e0c30b0c710d..cf2d34ad1cf8 100644 --- a/tests/cargo-kani/asm/global/crate_with_global_asm/Cargo.toml +++ b/tests/cargo-kani/asm/global/crate_with_global_asm/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/asm/global/crate_with_global_asm/src/lib.rs b/tests/cargo-kani/asm/global/crate_with_global_asm/src/lib.rs index b96ffa4a1408..5a90c11bf699 100644 --- a/tests/cargo-kani/asm/global/crate_with_global_asm/src/lib.rs +++ b/tests/cargo-kani/asm/global/crate_with_global_asm/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // A crate with global ASM diff --git a/tests/cargo-kani/asm/global/src/lib.rs b/tests/cargo-kani/asm/global/src/lib.rs index 07865d8a9078..347a7449d06f 100644 --- a/tests/cargo-kani/asm/global/src/lib.rs +++ b/tests/cargo-kani/asm/global/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Call a function from crate with global ASM diff --git a/tests/cargo-kani/asm/global_error/Cargo.toml b/tests/cargo-kani/asm/global_error/Cargo.toml index 47e7d2fa4143..850ad947f8c4 100644 --- a/tests/cargo-kani/asm/global_error/Cargo.toml +++ b/tests/cargo-kani/asm/global_error/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/asm/global_error/crate_with_global_asm/Cargo.toml b/tests/cargo-kani/asm/global_error/crate_with_global_asm/Cargo.toml index e0c30b0c710d..cf2d34ad1cf8 100644 --- a/tests/cargo-kani/asm/global_error/crate_with_global_asm/Cargo.toml +++ b/tests/cargo-kani/asm/global_error/crate_with_global_asm/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/asm/global_error/crate_with_global_asm/src/lib.rs b/tests/cargo-kani/asm/global_error/crate_with_global_asm/src/lib.rs index b96ffa4a1408..5a90c11bf699 100644 --- a/tests/cargo-kani/asm/global_error/crate_with_global_asm/src/lib.rs +++ b/tests/cargo-kani/asm/global_error/crate_with_global_asm/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // A crate with global ASM diff --git a/tests/cargo-kani/asm/global_error/src/lib.rs b/tests/cargo-kani/asm/global_error/src/lib.rs index b97ad0d4e126..0b7b62a025ff 100644 --- a/tests/cargo-kani/asm/global_error/src/lib.rs +++ b/tests/cargo-kani/asm/global_error/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Kani should error out if run without --ignore-global-asm even if the crate diff --git a/tests/cargo-kani/assert-reach/Cargo.toml b/tests/cargo-kani/assert-reach/Cargo.toml index d9c6e1f76385..dba734c248a8 100644 --- a/tests/cargo-kani/assert-reach/Cargo.toml +++ b/tests/cargo-kani/assert-reach/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/assert-reach/foo/Cargo.toml b/tests/cargo-kani/assert-reach/foo/Cargo.toml index 5382aec0e26a..9a46cb90c4ed 100644 --- a/tests/cargo-kani/assert-reach/foo/Cargo.toml +++ b/tests/cargo-kani/assert-reach/foo/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/assert-reach/foo/src/lib.rs b/tests/cargo-kani/assert-reach/foo/src/lib.rs index 9c9e1d409fdb..7e35448d8362 100644 --- a/tests/cargo-kani/assert-reach/foo/src/lib.rs +++ b/tests/cargo-kani/assert-reach/foo/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub fn foo(x: u32) -> u32 { diff --git a/tests/cargo-kani/assert-reach/src/lib.rs b/tests/cargo-kani/assert-reach/src/lib.rs index f9ce54fe5764..96b2f6111d25 100644 --- a/tests/cargo-kani/assert-reach/src/lib.rs +++ b/tests/cargo-kani/assert-reach/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/cargo-kani/cbmc-unknown-lang-mode/Cargo.toml b/tests/cargo-kani/cbmc-unknown-lang-mode/Cargo.toml index d11221409b5f..5c0a1d78ff83 100644 --- a/tests/cargo-kani/cbmc-unknown-lang-mode/Cargo.toml +++ b/tests/cargo-kani/cbmc-unknown-lang-mode/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/cbmc-unknown-lang-mode/src/lib.rs b/tests/cargo-kani/cbmc-unknown-lang-mode/src/lib.rs index ea4dafbfb355..65a48dd481ed 100644 --- a/tests/cargo-kani/cbmc-unknown-lang-mode/src/lib.rs +++ b/tests/cargo-kani/cbmc-unknown-lang-mode/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/cargo-kani/config/Cargo.toml b/tests/cargo-kani/config/Cargo.toml index 2e4a9f4b5419..6ef160315905 100644 --- a/tests/cargo-kani/config/Cargo.toml +++ b/tests/cargo-kani/config/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "check-config" diff --git a/tests/cargo-kani/config/src/lib.rs b/tests/cargo-kani/config/src/lib.rs index 3b9e9b40fc9a..d0cc84866470 100644 --- a/tests/cargo-kani/config/src/lib.rs +++ b/tests/cargo-kani/config/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This testcase requires an unwind threshold of less than 10 and no-unwind-checks in order to diff --git a/tests/cargo-kani/dependencies/Cargo.toml b/tests/cargo-kani/dependencies/Cargo.toml index 365194f82c52..d76155063171 100644 --- a/tests/cargo-kani/dependencies/Cargo.toml +++ b/tests/cargo-kani/dependencies/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "foo" diff --git a/tests/cargo-kani/dependencies/src/lib.rs b/tests/cargo-kani/dependencies/src/lib.rs index 4a301f35a8f3..dd39d8ddbf54 100644 --- a/tests/cargo-kani/dependencies/src/lib.rs +++ b/tests/cargo-kani/dependencies/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/cargo-kani/firecracker-block-example/Cargo.toml b/tests/cargo-kani/firecracker-block-example/Cargo.toml index cb3ce5df4ead..80053d2163a3 100644 --- a/tests/cargo-kani/firecracker-block-example/Cargo.toml +++ b/tests/cargo-kani/firecracker-block-example/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/firecracker-block-example/src/descriptor_permission_checker.rs b/tests/cargo-kani/firecracker-block-example/src/descriptor_permission_checker.rs index 4924e562aa9d..2b9c97e08d59 100644 --- a/tests/cargo-kani/firecracker-block-example/src/descriptor_permission_checker.rs +++ b/tests/cargo-kani/firecracker-block-example/src/descriptor_permission_checker.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use crate::virtio_defs::*; diff --git a/tests/cargo-kani/firecracker-block-example/src/main.rs b/tests/cargo-kani/firecracker-block-example/src/main.rs index fa4df088add7..2360c5f13470 100644 --- a/tests/cargo-kani/firecracker-block-example/src/main.rs +++ b/tests/cargo-kani/firecracker-block-example/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This code is based on Firecracker's virtio block device implementation diff --git a/tests/cargo-kani/firecracker-block-example/src/virtio_defs.rs b/tests/cargo-kani/firecracker-block-example/src/virtio_defs.rs index 7870b172332f..56f8e9617672 100644 --- a/tests/cargo-kani/firecracker-block-example/src/virtio_defs.rs +++ b/tests/cargo-kani/firecracker-block-example/src/virtio_defs.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub const VIRTQ_DESC_F_NEXT: u16 = 0x1; diff --git a/tests/cargo-kani/output-format/Cargo.toml b/tests/cargo-kani/output-format/Cargo.toml index d7d5da9c8a0e..c9c7b29916bb 100644 --- a/tests/cargo-kani/output-format/Cargo.toml +++ b/tests/cargo-kani/output-format/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/output-format/src/main.rs b/tests/cargo-kani/output-format/src/main.rs index f2c8040e4ec7..c1de44c0ba61 100644 --- a/tests/cargo-kani/output-format/src/main.rs +++ b/tests/cargo-kani/output-format/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/cargo-kani/percent-encoding/Cargo.toml b/tests/cargo-kani/percent-encoding/Cargo.toml index 3232cac4075e..af8d0a2c9ed7 100644 --- a/tests/cargo-kani/percent-encoding/Cargo.toml +++ b/tests/cargo-kani/percent-encoding/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "check_percent_encode" diff --git a/tests/cargo-kani/percent-encoding/src/lib.rs b/tests/cargo-kani/percent-encoding/src/lib.rs index 8b0a0ccfa96f..8da898139aa8 100644 --- a/tests/cargo-kani/percent-encoding/src/lib.rs +++ b/tests/cargo-kani/percent-encoding/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use percent_encoding::{utf8_percent_encode, NON_ALPHANUMERIC}; diff --git a/tests/cargo-kani/rectangle-example/Cargo.toml b/tests/cargo-kani/rectangle-example/Cargo.toml index 730687bb91bb..7f26c7256dca 100644 --- a/tests/cargo-kani/rectangle-example/Cargo.toml +++ b/tests/cargo-kani/rectangle-example/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/rectangle-example/src/lib.rs b/tests/cargo-kani/rectangle-example/src/lib.rs index 727315ba85a1..de2bcdf8fc41 100644 --- a/tests/cargo-kani/rectangle-example/src/lib.rs +++ b/tests/cargo-kani/rectangle-example/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub mod rectangle; diff --git a/tests/cargo-kani/rectangle-example/src/rectangle.rs b/tests/cargo-kani/rectangle-example/src/rectangle.rs index d304b35daa32..ec4f3d0db346 100644 --- a/tests/cargo-kani/rectangle-example/src/rectangle.rs +++ b/tests/cargo-kani/rectangle-example/src/rectangle.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // ANCHOR: rectangle_definition diff --git a/tests/cargo-kani/simple-config-toml/Cargo.toml b/tests/cargo-kani/simple-config-toml/Cargo.toml index c14f583eeeaa..09e79382683a 100644 --- a/tests/cargo-kani/simple-config-toml/Cargo.toml +++ b/tests/cargo-kani/simple-config-toml/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "simple-config-toml" diff --git a/tests/cargo-kani/simple-config-toml/src/lib.rs b/tests/cargo-kani/simple-config-toml/src/lib.rs index a5f04bd4d66c..f5f23c6a2acb 100644 --- a/tests/cargo-kani/simple-config-toml/src/lib.rs +++ b/tests/cargo-kani/simple-config-toml/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub mod pair; pub use pair::Pair; diff --git a/tests/cargo-kani/simple-config-toml/src/pair.rs b/tests/cargo-kani/simple-config-toml/src/pair.rs index 068c006a932b..0201156c4225 100644 --- a/tests/cargo-kani/simple-config-toml/src/pair.rs +++ b/tests/cargo-kani/simple-config-toml/src/pair.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub struct Pair(pub u64, pub u64); diff --git a/tests/cargo-kani/simple-extern/Cargo.toml b/tests/cargo-kani/simple-extern/Cargo.toml index b776957eda40..00b85ac0973c 100644 --- a/tests/cargo-kani/simple-extern/Cargo.toml +++ b/tests/cargo-kani/simple-extern/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "simple-lib" diff --git a/tests/cargo-kani/simple-extern/src/externs.rs b/tests/cargo-kani/simple-extern/src/externs.rs index 2d3df624d620..dfb0d82acb4c 100644 --- a/tests/cargo-kani/simple-extern/src/externs.rs +++ b/tests/cargo-kani/simple-extern/src/externs.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT extern "C" { diff --git a/tests/cargo-kani/simple-extern/src/helper.c b/tests/cargo-kani/simple-extern/src/helper.c index fb10f56cfefd..fa03e4eae48b 100644 --- a/tests/cargo-kani/simple-extern/src/helper.c +++ b/tests/cargo-kani/simple-extern/src/helper.c @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #include diff --git a/tests/cargo-kani/simple-extern/src/lib.rs b/tests/cargo-kani/simple-extern/src/lib.rs index 50a2aea3fafe..d2016d8bd7b2 100644 --- a/tests/cargo-kani/simple-extern/src/lib.rs +++ b/tests/cargo-kani/simple-extern/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub mod externs; pub use externs::external_c_assertion; diff --git a/tests/cargo-kani/simple-lib/Cargo.toml b/tests/cargo-kani/simple-lib/Cargo.toml index 30f31a908247..23f843337dc7 100644 --- a/tests/cargo-kani/simple-lib/Cargo.toml +++ b/tests/cargo-kani/simple-lib/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "simple-lib" diff --git a/tests/cargo-kani/simple-lib/src/lib.rs b/tests/cargo-kani/simple-lib/src/lib.rs index a5f04bd4d66c..f5f23c6a2acb 100644 --- a/tests/cargo-kani/simple-lib/src/lib.rs +++ b/tests/cargo-kani/simple-lib/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub mod pair; pub use pair::Pair; diff --git a/tests/cargo-kani/simple-lib/src/pair.rs b/tests/cargo-kani/simple-lib/src/pair.rs index 068c006a932b..0201156c4225 100644 --- a/tests/cargo-kani/simple-lib/src/pair.rs +++ b/tests/cargo-kani/simple-lib/src/pair.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub struct Pair(pub u64, pub u64); diff --git a/tests/cargo-kani/simple-main/Cargo.toml b/tests/cargo-kani/simple-main/Cargo.toml index 295edc0cb858..90d018fdf8ba 100644 --- a/tests/cargo-kani/simple-main/Cargo.toml +++ b/tests/cargo-kani/simple-main/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "empty-main" diff --git a/tests/cargo-kani/simple-main/src/main.rs b/tests/cargo-kani/simple-main/src/main.rs index 3bc601d23bd6..390a15b9c89d 100644 --- a/tests/cargo-kani/simple-main/src/main.rs +++ b/tests/cargo-kani/simple-main/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/cargo-kani/simple-proof-annotation/Cargo.toml b/tests/cargo-kani/simple-proof-annotation/Cargo.toml index ac7b90d22ec0..cd6c0cee0102 100644 --- a/tests/cargo-kani/simple-proof-annotation/Cargo.toml +++ b/tests/cargo-kani/simple-proof-annotation/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/simple-proof-annotation/src/main.rs b/tests/cargo-kani/simple-proof-annotation/src/main.rs index ec6472221385..f97c1017db8e 100644 --- a/tests/cargo-kani/simple-proof-annotation/src/main.rs +++ b/tests/cargo-kani/simple-proof-annotation/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn main() { diff --git a/tests/cargo-kani/simple-unwind-annotation/Cargo.toml b/tests/cargo-kani/simple-unwind-annotation/Cargo.toml index 401ebf5cad48..3f620de83b57 100644 --- a/tests/cargo-kani/simple-unwind-annotation/Cargo.toml +++ b/tests/cargo-kani/simple-unwind-annotation/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/simple-unwind-annotation/src/lib.rs b/tests/cargo-kani/simple-unwind-annotation/src/lib.rs index c97065ce947b..73f66ae41e89 100644 --- a/tests/cargo-kani/simple-unwind-annotation/src/lib.rs +++ b/tests/cargo-kani/simple-unwind-annotation/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // TODO: When unwind is hooked up, `harness.expected` should now see success diff --git a/tests/cargo-kani/simple-visualize/Cargo.toml b/tests/cargo-kani/simple-visualize/Cargo.toml index 218cf0ff4864..826eb3afc2d6 100644 --- a/tests/cargo-kani/simple-visualize/Cargo.toml +++ b/tests/cargo-kani/simple-visualize/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "simple-visualize" diff --git a/tests/cargo-kani/simple-visualize/src/main.rs b/tests/cargo-kani/simple-visualize/src/main.rs index 3bc601d23bd6..390a15b9c89d 100644 --- a/tests/cargo-kani/simple-visualize/src/main.rs +++ b/tests/cargo-kani/simple-visualize/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/cargo-kani/small-vec/Cargo.toml b/tests/cargo-kani/small-vec/Cargo.toml index eda5dd03fdbb..fafb03e61357 100644 --- a/tests/cargo-kani/small-vec/Cargo.toml +++ b/tests/cargo-kani/small-vec/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "check_stack_vec" diff --git a/tests/cargo-kani/small-vec/src/lib.rs b/tests/cargo-kani/small-vec/src/lib.rs index 11fb886b606f..56692d782c09 100644 --- a/tests/cargo-kani/small-vec/src/lib.rs +++ b/tests/cargo-kani/small-vec/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use kani::Invariant; diff --git a/tests/cargo-kani/type-mismatch/Cargo.toml b/tests/cargo-kani/type-mismatch/Cargo.toml index a87ebafe4285..5ac2761dd0b2 100644 --- a/tests/cargo-kani/type-mismatch/Cargo.toml +++ b/tests/cargo-kani/type-mismatch/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/type-mismatch/src/lib.rs b/tests/cargo-kani/type-mismatch/src/lib.rs index 990ce3f42340..f021b13846cc 100644 --- a/tests/cargo-kani/type-mismatch/src/lib.rs +++ b/tests/cargo-kani/type-mismatch/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/cargo-kani/type-mismatch/uses_core/Cargo.toml b/tests/cargo-kani/type-mismatch/uses_core/Cargo.toml index 70a769834307..bd3eee8bcc1a 100644 --- a/tests/cargo-kani/type-mismatch/uses_core/Cargo.toml +++ b/tests/cargo-kani/type-mismatch/uses_core/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/type-mismatch/uses_core/src/lib.rs b/tests/cargo-kani/type-mismatch/uses_core/src/lib.rs index 285639d0549a..8f58bbf2cad4 100644 --- a/tests/cargo-kani/type-mismatch/uses_core/src/lib.rs +++ b/tests/cargo-kani/type-mismatch/uses_core/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![no_std] diff --git a/tests/cargo-kani/type-mismatch/uses_std/Cargo.toml b/tests/cargo-kani/type-mismatch/uses_std/Cargo.toml index 220e328caa46..61eabb3a1589 100644 --- a/tests/cargo-kani/type-mismatch/uses_std/Cargo.toml +++ b/tests/cargo-kani/type-mismatch/uses_std/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/cargo-kani/type-mismatch/uses_std/src/lib.rs b/tests/cargo-kani/type-mismatch/uses_std/src/lib.rs index 5432be91177b..89f85896e1e4 100644 --- a/tests/cargo-kani/type-mismatch/uses_std/src/lib.rs +++ b/tests/cargo-kani/type-mismatch/uses_std/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub fn bar(r: std::ops::Range) -> std::ops::Range { std::ops::Range { start: r.start + 5, end: r.end + 5 } diff --git a/tests/cargo-kani/vecdeque-cve/Cargo.toml b/tests/cargo-kani/vecdeque-cve/Cargo.toml index 163d9c67dccd..e11bdc11e4fe 100644 --- a/tests/cargo-kani/vecdeque-cve/Cargo.toml +++ b/tests/cargo-kani/vecdeque-cve/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] name = "vecdeque-cve" diff --git a/tests/cargo-kani/vecdeque-cve/src/cve.rs b/tests/cargo-kani/vecdeque-cve/src/cve.rs index 98304e554893..745ed05b0df2 100644 --- a/tests/cargo-kani/vecdeque-cve/src/cve.rs +++ b/tests/cargo-kani/vecdeque-cve/src/cve.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! This is a modified version of rust std collections/vec_deque/mod.rs diff --git a/tests/cargo-kani/vecdeque-cve/src/fixed.rs b/tests/cargo-kani/vecdeque-cve/src/fixed.rs index 018aa820dbe0..71aebd9ba289 100644 --- a/tests/cargo-kani/vecdeque-cve/src/fixed.rs +++ b/tests/cargo-kani/vecdeque-cve/src/fixed.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! This is a modified version of std collections/vec_deque/mod.rs diff --git a/tests/cargo-kani/vecdeque-cve/src/harness.rs b/tests/cargo-kani/vecdeque-cve/src/harness.rs index b2fa9fcf6a3b..9452c6463cd6 100644 --- a/tests/cargo-kani/vecdeque-cve/src/harness.rs +++ b/tests/cargo-kani/vecdeque-cve/src/harness.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(slice_range)] diff --git a/tests/cargo-kani/vecdeque-cve/src/raw_vec.rs b/tests/cargo-kani/vecdeque-cve/src/raw_vec.rs index bea0c221fe46..aac8a586fa24 100644 --- a/tests/cargo-kani/vecdeque-cve/src/raw_vec.rs +++ b/tests/cargo-kani/vecdeque-cve/src/raw_vec.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Modified version of std RawVec diff --git a/tests/expected/abort/main.rs b/tests/expected/abort/main.rs index cc4e4b5e28bc..2941ec126f3c 100644 --- a/tests/expected/abort/main.rs +++ b/tests/expected/abort/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Test that the abort() function is respected and nothing beyond it will execute. diff --git a/tests/expected/allocation/main.rs b/tests/expected/allocation/main.rs index 4591d00b7255..6ff598837651 100644 --- a/tests/expected/allocation/main.rs +++ b/tests/expected/allocation/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn foo() -> Option { diff --git a/tests/expected/array/main.rs b/tests/expected/array/main.rs index 76bb20e9f1fb..1f2e04ed0b5a 100644 --- a/tests/expected/array/main.rs +++ b/tests/expected/array/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // cbmc-flags: --bounds-check diff --git a/tests/expected/assert-eq/main.rs b/tests/expected/assert-eq/main.rs index c68cf18fb53a..b7124e8e7f41 100644 --- a/tests/expected/assert-eq/main.rs +++ b/tests/expected/assert-eq/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT /// This test touches a surprising amount of MIR, thanks to the `assert_eq!`, which translates into something like diff --git a/tests/expected/assert-location/assert-false/main.rs b/tests/expected/assert-location/assert-false/main.rs index 42532d70e9e4..776d5262d87e 100644 --- a/tests/expected/assert-location/assert-false/main.rs +++ b/tests/expected/assert-location/assert-false/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check the location of the assert statement when using assert!(false); diff --git a/tests/expected/assert-location/debug-assert/main.rs b/tests/expected/assert-location/debug-assert/main.rs index ca70e98f89a2..6bedb8b56401 100644 --- a/tests/expected/assert-location/debug-assert/main.rs +++ b/tests/expected/assert-location/debug-assert/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check the location of the assert statement when using debug_assert! diff --git a/tests/expected/binop/main.rs b/tests/expected/binop/main.rs index 5ed1a87d1036..00161e67eb13 100644 --- a/tests/expected/binop/main.rs +++ b/tests/expected/binop/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn iadd_test(a: i32, b: i32, correct: i32, wrong: i32) { diff --git a/tests/expected/closure/main.rs b/tests/expected/closure/main.rs index b279bde110c9..0a845f85dc03 100644 --- a/tests/expected/closure/main.rs +++ b/tests/expected/closure/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn call_with_one(mut some_closure: F) -> () diff --git a/tests/expected/closure2/main.rs b/tests/expected/closure2/main.rs index 695b385e7b47..a5a86e60ee8d 100644 --- a/tests/expected/closure2/main.rs +++ b/tests/expected/closure2/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/closure3/main.rs b/tests/expected/closure3/main.rs index 1e8ef22f5f79..09b75125a2bc 100644 --- a/tests/expected/closure3/main.rs +++ b/tests/expected/closure3/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn call_with_one(f: F) -> T diff --git a/tests/expected/comp/main.rs b/tests/expected/comp/main.rs index 26fa4e887b6b..e2b3b166c354 100644 --- a/tests/expected/comp/main.rs +++ b/tests/expected/comp/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[allow(dead_code)] diff --git a/tests/expected/dry-run-flag-conflict/main.rs b/tests/expected/dry-run-flag-conflict/main.rs index 1208bd23a2b0..25da9b112e51 100644 --- a/tests/expected/dry-run-flag-conflict/main.rs +++ b/tests/expected/dry-run-flag-conflict/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // kani-flags: --enable-unstable --dry-run --function main diff --git a/tests/expected/dry-run-flag-unwind-conflict/main.rs b/tests/expected/dry-run-flag-unwind-conflict/main.rs index 28106d16667e..09b4effdb14f 100644 --- a/tests/expected/dry-run-flag-unwind-conflict/main.rs +++ b/tests/expected/dry-run-flag-unwind-conflict/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --dry-run --default-unwind 2 --enable-unstable --function main --cbmc-args --unwindset 2 diff --git a/tests/expected/dry-run/main.rs b/tests/expected/dry-run/main.rs index bda6e5538370..5a0f813d03fe 100644 --- a/tests/expected/dry-run/main.rs +++ b/tests/expected/dry-run/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --dry-run --function main --enable-unstable diff --git a/tests/expected/dynamic-error-trait/main.rs b/tests/expected/dynamic-error-trait/main.rs index d71a06685b49..0098b9b80d56 100644 --- a/tests/expected/dynamic-error-trait/main.rs +++ b/tests/expected/dynamic-error-trait/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // cbmc-flags: --unwinding-assertions diff --git a/tests/expected/dynamic-trait-static-dispatch/main.rs b/tests/expected/dynamic-trait-static-dispatch/main.rs index 80fb3e7d0f9f..df4accbec38d 100644 --- a/tests/expected/dynamic-trait-static-dispatch/main.rs +++ b/tests/expected/dynamic-trait-static-dispatch/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::io::{self}; diff --git a/tests/expected/dynamic-trait/main.rs b/tests/expected/dynamic-trait/main.rs index 708a096548cb..44432d8337f7 100644 --- a/tests/expected/dynamic-trait/main.rs +++ b/tests/expected/dynamic-trait/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT trait Shape { diff --git a/tests/expected/enum/main.rs b/tests/expected/enum/main.rs index 2db57a662482..482d0cbf589e 100644 --- a/tests/expected/enum/main.rs +++ b/tests/expected/enum/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT enum Foo { diff --git a/tests/expected/float-nan/main.rs b/tests/expected/float-nan/main.rs index 5c9582d10681..7f75c467d640 100644 --- a/tests/expected/float-nan/main.rs +++ b/tests/expected/float-nan/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/generators/as_parameter/main.rs b/tests/expected/generators/as_parameter/main.rs index c9c1ce425404..ad5644006c2a 100644 --- a/tests/expected/generators/as_parameter/main.rs +++ b/tests/expected/generators/as_parameter/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Test that includes a generator as a parameter to a function diff --git a/tests/expected/generics/main.rs b/tests/expected/generics/main.rs index 5c18e1cab03b..01c0b77bbb08 100644 --- a/tests/expected/generics/main.rs +++ b/tests/expected/generics/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT struct Foo { diff --git a/tests/expected/intrinsics/breakpoint/main.rs b/tests/expected/intrinsics/breakpoint/main.rs index 4cf79cd215ba..d163b7ef3395 100644 --- a/tests/expected/intrinsics/breakpoint/main.rs +++ b/tests/expected/intrinsics/breakpoint/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `breakpoint` is supported (generates a `SKIP` statement) diff --git a/tests/expected/intrinsics/offset-same-object/main.rs b/tests/expected/intrinsics/offset-same-object/main.rs index 8b4fe3e773ce..e387d9935d02 100644 --- a/tests/expected/intrinsics/offset-same-object/main.rs +++ b/tests/expected/intrinsics/offset-same-object/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `ptr_offset_from` fails if the object that the arguments diff --git a/tests/expected/intrinsics/unreachable/main.rs b/tests/expected/intrinsics/unreachable/main.rs index dab3f0b894bd..23a09e14d6f9 100644 --- a/tests/expected/intrinsics/unreachable/main.rs +++ b/tests/expected/intrinsics/unreachable/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(core_intrinsics)] diff --git a/tests/expected/intrinsics/write_bytes/out-of-bounds/main.rs b/tests/expected/intrinsics/write_bytes/out-of-bounds/main.rs index 7bd5ea7ea0ea..689606aab011 100644 --- a/tests/expected/intrinsics/write_bytes/out-of-bounds/main.rs +++ b/tests/expected/intrinsics/write_bytes/out-of-bounds/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `write_bytes` fails if an out-of-bounds write is made. diff --git a/tests/expected/intrinsics/write_bytes/overflow/main.rs b/tests/expected/intrinsics/write_bytes/overflow/main.rs index 0e2ff04a90b9..26ae38c10084 100644 --- a/tests/expected/intrinsics/write_bytes/overflow/main.rs +++ b/tests/expected/intrinsics/write_bytes/overflow/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `write_bytes` triggers the overflow check. diff --git a/tests/expected/intrinsics/write_bytes/unaligned/main.rs b/tests/expected/intrinsics/write_bytes/unaligned/main.rs index 4a941a56c39d..dad317f1613c 100644 --- a/tests/expected/intrinsics/write_bytes/unaligned/main.rs +++ b/tests/expected/intrinsics/write_bytes/unaligned/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `write_bytes` fails when `dst` is not aligned. diff --git a/tests/expected/iterator/main.rs b/tests/expected/iterator/main.rs index ee882ab253f5..b1cb4a89cfbf 100644 --- a/tests/expected/iterator/main.rs +++ b/tests/expected/iterator/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/never-return/check_never.rs b/tests/expected/never-return/check_never.rs index 3b5496da7235..9971db9b2377 100644 --- a/tests/expected/never-return/check_never.rs +++ b/tests/expected/never-return/check_never.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // kani-flags: --default-unwind 11 diff --git a/tests/expected/niche/main.rs b/tests/expected/niche/main.rs index 82c05095bf41..710ee19049d4 100644 --- a/tests/expected/niche/main.rs +++ b/tests/expected/niche/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT enum Option2 { diff --git a/tests/expected/niche2/main.rs b/tests/expected/niche2/main.rs index 8fad63f0a414..c1379eabce57 100644 --- a/tests/expected/niche2/main.rs +++ b/tests/expected/niche2/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT enum Foo { diff --git a/tests/expected/nondet-slice-i32-oob/main.rs b/tests/expected/nondet-slice-i32-oob/main.rs index a331f17d2f3b..399304469960 100644 --- a/tests/expected/nondet-slice-i32-oob/main.rs +++ b/tests/expected/nondet-slice-i32-oob/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that Kani reports out-of-bound accesses on a non-det slice diff --git a/tests/expected/nondet-slice-len/main.rs b/tests/expected/nondet-slice-len/main.rs index 038e9c1b1c49..842a181b54be 100644 --- a/tests/expected/nondet-slice-len/main.rs +++ b/tests/expected/nondet-slice-len/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that non-det slices created using kani::slice::any_slice can diff --git a/tests/expected/nondet-slice-u8-oob/main.rs b/tests/expected/nondet-slice-u8-oob/main.rs index 1f0bdc428d78..26df22279c05 100644 --- a/tests/expected/nondet-slice-u8-oob/main.rs +++ b/tests/expected/nondet-slice-u8-oob/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that Kani reports out-of-bound accesses on a non-det slice diff --git a/tests/expected/nondet/main.rs b/tests/expected/nondet/main.rs index c130756e663f..bfcbdc2e744b 100644 --- a/tests/expected/nondet/main.rs +++ b/tests/expected/nondet/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/object-bits/insufficient/main.rs b/tests/expected/object-bits/insufficient/main.rs index 877cefdb0ed3..653c5443f174 100644 --- a/tests/expected/object-bits/insufficient/main.rs +++ b/tests/expected/object-bits/insufficient/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks for error message with an --object-bits value that is too small diff --git a/tests/expected/offset-bytes-overflow/main.rs b/tests/expected/offset-bytes-overflow/main.rs index 2b2337b4b67d..f766787887f8 100644 --- a/tests/expected/offset-bytes-overflow/main.rs +++ b/tests/expected/offset-bytes-overflow/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that an offset that overflows an `isize::MAX` triggers a verification failure. diff --git a/tests/expected/offset-from-bytes-overflow/main.rs b/tests/expected/offset-from-bytes-overflow/main.rs index f8f79e9b3c00..ec1aeab9b4b6 100644 --- a/tests/expected/offset-from-bytes-overflow/main.rs +++ b/tests/expected/offset-from-bytes-overflow/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that an offset computed with `offset_from` triggers a verification failure diff --git a/tests/expected/offset-i32-fail/main.rs b/tests/expected/offset-i32-fail/main.rs index ab6ae8b305d8..cb50eca3387e 100644 --- a/tests/expected/offset-i32-fail/main.rs +++ b/tests/expected/offset-i32-fail/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that the pointer computed with `offset` causes a failure if it's diff --git a/tests/expected/offset-overflow/main.rs b/tests/expected/offset-overflow/main.rs index a18e1f1ae97f..2f99eeba2668 100644 --- a/tests/expected/offset-overflow/main.rs +++ b/tests/expected/offset-overflow/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `offset` fails if the offset computation would diff --git a/tests/expected/offset-u8-fail/main.rs b/tests/expected/offset-u8-fail/main.rs index 77ca39a84603..172b8493545e 100644 --- a/tests/expected/offset-u8-fail/main.rs +++ b/tests/expected/offset-u8-fail/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that the pointer computed with `offset` causes a failure if it's diff --git a/tests/expected/one-assert/test.rs b/tests/expected/one-assert/test.rs index 8706d4002d89..d5d547a954b3 100644 --- a/tests/expected/one-assert/test.rs +++ b/tests/expected/one-assert/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/pointer-overflow/main.rs b/tests/expected/pointer-overflow/main.rs index 29d9db95ae9c..9c8dc52bddf0 100644 --- a/tests/expected/pointer-overflow/main.rs +++ b/tests/expected/pointer-overflow/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // kani-flags: --enable-unstable --extra-pointer-checks diff --git a/tests/expected/raw_slice/slice.rs b/tests/expected/raw_slice/slice.rs index fee42f728415..ab84feb2b7d8 100644 --- a/tests/expected/raw_slice/slice.rs +++ b/tests/expected/raw_slice/slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --default-unwind 3 diff --git a/tests/expected/raw_slice_c_repr/slice.rs b/tests/expected/raw_slice_c_repr/slice.rs index aa2ec8f1d4a5..de9d40910635 100644 --- a/tests/expected/raw_slice_c_repr/slice.rs +++ b/tests/expected/raw_slice_c_repr/slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --default-unwind 3 // This test is basically the same as ../raw_slice/slice.rs but using repr(C) instead. diff --git a/tests/expected/raw_slice_packed/slice.rs b/tests/expected/raw_slice_packed/slice.rs index 8dbf1c21590e..80eace361a32 100644 --- a/tests/expected/raw_slice_packed/slice.rs +++ b/tests/expected/raw_slice_packed/slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test is basically the same as ../raw_slice/slice.rs but using repr(C) instead. diff --git a/tests/expected/reach/assert/reachable_fail/test.rs b/tests/expected/reach/assert/reachable_fail/test.rs index 66da22dd92fd..1221fcb5ddfe 100644 --- a/tests/expected/reach/assert/reachable_fail/test.rs +++ b/tests/expected/reach/assert/reachable_fail/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/reach/assert/reachable_pass/test.rs b/tests/expected/reach/assert/reachable_pass/test.rs index c844ad135538..ebe06439fe49 100644 --- a/tests/expected/reach/assert/reachable_pass/test.rs +++ b/tests/expected/reach/assert/reachable_pass/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/reach/assert/unreachable/test.rs b/tests/expected/reach/assert/unreachable/test.rs index 0016ad958d33..0eaecbbcaf3d 100644 --- a/tests/expected/reach/assert/unreachable/test.rs +++ b/tests/expected/reach/assert/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/reach/assert_eq/unreachable/test.rs b/tests/expected/reach/assert_eq/unreachable/test.rs index 21477ddec3aa..71786c8ebdf5 100644 --- a/tests/expected/reach/assert_eq/unreachable/test.rs +++ b/tests/expected/reach/assert_eq/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that Kani injects a reachability check for the assert_eq // macro. The test has an unreachable assert_eq statement which should be diff --git a/tests/expected/reach/assert_ne/unreachable/test.rs b/tests/expected/reach/assert_ne/unreachable/test.rs index 2df36a182b88..3b47975049e5 100644 --- a/tests/expected/reach/assert_ne/unreachable/test.rs +++ b/tests/expected/reach/assert_ne/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that Kani injects a reachability check for the assert_ne // macro. The test has an unreachable assert_ne statement which should be diff --git a/tests/expected/reach/bounds/reachable_fail/test.rs b/tests/expected/reach/bounds/reachable_fail/test.rs index 6ca5273f4bc2..a2efa33cd1a1 100644 --- a/tests/expected/reach/bounds/reachable_fail/test.rs +++ b/tests/expected/reach/bounds/reachable_fail/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for diff --git a/tests/expected/reach/bounds/reachable_pass/test.rs b/tests/expected/reach/bounds/reachable_pass/test.rs index fb2536f1a9ce..132543a74277 100644 --- a/tests/expected/reach/bounds/reachable_pass/test.rs +++ b/tests/expected/reach/bounds/reachable_pass/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for diff --git a/tests/expected/reach/bounds/unreachable/test.rs b/tests/expected/reach/bounds/unreachable/test.rs index e40d18bacb60..7f777cbe34a9 100644 --- a/tests/expected/reach/bounds/unreachable/test.rs +++ b/tests/expected/reach/bounds/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for diff --git a/tests/expected/reach/check_id/main.rs b/tests/expected/reach/check_id/main.rs index 08ee3212e96b..34cf02ce13cf 100644 --- a/tests/expected/reach/check_id/main.rs +++ b/tests/expected/reach/check_id/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test has more than 10 asserts to satisfy the condition that two check diff --git a/tests/expected/reach/debug-assert-eq/reachable_fail/test.rs b/tests/expected/reach/debug-assert-eq/reachable_fail/test.rs index 5792e92e789b..960c838a4672 100644 --- a/tests/expected/reach/debug-assert-eq/reachable_fail/test.rs +++ b/tests/expected/reach/debug-assert-eq/reachable_fail/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for debug_assert_eq diff --git a/tests/expected/reach/debug-assert-eq/reachable_pass/test.rs b/tests/expected/reach/debug-assert-eq/reachable_pass/test.rs index 16822e22d562..fe26a8a85e5c 100644 --- a/tests/expected/reach/debug-assert-eq/reachable_pass/test.rs +++ b/tests/expected/reach/debug-assert-eq/reachable_pass/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for debug_assert_eq diff --git a/tests/expected/reach/debug-assert-eq/unreachable/test.rs b/tests/expected/reach/debug-assert-eq/unreachable/test.rs index 339e53265517..a07ad95eeff6 100644 --- a/tests/expected/reach/debug-assert-eq/unreachable/test.rs +++ b/tests/expected/reach/debug-assert-eq/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for debug_assert_eq diff --git a/tests/expected/reach/debug-assert-ne/reachable_fail/test.rs b/tests/expected/reach/debug-assert-ne/reachable_fail/test.rs index e389b129153b..b7e3a1a052e8 100644 --- a/tests/expected/reach/debug-assert-ne/reachable_fail/test.rs +++ b/tests/expected/reach/debug-assert-ne/reachable_fail/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for debug_assert_ne diff --git a/tests/expected/reach/debug-assert-ne/reachable_pass/test.rs b/tests/expected/reach/debug-assert-ne/reachable_pass/test.rs index 74f9c2cb0f28..1f985740b9a9 100644 --- a/tests/expected/reach/debug-assert-ne/reachable_pass/test.rs +++ b/tests/expected/reach/debug-assert-ne/reachable_pass/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for debug_assert_ne diff --git a/tests/expected/reach/debug-assert-ne/unreachable/test.rs b/tests/expected/reach/debug-assert-ne/unreachable/test.rs index e838b1f90da9..38e1ff2634c7 100644 --- a/tests/expected/reach/debug-assert-ne/unreachable/test.rs +++ b/tests/expected/reach/debug-assert-ne/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for debug_assert_ne diff --git a/tests/expected/reach/debug-assert/reachable_fail/test.rs b/tests/expected/reach/debug-assert/reachable_fail/test.rs index 257df627e048..6023313c43f6 100644 --- a/tests/expected/reach/debug-assert/reachable_fail/test.rs +++ b/tests/expected/reach/debug-assert/reachable_fail/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for debug_assert diff --git a/tests/expected/reach/debug-assert/reachable_pass/test.rs b/tests/expected/reach/debug-assert/reachable_pass/test.rs index 061480b605d6..e554ec25367e 100644 --- a/tests/expected/reach/debug-assert/reachable_pass/test.rs +++ b/tests/expected/reach/debug-assert/reachable_pass/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for debug_assert diff --git a/tests/expected/reach/debug-assert/unreachable/test.rs b/tests/expected/reach/debug-assert/unreachable/test.rs index 2035f8e15451..9c00ccd08fc3 100644 --- a/tests/expected/reach/debug-assert/unreachable/test.rs +++ b/tests/expected/reach/debug-assert/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for debug_assert diff --git a/tests/expected/reach/div-zero/reachable_fail/test.rs b/tests/expected/reach/div-zero/reachable_fail/test.rs index 15fff2f93fef..a4d9be9335c6 100644 --- a/tests/expected/reach/div-zero/reachable_fail/test.rs +++ b/tests/expected/reach/div-zero/reachable_fail/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for diff --git a/tests/expected/reach/div-zero/reachable_pass/test.rs b/tests/expected/reach/div-zero/reachable_pass/test.rs index 69a7eaba317f..cb76186fc83b 100644 --- a/tests/expected/reach/div-zero/reachable_pass/test.rs +++ b/tests/expected/reach/div-zero/reachable_pass/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for diff --git a/tests/expected/reach/div-zero/unreachable/test.rs b/tests/expected/reach/div-zero/unreachable/test.rs index 5696088927e4..64228cab112e 100644 --- a/tests/expected/reach/div-zero/unreachable/test.rs +++ b/tests/expected/reach/div-zero/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for diff --git a/tests/expected/reach/overflow-neg/reachable_fail/test.rs b/tests/expected/reach/overflow-neg/reachable_fail/test.rs index 13ef304fb28b..a4ead2cb3ea0 100644 --- a/tests/expected/reach/overflow-neg/reachable_fail/test.rs +++ b/tests/expected/reach/overflow-neg/reachable_fail/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for negation diff --git a/tests/expected/reach/overflow-neg/reachable_pass/test.rs b/tests/expected/reach/overflow-neg/reachable_pass/test.rs index e2ba207c8668..58d4a2806192 100644 --- a/tests/expected/reach/overflow-neg/reachable_pass/test.rs +++ b/tests/expected/reach/overflow-neg/reachable_pass/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for negation diff --git a/tests/expected/reach/overflow-neg/unreachable/test.rs b/tests/expected/reach/overflow-neg/unreachable/test.rs index 058fc3fab749..8db58ff96077 100644 --- a/tests/expected/reach/overflow-neg/unreachable/test.rs +++ b/tests/expected/reach/overflow-neg/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for negation diff --git a/tests/expected/reach/overflow/reachable_fail/test.rs b/tests/expected/reach/overflow/reachable_fail/test.rs index b6642cd72955..2cdc7ccadccc 100644 --- a/tests/expected/reach/overflow/reachable_fail/test.rs +++ b/tests/expected/reach/overflow/reachable_fail/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for arithmetic diff --git a/tests/expected/reach/overflow/reachable_pass/test.rs b/tests/expected/reach/overflow/reachable_pass/test.rs index 2662b40cf558..05b7e90502d8 100644 --- a/tests/expected/reach/overflow/reachable_pass/test.rs +++ b/tests/expected/reach/overflow/reachable_pass/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for arithmetic diff --git a/tests/expected/reach/overflow/unreachable/test.rs b/tests/expected/reach/overflow/unreachable/test.rs index 32d3e9881ca7..692ce6cf2cf3 100644 --- a/tests/expected/reach/overflow/unreachable/test.rs +++ b/tests/expected/reach/overflow/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for arithmetic diff --git a/tests/expected/reach/rem-zero/reachable_fail/test.rs b/tests/expected/reach/rem-zero/reachable_fail/test.rs index c7d06507128a..3c5967b850e2 100644 --- a/tests/expected/reach/rem-zero/reachable_fail/test.rs +++ b/tests/expected/reach/rem-zero/reachable_fail/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for diff --git a/tests/expected/reach/rem-zero/reachable_pass/test.rs b/tests/expected/reach/rem-zero/reachable_pass/test.rs index d9c002003b9f..68cfdf5d323b 100644 --- a/tests/expected/reach/rem-zero/reachable_pass/test.rs +++ b/tests/expected/reach/rem-zero/reachable_pass/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for diff --git a/tests/expected/reach/rem-zero/unreachable/test.rs b/tests/expected/reach/rem-zero/unreachable/test.rs index 0691d2104f18..e67f43fe0fcb 100644 --- a/tests/expected/reach/rem-zero/unreachable/test.rs +++ b/tests/expected/reach/rem-zero/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that kani injects a reachability check for diff --git a/tests/expected/reach/turned-off/test.rs b/tests/expected/reach/turned-off/test.rs index f62575503dfe..35b7c2ab50bd 100644 --- a/tests/expected/reach/turned-off/test.rs +++ b/tests/expected/reach/turned-off/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that Kani reports SUCCESS for an unreachable check when the diff --git a/tests/expected/realloc/null/main.rs b/tests/expected/realloc/null/main.rs index fab2972774f9..668ad4f84c2f 100644 --- a/tests/expected/realloc/null/main.rs +++ b/tests/expected/realloc/null/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Calling realloc with a null pointer fails diff --git a/tests/expected/realloc/shrink/main.rs b/tests/expected/realloc/shrink/main.rs index d450eb0ccf11..7c4bd377fea7 100644 --- a/tests/expected/realloc/shrink/main.rs +++ b/tests/expected/realloc/shrink/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Use realloc to shrink the size of the allocated block and make sure diff --git a/tests/expected/realloc/zero_size/main.rs b/tests/expected/realloc/zero_size/main.rs index 2050fec7b957..3e347af7512f 100644 --- a/tests/expected/realloc/zero_size/main.rs +++ b/tests/expected/realloc/zero_size/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Calling realloc with a size of zero fails diff --git a/tests/expected/references/main.rs b/tests/expected/references/main.rs index 28fea7192c26..f9064250350a 100644 --- a/tests/expected/references/main.rs +++ b/tests/expected/references/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT struct Foo { diff --git a/tests/expected/report/insufficient_unwind/test.rs b/tests/expected/report/insufficient_unwind/test.rs index 0f31624ad779..898f70f4fbc6 100644 --- a/tests/expected/report/insufficient_unwind/test.rs +++ b/tests/expected/report/insufficient_unwind/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that Kani reports UNDETERMINED if the specified unwinding is diff --git a/tests/expected/report/uncolor/test.rs b/tests/expected/report/uncolor/test.rs index caf366f4c1ea..536bd84f96c5 100644 --- a/tests/expected/report/uncolor/test.rs +++ b/tests/expected/report/uncolor/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that Kani does not emit colored output that includes escape diff --git a/tests/expected/report/unsupported/failure/test.rs b/tests/expected/report/unsupported/failure/test.rs index 26528641714d..6c231cae2ec0 100644 --- a/tests/expected/report/unsupported/failure/test.rs +++ b/tests/expected/report/unsupported/failure/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks for the case of a valid failure despite the existence of a // reachable unsupported construct diff --git a/tests/expected/report/unsupported/reachable/test.rs b/tests/expected/report/unsupported/reachable/test.rs index 742c8b3e57cf..1ce7a5fab9bf 100644 --- a/tests/expected/report/unsupported/reachable/test.rs +++ b/tests/expected/report/unsupported/reachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(asm)] diff --git a/tests/expected/report/unsupported/unreachable/test.rs b/tests/expected/report/unsupported/unreachable/test.rs index 4fed6147f2ba..a28fb576750c 100644 --- a/tests/expected/report/unsupported/unreachable/test.rs +++ b/tests/expected/report/unsupported/unreachable/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(asm)] diff --git a/tests/expected/slice-pattern-array/main.rs b/tests/expected/slice-pattern-array/main.rs index 576134ba79aa..308fa93d5386 100644 --- a/tests/expected/slice-pattern-array/main.rs +++ b/tests/expected/slice-pattern-array/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks sub-array slice pattern, which is currently not supported: diff --git a/tests/expected/slice/main.rs b/tests/expected/slice/main.rs index dd549bf062bc..29317ae96e13 100644 --- a/tests/expected/slice/main.rs +++ b/tests/expected/slice/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn foo(x: &[i32; 5]) -> &[i32] { diff --git a/tests/expected/static-mutable-struct/main.rs b/tests/expected/static-mutable-struct/main.rs index 9cd45aecff5f..3aac9610bd4e 100644 --- a/tests/expected/static-mutable-struct/main.rs +++ b/tests/expected/static-mutable-struct/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Copy, Clone)] diff --git a/tests/expected/static-mutable/main.rs b/tests/expected/static-mutable/main.rs index 7b8bed70895e..2d46911a3697 100644 --- a/tests/expected/static-mutable/main.rs +++ b/tests/expected/static-mutable/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT static mut X: i32 = 12; diff --git a/tests/expected/static/main.rs b/tests/expected/static/main.rs index a65e1e3ebdca..ad8bfb67cf8f 100644 --- a/tests/expected/static/main.rs +++ b/tests/expected/static/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT static X: i32 = 12; diff --git a/tests/expected/test1/main.rs b/tests/expected/test1/main.rs index 68f0330afd4b..101915a5055a 100644 --- a/tests/expected/test1/main.rs +++ b/tests/expected/test1/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/test2/main.rs b/tests/expected/test2/main.rs index 22264689fb3c..43d23424cf0f 100644 --- a/tests/expected/test2/main.rs +++ b/tests/expected/test2/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/test3/main.rs b/tests/expected/test3/main.rs index f55aaa6a8dd9..733394f9655a 100644 --- a/tests/expected/test3/main.rs +++ b/tests/expected/test3/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/test4/main.rs b/tests/expected/test4/main.rs index 48006360a1b9..a1204afed39b 100644 --- a/tests/expected/test4/main.rs +++ b/tests/expected/test4/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/test5/main.rs b/tests/expected/test5/main.rs index 8324822ad8d0..83b32eb69361 100644 --- a/tests/expected/test5/main.rs +++ b/tests/expected/test5/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/test6/main.rs b/tests/expected/test6/main.rs index e8c7864de83b..86cd6d776aa4 100644 --- a/tests/expected/test6/main.rs +++ b/tests/expected/test6/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn add2(a: i32, b: i32) -> f32 { diff --git a/tests/expected/transmute/main.rs b/tests/expected/transmute/main.rs index ac38da7d8beb..a0bc6a92c2a8 100644 --- a/tests/expected/transmute/main.rs +++ b/tests/expected/transmute/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/unsupported-fatptr-comparison/ptr_comparison.rs b/tests/expected/unsupported-fatptr-comparison/ptr_comparison.rs index 5676ba493e2a..914b8a246d22 100644 --- a/tests/expected/unsupported-fatptr-comparison/ptr_comparison.rs +++ b/tests/expected/unsupported-fatptr-comparison/ptr_comparison.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Test relation comparison of fat pointers to slices. diff --git a/tests/expected/unwind_tip/main.rs b/tests/expected/unwind_tip/main.rs index e3c0feccf19b..a9c47d0f8782 100644 --- a/tests/expected/unwind_tip/main.rs +++ b/tests/expected/unwind_tip/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This example is a copy of the `cbmc` test in diff --git a/tests/expected/vec/main.rs b/tests/expected/vec/main.rs index 4688e059f473..93f5f2656965 100644 --- a/tests/expected/vec/main.rs +++ b/tests/expected/vec/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/expected/vecdq/main.rs b/tests/expected/vecdq/main.rs index a01871ef801d..7f1de7935a8a 100644 --- a/tests/expected/vecdq/main.rs +++ b/tests/expected/vecdq/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::collections::VecDeque; diff --git a/tests/firecracker/micro-http-parsed-request/ignore-main.rs b/tests/firecracker/micro-http-parsed-request/ignore-main.rs index 2b7bf9419d7e..90ce756c2317 100644 --- a/tests/firecracker/micro-http-parsed-request/ignore-main.rs +++ b/tests/firecracker/micro-http-parsed-request/ignore-main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Example from Firecracker micro_http request handling // https://github.com/firecracker-microvm/firecracker/commit/22908c9fb0cd5fb20febc5d18ff1284caa5f3a53 diff --git a/tests/firecracker/virtio-balloon-compact/ignore-main.rs b/tests/firecracker/virtio-balloon-compact/ignore-main.rs index fab50e7edae2..09730a316490 100644 --- a/tests/firecracker/virtio-balloon-compact/ignore-main.rs +++ b/tests/firecracker/virtio-balloon-compact/ignore-main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Try with: kani ignore-main.rs --default-unwind 3 --enable-unstable --cbmc-args --object-bits 11 diff --git a/tests/kani-dependency-test/dependency3/Cargo.toml b/tests/kani-dependency-test/dependency3/Cargo.toml index ca02256a369d..e788c4afeba5 100644 --- a/tests/kani-dependency-test/dependency3/Cargo.toml +++ b/tests/kani-dependency-test/dependency3/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/kani-dependency-test/dependency3/src/lib.rs b/tests/kani-dependency-test/dependency3/src/lib.rs index 029f127a483c..e09e74623366 100644 --- a/tests/kani-dependency-test/dependency3/src/lib.rs +++ b/tests/kani-dependency-test/dependency3/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub struct Foo { diff --git a/tests/kani-dependency-test/diamond-dependency/Cargo.toml b/tests/kani-dependency-test/diamond-dependency/Cargo.toml index 08abc075fab9..b36614175618 100644 --- a/tests/kani-dependency-test/diamond-dependency/Cargo.toml +++ b/tests/kani-dependency-test/diamond-dependency/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [workspace] diff --git a/tests/kani-dependency-test/diamond-dependency/dependency1/Cargo.toml b/tests/kani-dependency-test/diamond-dependency/dependency1/Cargo.toml index ee56a4d494af..714b533ad1d6 100644 --- a/tests/kani-dependency-test/diamond-dependency/dependency1/Cargo.toml +++ b/tests/kani-dependency-test/diamond-dependency/dependency1/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/kani-dependency-test/diamond-dependency/dependency1/src/lib.rs b/tests/kani-dependency-test/diamond-dependency/dependency1/src/lib.rs index 5f99ff3e6bfb..935b150f1a9f 100644 --- a/tests/kani-dependency-test/diamond-dependency/dependency1/src/lib.rs +++ b/tests/kani-dependency-test/diamond-dependency/dependency1/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use dependency3; diff --git a/tests/kani-dependency-test/diamond-dependency/dependency2/Cargo.toml b/tests/kani-dependency-test/diamond-dependency/dependency2/Cargo.toml index f29f2ace4b70..845097fd93aa 100644 --- a/tests/kani-dependency-test/diamond-dependency/dependency2/Cargo.toml +++ b/tests/kani-dependency-test/diamond-dependency/dependency2/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/kani-dependency-test/diamond-dependency/dependency2/src/lib.rs b/tests/kani-dependency-test/diamond-dependency/dependency2/src/lib.rs index 5f99ff3e6bfb..935b150f1a9f 100644 --- a/tests/kani-dependency-test/diamond-dependency/dependency2/src/lib.rs +++ b/tests/kani-dependency-test/diamond-dependency/dependency2/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use dependency3; diff --git a/tests/kani-dependency-test/diamond-dependency/dependency3/Cargo.toml b/tests/kani-dependency-test/diamond-dependency/dependency3/Cargo.toml index 0c401d18c890..432dd275ee3a 100644 --- a/tests/kani-dependency-test/diamond-dependency/dependency3/Cargo.toml +++ b/tests/kani-dependency-test/diamond-dependency/dependency3/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/kani-dependency-test/diamond-dependency/dependency3/src/lib.rs b/tests/kani-dependency-test/diamond-dependency/dependency3/src/lib.rs index 50447ae304e5..4d77063030f5 100644 --- a/tests/kani-dependency-test/diamond-dependency/dependency3/src/lib.rs +++ b/tests/kani-dependency-test/diamond-dependency/dependency3/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub struct Foo { diff --git a/tests/kani-dependency-test/diamond-dependency/main/Cargo.toml b/tests/kani-dependency-test/diamond-dependency/main/Cargo.toml index 76bc1207e713..136c543e9866 100644 --- a/tests/kani-dependency-test/diamond-dependency/main/Cargo.toml +++ b/tests/kani-dependency-test/diamond-dependency/main/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tests/kani-dependency-test/diamond-dependency/main/src/lib.rs b/tests/kani-dependency-test/diamond-dependency/main/src/lib.rs index da64f85bee93..e6d610cb1271 100644 --- a/tests/kani-dependency-test/diamond-dependency/main/src/lib.rs +++ b/tests/kani-dependency-test/diamond-dependency/main/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use dependency1; diff --git a/tests/kani-dependency-test/diamond-dependency/run-dependency-test.sh b/tests/kani-dependency-test/diamond-dependency/run-dependency-test.sh index 249caa628470..d81703413293 100755 --- a/tests/kani-dependency-test/diamond-dependency/run-dependency-test.sh +++ b/tests/kani-dependency-test/diamond-dependency/run-dependency-test.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT # We're explicitly checking output rather than failing if the test fails diff --git a/tests/kani/Arbitrary/vector_wrapper.rs b/tests/kani/Arbitrary/vector_wrapper.rs index 7efebf251091..4504c6cea2dc 100644 --- a/tests/kani/Arbitrary/vector_wrapper.rs +++ b/tests/kani/Arbitrary/vector_wrapper.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that users can implement Invariant and Arbitrary to the same struct. diff --git a/tests/kani/ArithEqualOperators/main.rs b/tests/kani/ArithEqualOperators/main.rs index e850211d5aae..3b13e813080c 100644 --- a/tests/kani/ArithEqualOperators/main.rs +++ b/tests/kani/ArithEqualOperators/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/ArithOperators/div_fail.rs b/tests/kani/ArithOperators/div_fail.rs index 8e75f7b8497a..48a5c5733ad2 100644 --- a/tests/kani/ArithOperators/div_fail.rs +++ b/tests/kani/ArithOperators/div_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/ArithOperators/div_zero_fail.rs b/tests/kani/ArithOperators/div_zero_fail.rs index 6a0102dc4697..a4c1307fafbd 100644 --- a/tests/kani/ArithOperators/div_zero_fail.rs +++ b/tests/kani/ArithOperators/div_zero_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/ArithOperators/main.rs b/tests/kani/ArithOperators/main.rs index 2f6e9c744805..7a4a43eedaf6 100644 --- a/tests/kani/ArithOperators/main.rs +++ b/tests/kani/ArithOperators/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/ArithOperators/rem_fail.rs b/tests/kani/ArithOperators/rem_fail.rs index e8fd78a6dcd5..7f6334a232bc 100644 --- a/tests/kani/ArithOperators/rem_fail.rs +++ b/tests/kani/ArithOperators/rem_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/ArithOperators/rem_zero_fail.rs b/tests/kani/ArithOperators/rem_zero_fail.rs index 257a014d8691..3d7b2e5c17b2 100644 --- a/tests/kani/ArithOperators/rem_zero_fail.rs +++ b/tests/kani/ArithOperators/rem_zero_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/ArithOperators/unchecked.rs b/tests/kani/ArithOperators/unchecked.rs index 04c5102beea8..952c3652cb04 100644 --- a/tests/kani/ArithOperators/unchecked.rs +++ b/tests/kani/ArithOperators/unchecked.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that none of these operations trigger spurious overflow checks. diff --git a/tests/kani/ArithOperators/unchecked_add_fail.rs b/tests/kani/ArithOperators/unchecked_add_fail.rs index ff671907e5bc..89303e02c712 100644 --- a/tests/kani/ArithOperators/unchecked_add_fail.rs +++ b/tests/kani/ArithOperators/unchecked_add_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that unchecked add trigger overflow checks. diff --git a/tests/kani/ArithOperators/unchecked_mul_fail.rs b/tests/kani/ArithOperators/unchecked_mul_fail.rs index e94d12a0e962..74fc88e07dfb 100644 --- a/tests/kani/ArithOperators/unchecked_mul_fail.rs +++ b/tests/kani/ArithOperators/unchecked_mul_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that unchecked mul trigger overflow checks. diff --git a/tests/kani/ArithOperators/unchecked_sub_fail.rs b/tests/kani/ArithOperators/unchecked_sub_fail.rs index 8642106a1155..696ca15b2b2c 100644 --- a/tests/kani/ArithOperators/unchecked_sub_fail.rs +++ b/tests/kani/ArithOperators/unchecked_sub_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that unchecked sub trigger overflow checks. diff --git a/tests/kani/ArithOperators/unsafe.rs b/tests/kani/ArithOperators/unsafe.rs index d0bac501004c..e1e37fde09ac 100644 --- a/tests/kani/ArithOperators/unsafe.rs +++ b/tests/kani/ArithOperators/unsafe.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that none of these operations trigger spurious overflow checks. diff --git a/tests/kani/ArithOperators/unsafe_add_fail.rs b/tests/kani/ArithOperators/unsafe_add_fail.rs index 00b7093527c4..ac4ae255ad98 100644 --- a/tests/kani/ArithOperators/unsafe_add_fail.rs +++ b/tests/kani/ArithOperators/unsafe_add_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that regular arithmetic operations in unsafe blocks still trigger overflow checks. diff --git a/tests/kani/ArithOperators/unsafe_mul_fail.rs b/tests/kani/ArithOperators/unsafe_mul_fail.rs index e73d2d9855b3..c415b8d66eff 100644 --- a/tests/kani/ArithOperators/unsafe_mul_fail.rs +++ b/tests/kani/ArithOperators/unsafe_mul_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that regular arithmetic operations in unsafe blocks still trigger overflow checks. diff --git a/tests/kani/ArithOperators/unsafe_sub_fail.rs b/tests/kani/ArithOperators/unsafe_sub_fail.rs index c7428382e980..91c304ff6a89 100644 --- a/tests/kani/ArithOperators/unsafe_sub_fail.rs +++ b/tests/kani/ArithOperators/unsafe_sub_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that regular arithmetic operations in unsafe blocks still trigger overflow checks. diff --git a/tests/kani/ArithOperators/wrapping.rs b/tests/kani/ArithOperators/wrapping.rs index b2b705bb89c7..e8a4e1b22b50 100644 --- a/tests/kani/ArithOperators/wrapping.rs +++ b/tests/kani/ArithOperators/wrapping.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that none of these operations trigger spurious overflow checks. diff --git a/tests/kani/Asm/main_fixme.rs b/tests/kani/Asm/main_fixme.rs index cabc92e3ac67..d60b61dc97e0 100644 --- a/tests/kani/Asm/main_fixme.rs +++ b/tests/kani/Asm/main_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(asm)] diff --git a/tests/kani/Assert/multiple_asserts.rs b/tests/kani/Assert/multiple_asserts.rs index 39af8d255887..158f737941c1 100644 --- a/tests/kani/Assert/multiple_asserts.rs +++ b/tests/kani/Assert/multiple_asserts.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/AssociatedTypes/associated_types.rs b/tests/kani/AssociatedTypes/associated_types.rs index adea5967295a..4c57f95a2b87 100644 --- a/tests/kani/AssociatedTypes/associated_types.rs +++ b/tests/kani/AssociatedTypes/associated_types.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Tests the behavior of associated types. diff --git a/tests/kani/AssociatedTypes/into_iter.rs b/tests/kani/AssociatedTypes/into_iter.rs index a894f930bf40..3ff582354081 100644 --- a/tests/kani/AssociatedTypes/into_iter.rs +++ b/tests/kani/AssociatedTypes/into_iter.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Tests the handling of IntoIter associated types for Iterators. diff --git a/tests/kani/AssociatedTypes/type_of.rs b/tests/kani/AssociatedTypes/type_of.rs index 7c82c829a715..45b27075e0ff 100644 --- a/tests/kani/AssociatedTypes/type_of.rs +++ b/tests/kani/AssociatedTypes/type_of.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Tests the behavior of TypeId for structs with associated types in their member declaration. diff --git a/tests/kani/Assume/main.rs b/tests/kani/Assume/main.rs index 94cad5955e56..2c91ee9e51ef 100644 --- a/tests/kani/Assume/main.rs +++ b/tests/kani/Assume/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/Assume/main_fail.rs b/tests/kani/Assume/main_fail.rs index 6692e3edc357..3358457e7591 100644 --- a/tests/kani/Assume/main_fail.rs +++ b/tests/kani/Assume/main_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/BinOp_Offset/main.rs b/tests/kani/BinOp_Offset/main.rs index 0c0eb5d117ec..e5932d2464a6 100644 --- a/tests/kani/BinOp_Offset/main.rs +++ b/tests/kani/BinOp_Offset/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT pub fn test_offset_array() { let s = ['a', 'b', 'c']; diff --git a/tests/kani/BinOp_Offset/main_fail.rs b/tests/kani/BinOp_Offset/main_fail.rs index 2f3a0d5be9cf..4b3c231235f5 100644 --- a/tests/kani/BinOp_Offset/main_fail.rs +++ b/tests/kani/BinOp_Offset/main_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/BitwiseArithOperators/bool.rs b/tests/kani/BitwiseArithOperators/bool.rs index 4b89e21f7718..da94cec47581 100644 --- a/tests/kani/BitwiseArithOperators/bool.rs +++ b/tests/kani/BitwiseArithOperators/bool.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/BitwiseArithOperators/main.rs b/tests/kani/BitwiseArithOperators/main.rs index 09eab8967b3a..22a2df3b6d96 100644 --- a/tests/kani/BitwiseArithOperators/main.rs +++ b/tests/kani/BitwiseArithOperators/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/BitwiseEqualOperators/main.rs b/tests/kani/BitwiseEqualOperators/main.rs index f93b9d0e8ba5..b4fdb8d2b1b1 100644 --- a/tests/kani/BitwiseEqualOperators/main.rs +++ b/tests/kani/BitwiseEqualOperators/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/BitwiseShiftOperators/Usize/main.rs b/tests/kani/BitwiseShiftOperators/Usize/main.rs index be5cc5982448..42673576db62 100644 --- a/tests/kani/BitwiseShiftOperators/Usize/main.rs +++ b/tests/kani/BitwiseShiftOperators/Usize/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn bitmap_new(byte_size: usize, page_size: usize) -> usize { let bit_size: usize = byte_size / page_size; diff --git a/tests/kani/BitwiseShiftOperators/main.rs b/tests/kani/BitwiseShiftOperators/main.rs index 22a3f093bb53..6206a0f6ad7a 100644 --- a/tests/kani/BitwiseShiftOperators/main.rs +++ b/tests/kani/BitwiseShiftOperators/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Bool-BoolOperators/main.rs b/tests/kani/Bool-BoolOperators/main.rs index 9c06ad69cf74..7934d48dff9f 100644 --- a/tests/kani/Bool-BoolOperators/main.rs +++ b/tests/kani/Bool-BoolOperators/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Cast/cast_abstract_args_to_concrete_fixme.rs b/tests/kani/Cast/cast_abstract_args_to_concrete_fixme.rs index d648391eb36b..faeb74c5d66a 100644 --- a/tests/kani/Cast/cast_abstract_args_to_concrete_fixme.rs +++ b/tests/kani/Cast/cast_abstract_args_to_concrete_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This test is a modified version of cast_abstract_args_to_concrete_fixme.rs. diff --git a/tests/kani/Cast/cast_abstract_args_to_concrete_fixme2.rs b/tests/kani/Cast/cast_abstract_args_to_concrete_fixme2.rs index 72a7633263d2..51067e0e0a73 100644 --- a/tests/kani/Cast/cast_abstract_args_to_concrete_fixme2.rs +++ b/tests/kani/Cast/cast_abstract_args_to_concrete_fixme2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // https://github.com/model-checking/kani/issues/555 diff --git a/tests/kani/Cast/from_be_bytes.rs b/tests/kani/Cast/from_be_bytes.rs index de714cafeb48..2c06c7318765 100644 --- a/tests/kani/Cast/from_be_bytes.rs +++ b/tests/kani/Cast/from_be_bytes.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::convert::TryInto; #[kani::proof] diff --git a/tests/kani/Cast/main.rs b/tests/kani/Cast/main.rs index dbfbc34b209e..a46d5827805a 100644 --- a/tests/kani/Cast/main.rs +++ b/tests/kani/Cast/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::cmp::Ordering; pub enum Level { diff --git a/tests/kani/Cast/path.rs b/tests/kani/Cast/path.rs index 4a768bf197c3..7442a291f097 100644 --- a/tests/kani/Cast/path.rs +++ b/tests/kani/Cast/path.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::path::Path; diff --git a/tests/kani/Cleanup/assert.rs b/tests/kani/Cleanup/assert.rs index d11bb227a447..4c3ec9a8da32 100644 --- a/tests/kani/Cleanup/assert.rs +++ b/tests/kani/Cleanup/assert.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // This test ensures that kani follows the correct CFG for assertion failures. diff --git a/tests/kani/Cleanup/unwind_fixme.rs b/tests/kani/Cleanup/unwind_fixme.rs index 696d69d7844a..58d60bdf7127 100644 --- a/tests/kani/Cleanup/unwind_fixme.rs +++ b/tests/kani/Cleanup/unwind_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // We currently do not support stack unwinding panic strategy. Once we do, this testcase should diff --git a/tests/kani/Closure/fn_mut_closure.rs b/tests/kani/Closure/fn_mut_closure.rs index 9b9df014d153..bafbd6d1cd16 100644 --- a/tests/kani/Closure/fn_mut_closure.rs +++ b/tests/kani/Closure/fn_mut_closure.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a FnMut closure to a stand alone diff --git a/tests/kani/Closure/main.rs b/tests/kani/Closure/main.rs index 792761190929..2949c46e47f1 100644 --- a/tests/kani/Closure/main.rs +++ b/tests/kani/Closure/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! test that we implement closures correctly diff --git a/tests/kani/Closure/tupled_closure.rs b/tests/kani/Closure/tupled_closure.rs index fe99106f837e..1e837bd728ba 100644 --- a/tests/kani/Closure/tupled_closure.rs +++ b/tests/kani/Closure/tupled_closure.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! When a closure is put inside a `Fn` trait, the Rustc backend injects a shim that converts //! between calling conventions. This test ensures that the shim works correctly. diff --git a/tests/kani/CodegenConstValue/bigints.rs b/tests/kani/CodegenConstValue/bigints.rs index 982a662053e5..996b80ace499 100644 --- a/tests/kani/CodegenConstValue/bigints.rs +++ b/tests/kani/CodegenConstValue/bigints.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/CodegenConstValue/main.rs b/tests/kani/CodegenConstValue/main.rs index bb8c7d74525b..9b6417327f85 100644 --- a/tests/kani/CodegenConstValue/main.rs +++ b/tests/kani/CodegenConstValue/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-memory-safety-checks diff --git a/tests/kani/CodegenConstValue/u128.rs b/tests/kani/CodegenConstValue/u128.rs index aecb14d90a96..e9f7af08a10c 100644 --- a/tests/kani/CodegenConstValue/u128.rs +++ b/tests/kani/CodegenConstValue/u128.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Avoid RUST constant propagating this away diff --git a/tests/kani/CodegenMisc/main.rs b/tests/kani/CodegenMisc/main.rs index 065f0eb07a0c..209ea78e8d2f 100644 --- a/tests/kani/CodegenMisc/main.rs +++ b/tests/kani/CodegenMisc/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // source: vm-sys-util src/linux/signal.rs register_signal_handler diff --git a/tests/kani/CodegenStatic/main.rs b/tests/kani/CodegenStatic/main.rs index 2d658d5fc091..9731ca4fe080 100644 --- a/tests/kani/CodegenStatic/main.rs +++ b/tests/kani/CodegenStatic/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT static STATIC: [&str; 1] = ["FOO"]; #[kani::proof] diff --git a/tests/kani/CodegenStatic/struct.rs b/tests/kani/CodegenStatic/struct.rs index 97550cb11ed1..441e118175b1 100644 --- a/tests/kani/CodegenStatic/struct.rs +++ b/tests/kani/CodegenStatic/struct.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This is a custom type which is parameterized by a `usize` pub struct Foo { diff --git a/tests/kani/CopyIntrinsics/main_fixme.rs b/tests/kani/CopyIntrinsics/main_fixme.rs index dff586d23723..a450ab5c429a 100644 --- a/tests/kani/CopyIntrinsics/main_fixme.rs +++ b/tests/kani/CopyIntrinsics/main_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(core_intrinsics)] /// kani main.rs -- --default-unwind 20 --unwinding-assertions diff --git a/tests/kani/Count/Unstable/Ctlz/bounds.rs b/tests/kani/Count/Unstable/Ctlz/bounds.rs index 407f94f000d7..61cac6d4573b 100644 --- a/tests/kani/Count/Unstable/Ctlz/bounds.rs +++ b/tests/kani/Count/Unstable/Ctlz/bounds.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail // cbmc-flags: --bounds-check diff --git a/tests/kani/Count/Unstable/Ctlz/main.rs b/tests/kani/Count/Unstable/Ctlz/main.rs index c35e1c59f6c8..99a10f87e800 100644 --- a/tests/kani/Count/Unstable/Ctlz/main.rs +++ b/tests/kani/Count/Unstable/Ctlz/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(core_intrinsics)] use std::intrinsics::{ctlz, ctlz_nonzero}; diff --git a/tests/kani/Count/Unstable/Cttz/bounds.rs b/tests/kani/Count/Unstable/Cttz/bounds.rs index bd63ff2ee17a..b94f9d838811 100644 --- a/tests/kani/Count/Unstable/Cttz/bounds.rs +++ b/tests/kani/Count/Unstable/Cttz/bounds.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail // cbmc-flags: --bounds-check diff --git a/tests/kani/Count/Unstable/Cttz/main.rs b/tests/kani/Count/Unstable/Cttz/main.rs index 5f4e53e5826c..9161f51ae55b 100644 --- a/tests/kani/Count/Unstable/Cttz/main.rs +++ b/tests/kani/Count/Unstable/Cttz/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(core_intrinsics)] use std::intrinsics::{cttz, cttz_nonzero}; diff --git a/tests/kani/DynTrait/any_cast_int.rs b/tests/kani/DynTrait/any_cast_int.rs index 460e003f2bd8..dfbb025796d7 100644 --- a/tests/kani/DynTrait/any_cast_int.rs +++ b/tests/kani/DynTrait/any_cast_int.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-restrict-vtable diff --git a/tests/kani/DynTrait/any_cast_int_fail.rs b/tests/kani/DynTrait/any_cast_int_fail.rs index 195f9eacdfdc..ca274ee52ce6 100644 --- a/tests/kani/DynTrait/any_cast_int_fail.rs +++ b/tests/kani/DynTrait/any_cast_int_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-restrict-vtable diff --git a/tests/kani/DynTrait/boxed_closure.rs b/tests/kani/DynTrait/boxed_closure.rs index 6941d6ddc7cb..367828c1c4d2 100644 --- a/tests/kani/DynTrait/boxed_closure.rs +++ b/tests/kani/DynTrait/boxed_closure.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can codegen a boxed dyn closure diff --git a/tests/kani/DynTrait/boxed_closure_fail.rs b/tests/kani/DynTrait/boxed_closure_fail.rs index 95fd21843cbf..0e90131eb841 100644 --- a/tests/kani/DynTrait/boxed_closure_fail.rs +++ b/tests/kani/DynTrait/boxed_closure_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/DynTrait/boxed_debug_cast.rs b/tests/kani/DynTrait/boxed_debug_cast.rs index 0b0995ab9bce..5c5ad60da31f 100644 --- a/tests/kani/DynTrait/boxed_debug_cast.rs +++ b/tests/kani/DynTrait/boxed_debug_cast.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can cast &&Box to &dyn Debug diff --git a/tests/kani/DynTrait/boxed_trait.rs b/tests/kani/DynTrait/boxed_trait.rs index e5df9eb50d1e..2ab60b51f717 100644 --- a/tests/kani/DynTrait/boxed_trait.rs +++ b/tests/kani/DynTrait/boxed_trait.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Dynamic traits should work when used through a box diff --git a/tests/kani/DynTrait/boxed_trait_fail.rs b/tests/kani/DynTrait/boxed_trait_fail.rs index 77ff9c68ea64..59a014951c34 100644 --- a/tests/kani/DynTrait/boxed_trait_fail.rs +++ b/tests/kani/DynTrait/boxed_trait_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/DynTrait/different_crates.rs b/tests/kani/DynTrait/different_crates.rs index 1fa687e1eefd..239b561592cc 100644 --- a/tests/kani/DynTrait/different_crates.rs +++ b/tests/kani/DynTrait/different_crates.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test uses a trait defined in a different crate (the standard library) diff --git a/tests/kani/DynTrait/different_crates_fail.rs b/tests/kani/DynTrait/different_crates_fail.rs index feb19659e7a4..8d5868fd4f21 100644 --- a/tests/kani/DynTrait/different_crates_fail.rs +++ b/tests/kani/DynTrait/different_crates_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/DynTrait/drop_boxed_dyn.rs b/tests/kani/DynTrait/drop_boxed_dyn.rs index 6d9bc822fd9f..6a9dcdf9e42e 100644 --- a/tests/kani/DynTrait/drop_boxed_dyn.rs +++ b/tests/kani/DynTrait/drop_boxed_dyn.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check drop implementation for a boxed dynamic trait object. diff --git a/tests/kani/DynTrait/drop_concrete.rs b/tests/kani/DynTrait/drop_concrete.rs index 08388830b5d9..f0c4c54b8ece 100644 --- a/tests/kani/DynTrait/drop_concrete.rs +++ b/tests/kani/DynTrait/drop_concrete.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check drop implementation for a concrete, non-trait object. diff --git a/tests/kani/DynTrait/drop_dyn_pointer.rs b/tests/kani/DynTrait/drop_dyn_pointer.rs index e5c1cf3aa93b..50e38daea7d9 100644 --- a/tests/kani/DynTrait/drop_dyn_pointer.rs +++ b/tests/kani/DynTrait/drop_dyn_pointer.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check drop implementation for an &dyn dynamic trait object. diff --git a/tests/kani/DynTrait/drop_nested_boxed_dyn.rs b/tests/kani/DynTrait/drop_nested_boxed_dyn.rs index 32aa050a5c1f..7f71dea3a80f 100644 --- a/tests/kani/DynTrait/drop_nested_boxed_dyn.rs +++ b/tests/kani/DynTrait/drop_nested_boxed_dyn.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check drop implementation for a nested boxed dynamic trait objects. diff --git a/tests/kani/DynTrait/drop_nested_boxed_dyn_fail.rs b/tests/kani/DynTrait/drop_nested_boxed_dyn_fail.rs index d773ea801535..eb3b397cf427 100644 --- a/tests/kani/DynTrait/drop_nested_boxed_dyn_fail.rs +++ b/tests/kani/DynTrait/drop_nested_boxed_dyn_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/DynTrait/dyn_fn_mut.rs b/tests/kani/DynTrait/dyn_fn_mut.rs index fb315471e866..056dff4eb498 100644 --- a/tests/kani/DynTrait/dyn_fn_mut.rs +++ b/tests/kani/DynTrait/dyn_fn_mut.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn FnMut pointer to a stand alone diff --git a/tests/kani/DynTrait/dyn_fn_mut_fail.rs b/tests/kani/DynTrait/dyn_fn_mut_fail.rs index fb91e74c0a25..b5e43985ff84 100644 --- a/tests/kani/DynTrait/dyn_fn_mut_fail.rs +++ b/tests/kani/DynTrait/dyn_fn_mut_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn FnMut pointer to a stand alone diff --git a/tests/kani/DynTrait/dyn_fn_once.rs b/tests/kani/DynTrait/dyn_fn_once.rs index e083d1a2e334..8924aac71caa 100644 --- a/tests/kani/DynTrait/dyn_fn_once.rs +++ b/tests/kani/DynTrait/dyn_fn_once.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn FnOnce pointer to a stand alone diff --git a/tests/kani/DynTrait/dyn_fn_once_fail.rs b/tests/kani/DynTrait/dyn_fn_once_fail.rs index ce0abb7f7d44..6416dc2f093c 100644 --- a/tests/kani/DynTrait/dyn_fn_once_fail.rs +++ b/tests/kani/DynTrait/dyn_fn_once_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn FnOnce pointer to a stand alone diff --git a/tests/kani/DynTrait/dyn_fn_param.rs b/tests/kani/DynTrait/dyn_fn_param.rs index 1f33d04f4d85..c30647731eee 100644 --- a/tests/kani/DynTrait/dyn_fn_param.rs +++ b/tests/kani/DynTrait/dyn_fn_param.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn function pointer to a stand alone diff --git a/tests/kani/DynTrait/dyn_fn_param_closure.rs b/tests/kani/DynTrait/dyn_fn_param_closure.rs index 851cd842fb6c..8f8331b4c670 100644 --- a/tests/kani/DynTrait/dyn_fn_param_closure.rs +++ b/tests/kani/DynTrait/dyn_fn_param_closure.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn function pointer to a simple closure diff --git a/tests/kani/DynTrait/dyn_fn_param_closure_capture.rs b/tests/kani/DynTrait/dyn_fn_param_closure_capture.rs index 5f4392abae65..1c17747a69ff 100644 --- a/tests/kani/DynTrait/dyn_fn_param_closure_capture.rs +++ b/tests/kani/DynTrait/dyn_fn_param_closure_capture.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn function pointer to a closure that captures diff --git a/tests/kani/DynTrait/dyn_fn_param_closure_capture_fail.rs b/tests/kani/DynTrait/dyn_fn_param_closure_capture_fail.rs index 397d767ccfb2..a073e439d157 100644 --- a/tests/kani/DynTrait/dyn_fn_param_closure_capture_fail.rs +++ b/tests/kani/DynTrait/dyn_fn_param_closure_capture_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn function pointer to a closure that captures diff --git a/tests/kani/DynTrait/dyn_fn_param_closure_fail.rs b/tests/kani/DynTrait/dyn_fn_param_closure_fail.rs index 34171ac7918d..f0f8dccea1eb 100644 --- a/tests/kani/DynTrait/dyn_fn_param_closure_fail.rs +++ b/tests/kani/DynTrait/dyn_fn_param_closure_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn function pointer to a simple closure diff --git a/tests/kani/DynTrait/dyn_fn_param_fail.rs b/tests/kani/DynTrait/dyn_fn_param_fail.rs index d8be4269188a..588f5f726d10 100644 --- a/tests/kani/DynTrait/dyn_fn_param_fail.rs +++ b/tests/kani/DynTrait/dyn_fn_param_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can pass a dyn function pointer to a stand alone diff --git a/tests/kani/DynTrait/generic_duplicate_names.rs b/tests/kani/DynTrait/generic_duplicate_names.rs index dcd19fb5ad9f..cd5df639e1d7 100644 --- a/tests/kani/DynTrait/generic_duplicate_names.rs +++ b/tests/kani/DynTrait/generic_duplicate_names.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that we can handle potential naming conflicts when diff --git a/tests/kani/DynTrait/generic_duplicate_names_fail.rs b/tests/kani/DynTrait/generic_duplicate_names_fail.rs index 9ac4f077eb87..739535462a10 100644 --- a/tests/kani/DynTrait/generic_duplicate_names_fail.rs +++ b/tests/kani/DynTrait/generic_duplicate_names_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that we can handle potential naming conflicts when diff --git a/tests/kani/DynTrait/generic_duplicate_names_impl.rs b/tests/kani/DynTrait/generic_duplicate_names_impl.rs index ad8b93ddbfe2..9debc1f68ed3 100644 --- a/tests/kani/DynTrait/generic_duplicate_names_impl.rs +++ b/tests/kani/DynTrait/generic_duplicate_names_impl.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that we can handle potential naming conflicts when diff --git a/tests/kani/DynTrait/generic_duplicate_names_impl_fail.rs b/tests/kani/DynTrait/generic_duplicate_names_impl_fail.rs index 4c88dbe1d6ce..fc3dceaa99f0 100644 --- a/tests/kani/DynTrait/generic_duplicate_names_impl_fail.rs +++ b/tests/kani/DynTrait/generic_duplicate_names_impl_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that we can handle potential naming conflicts when diff --git a/tests/kani/DynTrait/main.rs b/tests/kani/DynTrait/main.rs index 989d14317f9a..9394bde1a506 100644 --- a/tests/kani/DynTrait/main.rs +++ b/tests/kani/DynTrait/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT struct Sheep {} diff --git a/tests/kani/DynTrait/main_fail.rs b/tests/kani/DynTrait/main_fail.rs index 078077518aae..7a451290638a 100644 --- a/tests/kani/DynTrait/main_fail.rs +++ b/tests/kani/DynTrait/main_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT struct Sheep {} diff --git a/tests/kani/DynTrait/nested_boxes.rs b/tests/kani/DynTrait/nested_boxes.rs index c48f77cc16ab..6fbf42e08b68 100644 --- a/tests/kani/DynTrait/nested_boxes.rs +++ b/tests/kani/DynTrait/nested_boxes.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks the size and align fields for 3-deep nested trait pointers. The diff --git a/tests/kani/DynTrait/nested_boxes_fail.rs b/tests/kani/DynTrait/nested_boxes_fail.rs index 81297dc8291c..55ea5b3c4ef7 100644 --- a/tests/kani/DynTrait/nested_boxes_fail.rs +++ b/tests/kani/DynTrait/nested_boxes_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/DynTrait/nested_closures.rs b/tests/kani/DynTrait/nested_closures.rs index cfe46de7c196..a07dd2f3abf0 100644 --- a/tests/kani/DynTrait/nested_closures.rs +++ b/tests/kani/DynTrait/nested_closures.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can codegen various nesting structures of boxes and diff --git a/tests/kani/DynTrait/nested_closures_fail.rs b/tests/kani/DynTrait/nested_closures_fail.rs index 032fe13fac36..eac3a8e1c546 100644 --- a/tests/kani/DynTrait/nested_closures_fail.rs +++ b/tests/kani/DynTrait/nested_closures_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can codegen various nesting structures of boxes and diff --git a/tests/kani/DynTrait/object_safe_generics.rs b/tests/kani/DynTrait/object_safe_generics.rs index 1b9300a6c57c..3209e9fe2e28 100644 --- a/tests/kani/DynTrait/object_safe_generics.rs +++ b/tests/kani/DynTrait/object_safe_generics.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that we can handle potential naming conflicts when diff --git a/tests/kani/DynTrait/object_safe_trait.rs b/tests/kani/DynTrait/object_safe_trait.rs index e6ffc32b130e..08d04812b536 100644 --- a/tests/kani/DynTrait/object_safe_trait.rs +++ b/tests/kani/DynTrait/object_safe_trait.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Example from https://doc.rust-lang.org/reference/items/traits.html#object-safety // diff --git a/tests/kani/DynTrait/rc_dyn.rs b/tests/kani/DynTrait/rc_dyn.rs index 8693a9aa6fca..391754305f7d 100644 --- a/tests/kani/DynTrait/rc_dyn.rs +++ b/tests/kani/DynTrait/rc_dyn.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Test Rc to ensure it works correctly. We only expect the object diff --git a/tests/kani/DynTrait/std_lib_add_duplicate.rs b/tests/kani/DynTrait/std_lib_add_duplicate.rs index 948d07aba7ce..1cad362bd307 100644 --- a/tests/kani/DynTrait/std_lib_add_duplicate.rs +++ b/tests/kani/DynTrait/std_lib_add_duplicate.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT trait WeirdAdd { fn add(&self, rhs: i32) -> i32; diff --git a/tests/kani/DynTrait/vtable_duplicate_field_override.rs b/tests/kani/DynTrait/vtable_duplicate_field_override.rs index b4a322c9e7f2..4e84203eb313 100644 --- a/tests/kani/DynTrait/vtable_duplicate_field_override.rs +++ b/tests/kani/DynTrait/vtable_duplicate_field_override.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT trait A { fn foo(&self) -> i32; diff --git a/tests/kani/DynTrait/vtable_duplicate_fields.rs b/tests/kani/DynTrait/vtable_duplicate_fields.rs index 6fd0c405ce9e..55da350f38e8 100644 --- a/tests/kani/DynTrait/vtable_duplicate_fields.rs +++ b/tests/kani/DynTrait/vtable_duplicate_fields.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT trait A { fn foo(&self) -> i32; diff --git a/tests/kani/DynTrait/vtable_restrictions.rs b/tests/kani/DynTrait/vtable_restrictions.rs index 5dba212ec2d3..0aba65bd022d 100644 --- a/tests/kani/DynTrait/vtable_restrictions.rs +++ b/tests/kani/DynTrait/vtable_restrictions.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Test vtable function pointer restrictions for dynamic trait objects. diff --git a/tests/kani/DynTrait/vtable_restrictions_fail_fixme.rs b/tests/kani/DynTrait/vtable_restrictions_fail_fixme.rs index f4511a1cac48..8582df239b13 100644 --- a/tests/kani/DynTrait/vtable_restrictions_fail_fixme.rs +++ b/tests/kani/DynTrait/vtable_restrictions_fail_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Manually modify vtable pointers to force a failure with restrictions. diff --git a/tests/kani/DynTrait/vtable_size_align_drop.rs b/tests/kani/DynTrait/vtable_size_align_drop.rs index 738d5d56452f..cbb8a77d6e67 100644 --- a/tests/kani/DynTrait/vtable_size_align_drop.rs +++ b/tests/kani/DynTrait/vtable_size_align_drop.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks the `size` and `align` fields of vtables, for a diff --git a/tests/kani/DynTrait/vtable_size_align_drop_fail.rs b/tests/kani/DynTrait/vtable_size_align_drop_fail.rs index 07467001eb4c..d05e9e5c3de9 100644 --- a/tests/kani/DynTrait/vtable_size_align_drop_fail.rs +++ b/tests/kani/DynTrait/vtable_size_align_drop_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks the `size` and `align` fields of vtables, for a diff --git a/tests/kani/EQ-NE/main.rs b/tests/kani/EQ-NE/main.rs index df4575aec636..6324fbcdea71 100644 --- a/tests/kani/EQ-NE/main.rs +++ b/tests/kani/EQ-NE/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Enum/discriminant.rs b/tests/kani/Enum/discriminant.rs index ffcc962b9482..3bd66dbee972 100644 --- a/tests/kani/Enum/discriminant.rs +++ b/tests/kani/Enum/discriminant.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Testcase for https://github.com/model-checking/kani/issues/558. // See https://rust-lang.github.io/unsafe-code-guidelines/layout/enums.html for information on the diff --git a/tests/kani/Enum/main.rs b/tests/kani/Enum/main.rs index 0fa729b88ac9..b2245c8f5d5e 100644 --- a/tests/kani/Enum/main.rs +++ b/tests/kani/Enum/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Debug)] pub enum MyInfallible {} //< https://doc.rust-lang.org/std/convert/enum.Infallible.html (empty enum) diff --git a/tests/kani/Enum/min_offset.rs b/tests/kani/Enum/min_offset.rs index 6bb5edc93378..4dc548401967 100644 --- a/tests/kani/Enum/min_offset.rs +++ b/tests/kani/Enum/min_offset.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we properly handle structs for which the compiler reorders the diff --git a/tests/kani/Enum/neg_discriminant.rs b/tests/kani/Enum/neg_discriminant.rs index 598445f78319..a1ad9c7d6a57 100644 --- a/tests/kani/Enum/neg_discriminant.rs +++ b/tests/kani/Enum/neg_discriminant.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that enums with negative discriminants are handled correctly diff --git a/tests/kani/Enum/niche.rs b/tests/kani/Enum/niche.rs index 86f7d79bf33a..7cffeaf2da30 100644 --- a/tests/kani/Enum/niche.rs +++ b/tests/kani/Enum/niche.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Testcase for https://github.com/model-checking/kani/issues/558. diff --git a/tests/kani/Enum/result1.rs b/tests/kani/Enum/result1.rs index c2735eba8cb7..e93fe93eb515 100644 --- a/tests/kani/Enum/result1.rs +++ b/tests/kani/Enum/result1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Debug, PartialEq)] pub enum Empty {} diff --git a/tests/kani/Enum/result2.rs b/tests/kani/Enum/result2.rs index 758ccdd9da39..b32e250171a1 100644 --- a/tests/kani/Enum/result2.rs +++ b/tests/kani/Enum/result2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Debug, PartialEq)] pub enum Empty {} diff --git a/tests/kani/Enum/result3.rs b/tests/kani/Enum/result3.rs index 0034dacf1397..4300c2758502 100644 --- a/tests/kani/Enum/result3.rs +++ b/tests/kani/Enum/result3.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Debug, PartialEq)] diff --git a/tests/kani/Enum/variants_multiple_len_2.rs b/tests/kani/Enum/variants_multiple_len_2.rs index 4164a4d40675..9767e80b1403 100644 --- a/tests/kani/Enum/variants_multiple_len_2.rs +++ b/tests/kani/Enum/variants_multiple_len_2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Debug)] pub enum EnumMultiple { diff --git a/tests/kani/Enum/variants_single_len_1_fields_arbitrary_0.rs b/tests/kani/Enum/variants_single_len_1_fields_arbitrary_0.rs index abeb596abe6c..7cb03b73202b 100644 --- a/tests/kani/Enum/variants_single_len_1_fields_arbitrary_0.rs +++ b/tests/kani/Enum/variants_single_len_1_fields_arbitrary_0.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Debug, PartialEq)] pub enum EnumSingle { diff --git a/tests/kani/Enum/variants_single_len_1_fields_arbitrary_1.rs b/tests/kani/Enum/variants_single_len_1_fields_arbitrary_1.rs index 6d3dee1d6b0c..36fa6c4f4631 100644 --- a/tests/kani/Enum/variants_single_len_1_fields_arbitrary_1.rs +++ b/tests/kani/Enum/variants_single_len_1_fields_arbitrary_1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Debug, PartialEq)] pub enum EnumSingle { diff --git a/tests/kani/Enum/variants_single_len_1_fields_arbitrary_2.rs b/tests/kani/Enum/variants_single_len_1_fields_arbitrary_2.rs index faa6892e254f..5ae9220d0c5f 100644 --- a/tests/kani/Enum/variants_single_len_1_fields_arbitrary_2.rs +++ b/tests/kani/Enum/variants_single_len_1_fields_arbitrary_2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Debug, PartialEq)] pub enum EnumSingle { diff --git a/tests/kani/Enum/variants_single_len_2_fields_arbitrary_1.rs b/tests/kani/Enum/variants_single_len_2_fields_arbitrary_1.rs index e849514230f0..0374dc6a8df9 100644 --- a/tests/kani/Enum/variants_single_len_2_fields_arbitrary_1.rs +++ b/tests/kani/Enum/variants_single_len_2_fields_arbitrary_1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //< https://doc.rust-lang.org/std/convert/enum.Infallible.html (empty enum) diff --git a/tests/kani/FatPointers/boxmuttrait.rs b/tests/kani/FatPointers/boxmuttrait.rs index b1c410e03e82..aa965f56c71e 100644 --- a/tests/kani/FatPointers/boxmuttrait.rs +++ b/tests/kani/FatPointers/boxmuttrait.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Disable undefined function checks because of a failure diff --git a/tests/kani/FatPointers/boxmuttrait_fail.rs b/tests/kani/FatPointers/boxmuttrait_fail.rs index cc71e73cb137..4d4dc6fc8384 100644 --- a/tests/kani/FatPointers/boxmuttrait_fail.rs +++ b/tests/kani/FatPointers/boxmuttrait_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/FatPointers/boxslice1.rs b/tests/kani/FatPointers/boxslice1.rs index 5ce8b6d04d2b..df596fbb9cd3 100644 --- a/tests/kani/FatPointers/boxslice1.rs +++ b/tests/kani/FatPointers/boxslice1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // https://github.com/model-checking/kani/issues/555 diff --git a/tests/kani/FatPointers/boxslice2.rs b/tests/kani/FatPointers/boxslice2.rs index 103d737d74e5..83a883673cf7 100644 --- a/tests/kani/FatPointers/boxslice2.rs +++ b/tests/kani/FatPointers/boxslice2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/FatPointers/boxtrait.rs b/tests/kani/FatPointers/boxtrait.rs index ec0fc6b77a40..0040cbafd5f1 100644 --- a/tests/kani/FatPointers/boxtrait.rs +++ b/tests/kani/FatPointers/boxtrait.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This is handled by the box to box case of unsized pointers diff --git a/tests/kani/FatPointers/boxtrait_fail.rs b/tests/kani/FatPointers/boxtrait_fail.rs index 92626eb2926f..88981231a4d0 100644 --- a/tests/kani/FatPointers/boxtrait_fail.rs +++ b/tests/kani/FatPointers/boxtrait_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/FatPointers/slice1.rs b/tests/kani/FatPointers/slice1.rs index d03c7482267f..742bcbec60c2 100644 --- a/tests/kani/FatPointers/slice1.rs +++ b/tests/kani/FatPointers/slice1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/FatPointers/slice2.rs b/tests/kani/FatPointers/slice2.rs index 6d924b5066c5..1483347853b3 100644 --- a/tests/kani/FatPointers/slice2.rs +++ b/tests/kani/FatPointers/slice2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/FatPointers/slice3.rs b/tests/kani/FatPointers/slice3.rs index 041ca7e0163a..4aaa52e89ded 100644 --- a/tests/kani/FatPointers/slice3.rs +++ b/tests/kani/FatPointers/slice3.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/FatPointers/structslice.rs b/tests/kani/FatPointers/structslice.rs index e49a7a578c27..d7fdbb8999df 100644 --- a/tests/kani/FatPointers/structslice.rs +++ b/tests/kani/FatPointers/structslice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT struct Concrete { diff --git a/tests/kani/FatPointers/trait1.rs b/tests/kani/FatPointers/trait1.rs index 2bb441e33966..963bd9f8c270 100644 --- a/tests/kani/FatPointers/trait1.rs +++ b/tests/kani/FatPointers/trait1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Cast a concrete ref to a trait ref. diff --git a/tests/kani/FatPointers/trait1_fail.rs b/tests/kani/FatPointers/trait1_fail.rs index 2186c5128f03..93b15dffabf9 100644 --- a/tests/kani/FatPointers/trait1_fail.rs +++ b/tests/kani/FatPointers/trait1_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/FatPointers/trait2.rs b/tests/kani/FatPointers/trait2.rs index 495433c46c90..259628b1a07c 100644 --- a/tests/kani/FatPointers/trait2.rs +++ b/tests/kani/FatPointers/trait2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Cast a concrete ref to a trait raw pointer. diff --git a/tests/kani/FatPointers/trait2_fail.rs b/tests/kani/FatPointers/trait2_fail.rs index c4ae7e999ccc..aa1a659fc173 100644 --- a/tests/kani/FatPointers/trait2_fail.rs +++ b/tests/kani/FatPointers/trait2_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/FatPointers/trait3.rs b/tests/kani/FatPointers/trait3.rs index 89eabb09d388..36fe800bc2f9 100644 --- a/tests/kani/FatPointers/trait3.rs +++ b/tests/kani/FatPointers/trait3.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Cast a concrete ref to diff --git a/tests/kani/FatPointers/trait3_fail.rs b/tests/kani/FatPointers/trait3_fail.rs index c3568608f238..c75f2c1b47f2 100644 --- a/tests/kani/FatPointers/trait3_fail.rs +++ b/tests/kani/FatPointers/trait3_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/FileNameWithSpace/my src/hi.rs b/tests/kani/FileNameWithSpace/my src/hi.rs index 9c79fa3f3905..f5f9315c99a8 100644 --- a/tests/kani/FileNameWithSpace/my src/hi.rs +++ b/tests/kani/FileNameWithSpace/my src/hi.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/FloatingPoint/main.rs b/tests/kani/FloatingPoint/main.rs index 0c4f621a7462..c04bd9b305f8 100644 --- a/tests/kani/FloatingPoint/main.rs +++ b/tests/kani/FloatingPoint/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT macro_rules! test_floats { ($ty:ty) => { diff --git a/tests/kani/ForeignItems/fixme_main.rs b/tests/kani/ForeignItems/fixme_main.rs index 3f7cd200d6fe..a6aba093d3e3 100644 --- a/tests/kani/ForeignItems/fixme_main.rs +++ b/tests/kani/ForeignItems/fixme_main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! To run this test, do //! kani fixme_main.rs -- lib.c diff --git a/tests/kani/ForeignItems/fixme_varadic.rs b/tests/kani/ForeignItems/fixme_varadic.rs index d781e64da73b..e6b7dda55846 100644 --- a/tests/kani/ForeignItems/fixme_varadic.rs +++ b/tests/kani/ForeignItems/fixme_varadic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! To run this test, do //! kani fixme_varadic.rs -- lib.c diff --git a/tests/kani/ForeignItems/lib.c b/tests/kani/ForeignItems/lib.c index 0ce63dfd1194..352d075666d5 100644 --- a/tests/kani/ForeignItems/lib.c +++ b/tests/kani/ForeignItems/lib.c @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #include diff --git a/tests/kani/ForeignItems/main.rs b/tests/kani/ForeignItems/main.rs index 4478ed335b31..98debc0587b0 100644 --- a/tests/kani/ForeignItems/main.rs +++ b/tests/kani/ForeignItems/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! To run this test, do //! kani main.rs -- lib.c diff --git a/tests/kani/ForeignItems/missing_fn_fail.rs b/tests/kani/ForeignItems/missing_fn_fail.rs index 90e325652e07..6953800898d7 100644 --- a/tests/kani/ForeignItems/missing_fn_fail.rs +++ b/tests/kani/ForeignItems/missing_fn_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/FunctionAbstractions/mem_replace.rs b/tests/kani/FunctionAbstractions/mem_replace.rs index 3981996dbacf..3ca2428d44a8 100644 --- a/tests/kani/FunctionAbstractions/mem_replace.rs +++ b/tests/kani/FunctionAbstractions/mem_replace.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::mem; diff --git a/tests/kani/FunctionAbstractions/mem_swap.rs b/tests/kani/FunctionAbstractions/mem_swap.rs index 445210e22417..fcf11b9dfe10 100644 --- a/tests/kani/FunctionAbstractions/mem_swap.rs +++ b/tests/kani/FunctionAbstractions/mem_swap.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::mem; diff --git a/tests/kani/FunctionAbstractions/ptr_read.rs b/tests/kani/FunctionAbstractions/ptr_read.rs index fe9b2e4c903a..632057e374a0 100644 --- a/tests/kani/FunctionAbstractions/ptr_read.rs +++ b/tests/kani/FunctionAbstractions/ptr_read.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::ptr::read; diff --git a/tests/kani/FunctionAbstractions/ptr_write.rs b/tests/kani/FunctionAbstractions/ptr_write.rs index b25a5970d947..a4d528d420af 100644 --- a/tests/kani/FunctionAbstractions/ptr_write.rs +++ b/tests/kani/FunctionAbstractions/ptr_write.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::ptr::write; diff --git a/tests/kani/FunctionCall/FnPtr/main.rs b/tests/kani/FunctionCall/FnPtr/main.rs index 627037f5250a..a7851d5809e3 100644 --- a/tests/kani/FunctionCall/FnPtr/main.rs +++ b/tests/kani/FunctionCall/FnPtr/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // From rust/library/std/src/thread/local.rs #![feature(const_fn_fn_ptr_basics)] diff --git a/tests/kani/FunctionCall/Variadic/fixme_main.rs b/tests/kani/FunctionCall/Variadic/fixme_main.rs index a45ec78bef99..ab312836dec2 100644 --- a/tests/kani/FunctionCall/Variadic/fixme_main.rs +++ b/tests/kani/FunctionCall/Variadic/fixme_main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Minimized from vmm-sys-util/src/linux/aio.rs new() #![feature(c_variadic)] diff --git a/tests/kani/FunctionCall/Variadic/main.rs b/tests/kani/FunctionCall/Variadic/main.rs index e6ee65ced8e7..75b0aafbc26a 100644 --- a/tests/kani/FunctionCall/Variadic/main.rs +++ b/tests/kani/FunctionCall/Variadic/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // https://github.com/model-checking/kani/issues/555 diff --git a/tests/kani/FunctionCall_ImplicitReturn/main.rs b/tests/kani/FunctionCall_ImplicitReturn/main.rs index 49890aa734e7..fcf85c14e60b 100644 --- a/tests/kani/FunctionCall_ImplicitReturn/main.rs +++ b/tests/kani/FunctionCall_ImplicitReturn/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/FunctionCall_NoRet-NoParam/main.rs b/tests/kani/FunctionCall_NoRet-NoParam/main.rs index adffd77b2e91..26dcdfcba5a3 100644 --- a/tests/kani/FunctionCall_NoRet-NoParam/main.rs +++ b/tests/kani/FunctionCall_NoRet-NoParam/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/FunctionCall_NoRet-Param/main.rs b/tests/kani/FunctionCall_NoRet-Param/main.rs index 6a451821a81a..5d215f376e5f 100644 --- a/tests/kani/FunctionCall_NoRet-Param/main.rs +++ b/tests/kani/FunctionCall_NoRet-Param/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/FunctionCall_Ret-NoParam/main.rs b/tests/kani/FunctionCall_Ret-NoParam/main.rs index b848d8b70cbf..39c510564ff9 100644 --- a/tests/kani/FunctionCall_Ret-NoParam/main.rs +++ b/tests/kani/FunctionCall_Ret-NoParam/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/FunctionCall_Ret-Param/main.rs b/tests/kani/FunctionCall_Ret-Param/main.rs index ae3af15db9f0..c6447695416a 100644 --- a/tests/kani/FunctionCall_Ret-Param/main.rs +++ b/tests/kani/FunctionCall_Ret-Param/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-unwinding-checks diff --git a/tests/kani/Generator/main.rs b/tests/kani/Generator/main.rs index f7be8c7fc96a..38df9ebe962b 100644 --- a/tests/kani/Generator/main.rs +++ b/tests/kani/Generator/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can codegen code that has a Generator type present, diff --git a/tests/kani/Helpers/vtable_utils_ignore.rs b/tests/kani/Helpers/vtable_utils_ignore.rs index c8d29ddc60cd..8253280f27df 100644 --- a/tests/kani/Helpers/vtable_utils_ignore.rs +++ b/tests/kani/Helpers/vtable_utils_ignore.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Because each regression test does not share a crate, we just use diff --git a/tests/kani/IfElseifElse_NonReturning/main.rs b/tests/kani/IfElseifElse_NonReturning/main.rs index 34e1cc7b2c3c..0e55f3917af1 100644 --- a/tests/kani/IfElseifElse_NonReturning/main.rs +++ b/tests/kani/IfElseifElse_NonReturning/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/IfElseifElse_Returning/main.rs b/tests/kani/IfElseifElse_Returning/main.rs index 17bc921158a1..4299872cd4b0 100644 --- a/tests/kani/IfElseifElse_Returning/main.rs +++ b/tests/kani/IfElseifElse_Returning/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Intrinsics/AlignOfVal/align_of_basic.rs b/tests/kani/Intrinsics/AlignOfVal/align_of_basic.rs index 8bbfeadf98dc..371181a71f00 100644 --- a/tests/kani/Intrinsics/AlignOfVal/align_of_basic.rs +++ b/tests/kani/Intrinsics/AlignOfVal/align_of_basic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we get the expected results for the `min_align_of_val` intrinsic diff --git a/tests/kani/Intrinsics/AlignOfVal/align_of_fat_ptr.rs b/tests/kani/Intrinsics/AlignOfVal/align_of_fat_ptr.rs index 12eebf284f0a..20bacd1da765 100644 --- a/tests/kani/Intrinsics/AlignOfVal/align_of_fat_ptr.rs +++ b/tests/kani/Intrinsics/AlignOfVal/align_of_fat_ptr.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This test case checks the behavior of align_of_val for traits. diff --git a/tests/kani/Intrinsics/Assert/inhabited_panic.rs b/tests/kani/Intrinsics/Assert/inhabited_panic.rs index 5f9fa3168793..28f68e807566 100644 --- a/tests/kani/Intrinsics/Assert/inhabited_panic.rs +++ b/tests/kani/Intrinsics/Assert/inhabited_panic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Assert/uninit_valid_panic.rs b/tests/kani/Intrinsics/Assert/uninit_valid_panic.rs index cda8d9f138f9..b81f4f8b8a0f 100644 --- a/tests/kani/Intrinsics/Assert/uninit_valid_panic.rs +++ b/tests/kani/Intrinsics/Assert/uninit_valid_panic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Assert/zero_valid.rs b/tests/kani/Intrinsics/Assert/zero_valid.rs index a4d9d809a83d..6298cd5b9a61 100644 --- a/tests/kani/Intrinsics/Assert/zero_valid.rs +++ b/tests/kani/Intrinsics/Assert/zero_valid.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // The function zeroed() calls assert_zero_valid to mark that it is only defined to assign an // all-zero bit pattern to a type T if this is a valid value. So the following is safe. diff --git a/tests/kani/Intrinsics/Assert/zero_valid_panic.rs b/tests/kani/Intrinsics/Assert/zero_valid_panic.rs index 50c9da223280..d6f4ffcd3718 100644 --- a/tests/kani/Intrinsics/Assert/zero_valid_panic.rs +++ b/tests/kani/Intrinsics/Assert/zero_valid_panic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Assume/assume_fail.rs b/tests/kani/Intrinsics/Assume/assume_fail.rs index 2079994cae7f..5ff545210c6d 100644 --- a/tests/kani/Intrinsics/Assume/assume_fail.rs +++ b/tests/kani/Intrinsics/Assume/assume_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Assume/assume_ok.rs b/tests/kani/Intrinsics/Assume/assume_ok.rs index 7208419966e9..690378fff208 100644 --- a/tests/kani/Intrinsics/Assume/assume_ok.rs +++ b/tests/kani/Intrinsics/Assume/assume_ok.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `assume` does not fail if the condition is true diff --git a/tests/kani/Intrinsics/Atomic/Stable/CompareExchange/main.rs b/tests/kani/Intrinsics/Atomic/Stable/CompareExchange/main.rs index 898bfb0acda3..969f6e2c208a 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/CompareExchange/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/CompareExchange/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_cxchg` and other variants (stable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Stable/Exchange/main.rs b/tests/kani/Intrinsics/Atomic/Stable/Exchange/main.rs index c5f1609fb509..6a71fd859a23 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/Exchange/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/Exchange/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_xchg` and other variants (stable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Stable/Fence/main.rs b/tests/kani/Intrinsics/Atomic/Stable/Fence/main.rs index 98b1e5f4fd49..a119364f9b42 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/Fence/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/Fence/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_fence` and other variants (stable version) can be diff --git a/tests/kani/Intrinsics/Atomic/Stable/FetchAdd/main.rs b/tests/kani/Intrinsics/Atomic/Stable/FetchAdd/main.rs index 0b9988d399e5..6d8fe022f0dc 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/FetchAdd/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/FetchAdd/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_xadd` and other variants (stable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Stable/FetchAnd/main.rs b/tests/kani/Intrinsics/Atomic/Stable/FetchAnd/main.rs index 1ccda0f686e9..0bcb5d1fda0b 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/FetchAnd/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/FetchAnd/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_and` and other variants (stable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Stable/FetchOr/main.rs b/tests/kani/Intrinsics/Atomic/Stable/FetchOr/main.rs index c237a44613ca..06b3cfb640fb 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/FetchOr/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/FetchOr/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_or` and other variants (stable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Stable/FetchSub/main.rs b/tests/kani/Intrinsics/Atomic/Stable/FetchSub/main.rs index 1947e35f6a9c..c5d338ef930b 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/FetchSub/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/FetchSub/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_xsub` and other variants (stable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Stable/FetchXor/main.rs b/tests/kani/Intrinsics/Atomic/Stable/FetchXor/main.rs index 2e57f8d96403..b0a9df3eac80 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/FetchXor/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/FetchXor/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_xor` and other variants (stable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Stable/Load/main.rs b/tests/kani/Intrinsics/Atomic/Stable/Load/main.rs index 631f975db68f..68dc60749b7b 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/Load/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/Load/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_load` and other variants (stable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Stable/Store/main.rs b/tests/kani/Intrinsics/Atomic/Stable/Store/main.rs index 3bb05ed752d3..dbfac7213509 100644 --- a/tests/kani/Intrinsics/Atomic/Stable/Store/main.rs +++ b/tests/kani/Intrinsics/Atomic/Stable/Store/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_store` and other variants (stable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicAdd/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicAdd/main.rs index 9ccea7edd158..95a466f27888 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicAdd/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicAdd/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_xsub` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicAnd/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicAnd/main.rs index f00b0f604b30..913b66c72ecd 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicAnd/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicAnd/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_and` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicCxchg/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicCxchg/main.rs index 62dc18e5fef0..19293b3a9151 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicCxchg/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicCxchg/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_cxchg` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicCxchgWeak/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicCxchgWeak/main.rs index b502b7695656..e83359b9eefa 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicCxchgWeak/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicCxchgWeak/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_cxchgweak` and other variants (unstable version) return diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicFence/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicFence/main.rs index 242ff6c438e3..5eb770563819 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicFence/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicFence/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_fence` and other variants (unstable version) can be diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicLoad/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicLoad/main.rs index 614164c188e6..f326cdb7c091 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicLoad/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicLoad/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_load` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max.rs index 0ec3b24485be..4761939e987c 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acq.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acq.rs index f6c9e05cfc57..720032dd65ce 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acq.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acq.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acqrel.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acqrel.rs index f542cf384d06..a414f0c15c92 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acqrel.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_acqrel.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_rel.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_rel.rs index a6b5c757d442..10605b0c5281 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_rel.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_rel.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_relaxed.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_relaxed.rs index 2658d10a4ed0..fa589fb62674 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_relaxed.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMax/max_relaxed.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min.rs index 6e43d701158f..01cbffcd1691 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acq.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acq.rs index c7ece1868105..4ba23a1feba8 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acq.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acq.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acqrel.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acqrel.rs index a8370bb8b4bc..f55028c3744a 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acqrel.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_acqrel.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_rel.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_rel.rs index 630943daa52f..8d77357e0693 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_rel.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_rel.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_relaxed.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_relaxed.rs index 7a87448814fe..5280818a5e0c 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_relaxed.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicMin/min_relaxed.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicNand/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicNand/main.rs index 0d8f2939429b..342886ca0837 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicNand/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicNand/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_nand` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicOr/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicOr/main.rs index 2cc9594f69e5..ce2332458d4f 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicOr/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicOr/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_or` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicSingleThreadFence/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicSingleThreadFence/main.rs index e7178dec46d9..d2367f987498 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicSingleThreadFence/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicSingleThreadFence/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_singlethreadfence` and other variants (unstable version) diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicStore/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicStore/main.rs index c962f98f9258..815076381719 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicStore/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicStore/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_store` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicSub/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicSub/main.rs index c23169833d1e..474dae07ca23 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicSub/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicSub/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_xsub` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax.rs index 5a3dee47b8c1..54babf402aa0 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_acq.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_acq.rs index 8ba4b048a342..567ade6ef822 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_acq.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_acq.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_acqrel.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_acqrel.rs index e16ed2347577..db3396af59da 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_acqrel.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_acqrel.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_rel.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_rel.rs index 7b993eb35181..90807f2c6675 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_rel.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_rel.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_relaxed.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_relaxed.rs index 2658d10a4ed0..fa589fb62674 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_relaxed.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmax/umax_relaxed.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin.rs index a07007c3b763..84d3e85a7d64 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_acq.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_acq.rs index 211eef25ac21..5a2f3f14455b 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_acq.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_acq.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_acqrel.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_acqrel.rs index 18acf6155f43..e4a4b6c0edab 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_acqrel.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_acqrel.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_rel.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_rel.rs index 63e2c75d5101..8411f65475e1 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_rel.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_rel.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_relaxed.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_relaxed.rs index e7696c4f1a98..6f9f23488dc7 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_relaxed.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicUmin/umin_relaxed.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicXchg/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicXchg/main.rs index 4b0341568b7d..28f75728b7bf 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicXchg/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicXchg/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_xchg` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Atomic/Unstable/AtomicXor/main.rs b/tests/kani/Intrinsics/Atomic/Unstable/AtomicXor/main.rs index 2b6bf61698d3..2ca0f05760ce 100644 --- a/tests/kani/Intrinsics/Atomic/Unstable/AtomicXor/main.rs +++ b/tests/kani/Intrinsics/Atomic/Unstable/AtomicXor/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `atomic_xor` and other variants (unstable version) return the diff --git a/tests/kani/Intrinsics/Compiler/variant_count.rs b/tests/kani/Intrinsics/Compiler/variant_count.rs index f35b03e24187..a67dea0b8f0e 100644 --- a/tests/kani/Intrinsics/Compiler/variant_count.rs +++ b/tests/kani/Intrinsics/Compiler/variant_count.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Compiler/variant_count_fixme.rs b/tests/kani/Intrinsics/Compiler/variant_count_fixme.rs index 09bd7581694e..31ce1c7bc19a 100644 --- a/tests/kani/Intrinsics/Compiler/variant_count_fixme.rs +++ b/tests/kani/Intrinsics/Compiler/variant_count_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `variant_count` is supported and returns the expected result. diff --git a/tests/kani/Intrinsics/ConstEval/min_align_of.rs b/tests/kani/Intrinsics/ConstEval/min_align_of.rs index 8040e80de365..a4bffc9fd70c 100644 --- a/tests/kani/Intrinsics/ConstEval/min_align_of.rs +++ b/tests/kani/Intrinsics/ConstEval/min_align_of.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we get the expected results for the `min_align_of` intrinsic diff --git a/tests/kani/Intrinsics/ConstEval/needs_drop.rs b/tests/kani/Intrinsics/ConstEval/needs_drop.rs index c5f3ffb5b016..e2fdfa512995 100644 --- a/tests/kani/Intrinsics/ConstEval/needs_drop.rs +++ b/tests/kani/Intrinsics/ConstEval/needs_drop.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we get the expected results for the `needs_drop` intrinsic diff --git a/tests/kani/Intrinsics/ConstEval/pref_align_of.rs b/tests/kani/Intrinsics/ConstEval/pref_align_of.rs index daca30c34bde..e9537105a837 100644 --- a/tests/kani/Intrinsics/ConstEval/pref_align_of.rs +++ b/tests/kani/Intrinsics/ConstEval/pref_align_of.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we get the expected results for the `pref_align_of` intrinsic diff --git a/tests/kani/Intrinsics/ConstEval/size_of.rs b/tests/kani/Intrinsics/ConstEval/size_of.rs index 225857a9e60e..ef960a34a304 100644 --- a/tests/kani/Intrinsics/ConstEval/size_of.rs +++ b/tests/kani/Intrinsics/ConstEval/size_of.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we get the expected results for the `size_of` intrinsic diff --git a/tests/kani/Intrinsics/ConstEval/type_id.rs b/tests/kani/Intrinsics/ConstEval/type_id.rs index 7e2a05277bb5..233292fcef45 100644 --- a/tests/kani/Intrinsics/ConstEval/type_id.rs +++ b/tests/kani/Intrinsics/ConstEval/type_id.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that the `type_id` intrinsic is supported with common data types diff --git a/tests/kani/Intrinsics/ConstEval/type_name.rs b/tests/kani/Intrinsics/ConstEval/type_name.rs index 1061bdb2369c..7c0a2cdd4af2 100644 --- a/tests/kani/Intrinsics/ConstEval/type_name.rs +++ b/tests/kani/Intrinsics/ConstEval/type_name.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we get the expected results for the `type_name` intrinsic diff --git a/tests/kani/Intrinsics/Count/ctlz.rs b/tests/kani/Intrinsics/Count/ctlz.rs index 39e980649cff..6c709137e5f4 100644 --- a/tests/kani/Intrinsics/Count/ctlz.rs +++ b/tests/kani/Intrinsics/Count/ctlz.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `ctlz` and `ctlz_nonzero` are supported and return the expected diff --git a/tests/kani/Intrinsics/Count/ctlz_nonzero_panic.rs b/tests/kani/Intrinsics/Count/ctlz_nonzero_panic.rs index 2034feae6f29..59fc0c07342a 100644 --- a/tests/kani/Intrinsics/Count/ctlz_nonzero_panic.rs +++ b/tests/kani/Intrinsics/Count/ctlz_nonzero_panic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Count/ctpop.rs b/tests/kani/Intrinsics/Count/ctpop.rs index dd4574d7709f..d2eb972f83aa 100644 --- a/tests/kani/Intrinsics/Count/ctpop.rs +++ b/tests/kani/Intrinsics/Count/ctpop.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `ctpop` is supported and returns the expected results diff --git a/tests/kani/Intrinsics/Count/cttz.rs b/tests/kani/Intrinsics/Count/cttz.rs index 0a184cca0a77..fa7c5f6a03e5 100644 --- a/tests/kani/Intrinsics/Count/cttz.rs +++ b/tests/kani/Intrinsics/Count/cttz.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `cttz` and `cttz_nonzero` are supported and return the expected diff --git a/tests/kani/Intrinsics/Count/cttz_nonzero_panic.rs b/tests/kani/Intrinsics/Count/cttz_nonzero_panic.rs index 3efc43755fef..e8794899195a 100644 --- a/tests/kani/Intrinsics/Count/cttz_nonzero_panic.rs +++ b/tests/kani/Intrinsics/Count/cttz_nonzero_panic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/ExactDiv/divisor_is_zero.rs b/tests/kani/Intrinsics/ExactDiv/divisor_is_zero.rs index 821d0c85da41..5e53bf19fc5b 100644 --- a/tests/kani/Intrinsics/ExactDiv/divisor_is_zero.rs +++ b/tests/kani/Intrinsics/ExactDiv/divisor_is_zero.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/ExactDiv/main.rs b/tests/kani/Intrinsics/ExactDiv/main.rs index a079aba22ad9..8a76a4efb38f 100644 --- a/tests/kani/Intrinsics/ExactDiv/main.rs +++ b/tests/kani/Intrinsics/ExactDiv/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `exact_div` returns the expected result if none diff --git a/tests/kani/Intrinsics/ExactDiv/not_exact_division.rs b/tests/kani/Intrinsics/ExactDiv/not_exact_division.rs index 376186769a59..fccf67997706 100644 --- a/tests/kani/Intrinsics/ExactDiv/not_exact_division.rs +++ b/tests/kani/Intrinsics/ExactDiv/not_exact_division.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/ExactDiv/overflow_division.rs b/tests/kani/Intrinsics/ExactDiv/overflow_division.rs index c87edd5d6a48..01dbdb345827 100644 --- a/tests/kani/Intrinsics/ExactDiv/overflow_division.rs +++ b/tests/kani/Intrinsics/ExactDiv/overflow_division.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/FastMath/add_f32.rs b/tests/kani/Intrinsics/FastMath/add_f32.rs index 5bea1f67b16a..dc7787b80f55 100644 --- a/tests/kani/Intrinsics/FastMath/add_f32.rs +++ b/tests/kani/Intrinsics/FastMath/add_f32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fadd_fast` overflow checks pass with suitable assumptions diff --git a/tests/kani/Intrinsics/FastMath/add_f64.rs b/tests/kani/Intrinsics/FastMath/add_f64.rs index d14aa4e24476..cba0da892390 100644 --- a/tests/kani/Intrinsics/FastMath/add_f64.rs +++ b/tests/kani/Intrinsics/FastMath/add_f64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fadd_fast` overflow checks pass with suitable assumptions diff --git a/tests/kani/Intrinsics/FastMath/add_overflow_f32.rs b/tests/kani/Intrinsics/FastMath/add_overflow_f32.rs index 7e0b658d074a..a1bd6b6c3c67 100644 --- a/tests/kani/Intrinsics/FastMath/add_overflow_f32.rs +++ b/tests/kani/Intrinsics/FastMath/add_overflow_f32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fadd_fast` triggers overflow checks // kani-verify-fail diff --git a/tests/kani/Intrinsics/FastMath/add_overflow_f64.rs b/tests/kani/Intrinsics/FastMath/add_overflow_f64.rs index 256b85d97a48..5aaca8287a43 100644 --- a/tests/kani/Intrinsics/FastMath/add_overflow_f64.rs +++ b/tests/kani/Intrinsics/FastMath/add_overflow_f64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fadd_fast` triggers overflow checks // kani-verify-fail diff --git a/tests/kani/Intrinsics/FastMath/div_f32.rs b/tests/kani/Intrinsics/FastMath/div_f32.rs index bd0c87654b1f..9b822bee35e3 100644 --- a/tests/kani/Intrinsics/FastMath/div_f32.rs +++ b/tests/kani/Intrinsics/FastMath/div_f32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fdiv_fast` overflow checks pass with suitable assumptions diff --git a/tests/kani/Intrinsics/FastMath/div_f64.rs b/tests/kani/Intrinsics/FastMath/div_f64.rs index f50310629889..9f248d09076a 100644 --- a/tests/kani/Intrinsics/FastMath/div_f64.rs +++ b/tests/kani/Intrinsics/FastMath/div_f64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fdiv_fast` overflow checks pass with suitable assumptions diff --git a/tests/kani/Intrinsics/FastMath/div_overflow_f32.rs b/tests/kani/Intrinsics/FastMath/div_overflow_f32.rs index 3375fd4af415..b5672265714f 100644 --- a/tests/kani/Intrinsics/FastMath/div_overflow_f32.rs +++ b/tests/kani/Intrinsics/FastMath/div_overflow_f32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fdiv_fast` triggers overflow checks // kani-verify-fail diff --git a/tests/kani/Intrinsics/FastMath/div_overflow_f64.rs b/tests/kani/Intrinsics/FastMath/div_overflow_f64.rs index 86b9d8f09399..6a0155b9f57e 100644 --- a/tests/kani/Intrinsics/FastMath/div_overflow_f64.rs +++ b/tests/kani/Intrinsics/FastMath/div_overflow_f64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fdiv_fast` triggers overflow checks // kani-verify-fail diff --git a/tests/kani/Intrinsics/FastMath/mul_f32.rs b/tests/kani/Intrinsics/FastMath/mul_f32.rs index 41a06d73380d..3ee266a185b3 100644 --- a/tests/kani/Intrinsics/FastMath/mul_f32.rs +++ b/tests/kani/Intrinsics/FastMath/mul_f32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fmul_fast` overflow checks pass with suitable assumptions diff --git a/tests/kani/Intrinsics/FastMath/mul_f64.rs b/tests/kani/Intrinsics/FastMath/mul_f64.rs index 69c0790d7e72..dcab60d7837e 100644 --- a/tests/kani/Intrinsics/FastMath/mul_f64.rs +++ b/tests/kani/Intrinsics/FastMath/mul_f64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fmul_fast` overflow checks pass with suitable assumptions diff --git a/tests/kani/Intrinsics/FastMath/mul_overflow_f32.rs b/tests/kani/Intrinsics/FastMath/mul_overflow_f32.rs index e7e4b2997e9d..7a4ab62d006a 100644 --- a/tests/kani/Intrinsics/FastMath/mul_overflow_f32.rs +++ b/tests/kani/Intrinsics/FastMath/mul_overflow_f32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fmul_fast` triggers overflow checks // kani-verify-fail diff --git a/tests/kani/Intrinsics/FastMath/mul_overflow_f64.rs b/tests/kani/Intrinsics/FastMath/mul_overflow_f64.rs index 6b0a016647ea..597e06aafd37 100644 --- a/tests/kani/Intrinsics/FastMath/mul_overflow_f64.rs +++ b/tests/kani/Intrinsics/FastMath/mul_overflow_f64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fmul_fast` triggers overflow checks // kani-verify-fail diff --git a/tests/kani/Intrinsics/FastMath/sub_f32.rs b/tests/kani/Intrinsics/FastMath/sub_f32.rs index 12af0ff52e64..2ed9d671d07c 100644 --- a/tests/kani/Intrinsics/FastMath/sub_f32.rs +++ b/tests/kani/Intrinsics/FastMath/sub_f32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fsub_fast` overflow checks pass with suitable assumptions diff --git a/tests/kani/Intrinsics/FastMath/sub_f64.rs b/tests/kani/Intrinsics/FastMath/sub_f64.rs index 339fb0c1ab15..b8ab7514b37a 100644 --- a/tests/kani/Intrinsics/FastMath/sub_f64.rs +++ b/tests/kani/Intrinsics/FastMath/sub_f64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fsub_fast` overflow checks pass with suitable assumptions diff --git a/tests/kani/Intrinsics/FastMath/sub_overflow_f32.rs b/tests/kani/Intrinsics/FastMath/sub_overflow_f32.rs index b139535cc627..8bb48ca04fb8 100644 --- a/tests/kani/Intrinsics/FastMath/sub_overflow_f32.rs +++ b/tests/kani/Intrinsics/FastMath/sub_overflow_f32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fsub_fast` triggers overflow checks // kani-verify-fail diff --git a/tests/kani/Intrinsics/FastMath/sub_overflow_f64.rs b/tests/kani/Intrinsics/FastMath/sub_overflow_f64.rs index 799fc63bf931..cef4bc4a220a 100644 --- a/tests/kani/Intrinsics/FastMath/sub_overflow_f64.rs +++ b/tests/kani/Intrinsics/FastMath/sub_overflow_f64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fsub_fast` triggers overflow checks // kani-verify-fail diff --git a/tests/kani/Intrinsics/Forget/forget_fail.rs b/tests/kani/Intrinsics/Forget/forget_fail.rs index 9910f0df557a..d485fb56130c 100644 --- a/tests/kani/Intrinsics/Forget/forget_fail.rs +++ b/tests/kani/Intrinsics/Forget/forget_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-check-fail diff --git a/tests/kani/Intrinsics/Forget/forget_ok.rs b/tests/kani/Intrinsics/Forget/forget_ok.rs index af2b4ba29388..d485c0c74d5c 100644 --- a/tests/kani/Intrinsics/Forget/forget_ok.rs +++ b/tests/kani/Intrinsics/Forget/forget_ok.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `forget` does not cause a compilation error if the value is not diff --git a/tests/kani/Intrinsics/Likely/main.rs b/tests/kani/Intrinsics/Likely/main.rs index d737c428e044..524fbd18ddc8 100644 --- a/tests/kani/Intrinsics/Likely/main.rs +++ b/tests/kani/Intrinsics/Likely/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `likely` and `unlikely` return the value of the condition passed diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/add_fail.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/add_fail.rs index 0736f0d97956..159f26842704 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/add_fail.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/add_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/div_fail.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/div_fail.rs index 52b44d6a0f5f..ec5e2bd94279 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/div_fail.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/div_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/div_zero_fail.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/div_zero_fail.rs index c12d53bbfec9..aac284a08e26 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/div_zero_fail.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/div_zero_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/mul_fail.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/mul_fail.rs index 858557595845..3e703724fd67 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/mul_fail.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/mul_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/no_overflows.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/no_overflows.rs index 9ac3f91664fd..b85db650ad3d 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/no_overflows.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/no_overflows.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that none of these operations trigger spurious overflow checks. diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/rem_fail.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/rem_fail.rs index 31b4e783c1df..b2887a591174 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/rem_fail.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/rem_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/rem_zero_fail.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/rem_zero_fail.rs index d89190e30e91..eec7db57e123 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/rem_zero_fail.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/rem_zero_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/shl_fail.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/shl_fail.rs index 261c4b76c0ea..adc5e0a5dff4 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/shl_fail.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/shl_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/shr_fail.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/shr_fail.rs index 15bbb61b0a63..77d1b44f91df 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/shr_fail.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/shr_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Arith/Unchecked/sub_fail.rs b/tests/kani/Intrinsics/Math/Arith/Unchecked/sub_fail.rs index ab11d6fa09a3..695ae81f01e3 100644 --- a/tests/kani/Intrinsics/Math/Arith/Unchecked/sub_fail.rs +++ b/tests/kani/Intrinsics/Math/Arith/Unchecked/sub_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Arith/ops_with_overflow.rs b/tests/kani/Intrinsics/Math/Arith/ops_with_overflow.rs index 02b3bb814c81..d5514d50e3e8 100644 --- a/tests/kani/Intrinsics/Math/Arith/ops_with_overflow.rs +++ b/tests/kani/Intrinsics/Math/Arith/ops_with_overflow.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Checks that `_with_overflow` returns the expected result in all cases. diff --git a/tests/kani/Intrinsics/Math/Arith/wrapping_ops.rs b/tests/kani/Intrinsics/Math/Arith/wrapping_ops.rs index beb2001c855a..98f6052c9123 100644 --- a/tests/kani/Intrinsics/Math/Arith/wrapping_ops.rs +++ b/tests/kani/Intrinsics/Math/Arith/wrapping_ops.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that the `wrapping_` intrinsics perform wrapping arithmetic diff --git a/tests/kani/Intrinsics/Math/Rounding/ceilf32.rs b/tests/kani/Intrinsics/Math/Rounding/ceilf32.rs index bb2fa6389bd9..0782030d9af9 100644 --- a/tests/kani/Intrinsics/Math/Rounding/ceilf32.rs +++ b/tests/kani/Intrinsics/Math/Rounding/ceilf32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/ceilf64.rs b/tests/kani/Intrinsics/Math/Rounding/ceilf64.rs index 71263a6e3965..3744162f6e2b 100644 --- a/tests/kani/Intrinsics/Math/Rounding/ceilf64.rs +++ b/tests/kani/Intrinsics/Math/Rounding/ceilf64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/floorf32.rs b/tests/kani/Intrinsics/Math/Rounding/floorf32.rs index e438d3642b4c..73fc8b7f00d1 100644 --- a/tests/kani/Intrinsics/Math/Rounding/floorf32.rs +++ b/tests/kani/Intrinsics/Math/Rounding/floorf32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/floorf64.rs b/tests/kani/Intrinsics/Math/Rounding/floorf64.rs index 8af8fe57f551..34616c512359 100644 --- a/tests/kani/Intrinsics/Math/Rounding/floorf64.rs +++ b/tests/kani/Intrinsics/Math/Rounding/floorf64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/nearbyintf32.rs b/tests/kani/Intrinsics/Math/Rounding/nearbyintf32.rs index f2f3fdc7a0e3..b65f138276bb 100644 --- a/tests/kani/Intrinsics/Math/Rounding/nearbyintf32.rs +++ b/tests/kani/Intrinsics/Math/Rounding/nearbyintf32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/nearbyintf64.rs b/tests/kani/Intrinsics/Math/Rounding/nearbyintf64.rs index 4b1eb6585b0c..51ad5d5f59c5 100644 --- a/tests/kani/Intrinsics/Math/Rounding/nearbyintf64.rs +++ b/tests/kani/Intrinsics/Math/Rounding/nearbyintf64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/rintf32.rs b/tests/kani/Intrinsics/Math/Rounding/rintf32.rs index a2e21f85002b..a39573080cd4 100644 --- a/tests/kani/Intrinsics/Math/Rounding/rintf32.rs +++ b/tests/kani/Intrinsics/Math/Rounding/rintf32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/rintf64.rs b/tests/kani/Intrinsics/Math/Rounding/rintf64.rs index aa46768060c4..b39ee126085b 100644 --- a/tests/kani/Intrinsics/Math/Rounding/rintf64.rs +++ b/tests/kani/Intrinsics/Math/Rounding/rintf64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/roundf32.rs b/tests/kani/Intrinsics/Math/Rounding/roundf32.rs index 3654b9c16253..d3f27e50e4be 100644 --- a/tests/kani/Intrinsics/Math/Rounding/roundf32.rs +++ b/tests/kani/Intrinsics/Math/Rounding/roundf32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/roundf64.rs b/tests/kani/Intrinsics/Math/Rounding/roundf64.rs index d09ea4845801..5b63500a5a65 100644 --- a/tests/kani/Intrinsics/Math/Rounding/roundf64.rs +++ b/tests/kani/Intrinsics/Math/Rounding/roundf64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/truncf32.rs b/tests/kani/Intrinsics/Math/Rounding/truncf32.rs index 29ae436acd99..28d5d2cb026b 100644 --- a/tests/kani/Intrinsics/Math/Rounding/truncf32.rs +++ b/tests/kani/Intrinsics/Math/Rounding/truncf32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Rounding/truncf64.rs b/tests/kani/Intrinsics/Math/Rounding/truncf64.rs index 0e22d3d855e6..0f4014592ad8 100644 --- a/tests/kani/Intrinsics/Math/Rounding/truncf64.rs +++ b/tests/kani/Intrinsics/Math/Rounding/truncf64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Math/Trigonometry/cosf32.rs b/tests/kani/Intrinsics/Math/Trigonometry/cosf32.rs index 83b9d9387d46..df5e5a8d2d47 100644 --- a/tests/kani/Intrinsics/Math/Trigonometry/cosf32.rs +++ b/tests/kani/Intrinsics/Math/Trigonometry/cosf32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `cosf32` returns the expected results. diff --git a/tests/kani/Intrinsics/Math/Trigonometry/cosf64.rs b/tests/kani/Intrinsics/Math/Trigonometry/cosf64.rs index c30f487f27db..7f1722d565e5 100644 --- a/tests/kani/Intrinsics/Math/Trigonometry/cosf64.rs +++ b/tests/kani/Intrinsics/Math/Trigonometry/cosf64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `cosf64` returns the expected results. diff --git a/tests/kani/Intrinsics/Math/Trigonometry/sinf32.rs b/tests/kani/Intrinsics/Math/Trigonometry/sinf32.rs index 1f524dc15628..e193046abce4 100644 --- a/tests/kani/Intrinsics/Math/Trigonometry/sinf32.rs +++ b/tests/kani/Intrinsics/Math/Trigonometry/sinf32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `sinf32` returns the expected results. diff --git a/tests/kani/Intrinsics/Math/Trigonometry/sinf64.rs b/tests/kani/Intrinsics/Math/Trigonometry/sinf64.rs index 0a588a24a31c..7cda863d8ea9 100644 --- a/tests/kani/Intrinsics/Math/Trigonometry/sinf64.rs +++ b/tests/kani/Intrinsics/Math/Trigonometry/sinf64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `sinf64` returns the expected results. diff --git a/tests/kani/Intrinsics/Math/fabsf32.rs b/tests/kani/Intrinsics/Math/fabsf32.rs index bd8b95ac7c6b..63ecc08db9c3 100644 --- a/tests/kani/Intrinsics/Math/fabsf32.rs +++ b/tests/kani/Intrinsics/Math/fabsf32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fabsf32` returns the expected results: absolute value if argument diff --git a/tests/kani/Intrinsics/Math/fabsf64.rs b/tests/kani/Intrinsics/Math/fabsf64.rs index e561ef9b5448..6f08b7717805 100644 --- a/tests/kani/Intrinsics/Math/fabsf64.rs +++ b/tests/kani/Intrinsics/Math/fabsf64.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `fabsf64` returns the expected results: absolute value if argument diff --git a/tests/kani/Intrinsics/NonRet/abort.rs b/tests/kani/Intrinsics/NonRet/abort.rs index ba33869419c4..5839b8a7b93b 100644 --- a/tests/kani/Intrinsics/NonRet/abort.rs +++ b/tests/kani/Intrinsics/NonRet/abort.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/NonRet/transmute_zst.rs b/tests/kani/Intrinsics/NonRet/transmute_zst.rs index a8f2aff2c910..29bcbd2e88da 100644 --- a/tests/kani/Intrinsics/NonRet/transmute_zst.rs +++ b/tests/kani/Intrinsics/NonRet/transmute_zst.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Offset/offset_i32_ok.rs b/tests/kani/Intrinsics/Offset/offset_i32_ok.rs index 6825efbca6be..ef3e00a623f6 100644 --- a/tests/kani/Intrinsics/Offset/offset_i32_ok.rs +++ b/tests/kani/Intrinsics/Offset/offset_i32_ok.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `offset` returns the expected addresses diff --git a/tests/kani/Intrinsics/Offset/offset_u8_ok.rs b/tests/kani/Intrinsics/Offset/offset_u8_ok.rs index 0940665580c7..aa029e6200dc 100644 --- a/tests/kani/Intrinsics/Offset/offset_u8_ok.rs +++ b/tests/kani/Intrinsics/Offset/offset_u8_ok.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `offset` returns the expected addresses diff --git a/tests/kani/Intrinsics/PtrGuaranteedCmp/eq.rs b/tests/kani/Intrinsics/PtrGuaranteedCmp/eq.rs index 04eaabd7d2d4..aaf93928cb0a 100644 --- a/tests/kani/Intrinsics/PtrGuaranteedCmp/eq.rs +++ b/tests/kani/Intrinsics/PtrGuaranteedCmp/eq.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `ptr_guaranteed_eq` returns true if the pointers are equal, false diff --git a/tests/kani/Intrinsics/PtrGuaranteedCmp/ne.rs b/tests/kani/Intrinsics/PtrGuaranteedCmp/ne.rs index b2bbc1ecb584..15336d925781 100644 --- a/tests/kani/Intrinsics/PtrGuaranteedCmp/ne.rs +++ b/tests/kani/Intrinsics/PtrGuaranteedCmp/ne.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `ptr_guaranteed_ne` returns true if the pointers are different, diff --git a/tests/kani/Intrinsics/PtrOffsetFrom/main.rs b/tests/kani/Intrinsics/PtrOffsetFrom/main.rs index d6aff61ad4dc..a557502b411b 100644 --- a/tests/kani/Intrinsics/PtrOffsetFrom/main.rs +++ b/tests/kani/Intrinsics/PtrOffsetFrom/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(core_intrinsics)] diff --git a/tests/kani/Intrinsics/RawEq/main.rs b/tests/kani/Intrinsics/RawEq/main.rs index ace3c2a592fb..836d46fd7aa6 100644 --- a/tests/kani/Intrinsics/RawEq/main.rs +++ b/tests/kani/Intrinsics/RawEq/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we get the expected results for the `raw_eq` intrinsic diff --git a/tests/kani/Intrinsics/RawEq/uninit_eq.rs b/tests/kani/Intrinsics/RawEq/uninit_eq.rs index 62ed9c29bc82..9e7f81dfaef1 100644 --- a/tests/kani/Intrinsics/RawEq/uninit_eq.rs +++ b/tests/kani/Intrinsics/RawEq/uninit_eq.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/RawEq/uninit_ne.rs b/tests/kani/Intrinsics/RawEq/uninit_ne.rs index fd7e8f88b848..0f0642976671 100644 --- a/tests/kani/Intrinsics/RawEq/uninit_ne.rs +++ b/tests/kani/Intrinsics/RawEq/uninit_ne.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/Rotate/rotate_left.rs b/tests/kani/Intrinsics/Rotate/rotate_left.rs index 92d8dd83183f..d44ef1347745 100644 --- a/tests/kani/Intrinsics/Rotate/rotate_left.rs +++ b/tests/kani/Intrinsics/Rotate/rotate_left.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `rotate_left` is supported and returns the expected result. diff --git a/tests/kani/Intrinsics/Rotate/rotate_right.rs b/tests/kani/Intrinsics/Rotate/rotate_right.rs index f944f524c3bb..584821e5784f 100644 --- a/tests/kani/Intrinsics/Rotate/rotate_right.rs +++ b/tests/kani/Intrinsics/Rotate/rotate_right.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `rotate_right` is supported and returns the expected result. diff --git a/tests/kani/Intrinsics/Saturating/main.rs b/tests/kani/Intrinsics/Saturating/main.rs index 964494ed0e15..b90f67273ce9 100644 --- a/tests/kani/Intrinsics/Saturating/main.rs +++ b/tests/kani/Intrinsics/Saturating/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `saturating_add` and `saturating_sub` are supported and return the diff --git a/tests/kani/Intrinsics/SizeOfVal/size_of_basic.rs b/tests/kani/Intrinsics/SizeOfVal/size_of_basic.rs index 411f1769738b..41008fd06b49 100644 --- a/tests/kani/Intrinsics/SizeOfVal/size_of_basic.rs +++ b/tests/kani/Intrinsics/SizeOfVal/size_of_basic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we get the expected results for the `size_of_val` intrinsic with diff --git a/tests/kani/Intrinsics/SizeOfVal/size_of_fat_ptr.rs b/tests/kani/Intrinsics/SizeOfVal/size_of_fat_ptr.rs index d66c59176898..8c6f903c016a 100644 --- a/tests/kani/Intrinsics/SizeOfVal/size_of_fat_ptr.rs +++ b/tests/kani/Intrinsics/SizeOfVal/size_of_fat_ptr.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This test case checks the behavior of size_of_val for traits. diff --git a/tests/kani/Intrinsics/Transmute/arr_to_struct.rs b/tests/kani/Intrinsics/Transmute/arr_to_struct.rs index ed43d32b0d72..e94c97b0fc35 100644 --- a/tests/kani/Intrinsics/Transmute/arr_to_struct.rs +++ b/tests/kani/Intrinsics/Transmute/arr_to_struct.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `transmute` works as expected when turning an array into diff --git a/tests/kani/Intrinsics/Transmute/bytes_to_u32.rs b/tests/kani/Intrinsics/Transmute/bytes_to_u32.rs index 8d425464d812..d0a09fceae90 100644 --- a/tests/kani/Intrinsics/Transmute/bytes_to_u32.rs +++ b/tests/kani/Intrinsics/Transmute/bytes_to_u32.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `transmute` works as expected when turning raw bytes into diff --git a/tests/kani/Intrinsics/Transmute/ptr_to_fn_ptr.rs b/tests/kani/Intrinsics/Transmute/ptr_to_fn_ptr.rs index 86186edb027f..9a18f997a784 100644 --- a/tests/kani/Intrinsics/Transmute/ptr_to_fn_ptr.rs +++ b/tests/kani/Intrinsics/Transmute/ptr_to_fn_ptr.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `transmute` works as expected when turning a pointer into diff --git a/tests/kani/Intrinsics/Transmute/str_to_slice.rs b/tests/kani/Intrinsics/Transmute/str_to_slice.rs index a1c80f661a48..d06402013388 100644 --- a/tests/kani/Intrinsics/Transmute/str_to_slice.rs +++ b/tests/kani/Intrinsics/Transmute/str_to_slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `transmute` works as expected when turning a `str` into diff --git a/tests/kani/Intrinsics/Volatile/store.rs b/tests/kani/Intrinsics/Volatile/store.rs index cec273c9b7c2..bd46dd81056b 100644 --- a/tests/kani/Intrinsics/Volatile/store.rs +++ b/tests/kani/Intrinsics/Volatile/store.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `volatile_store` passes when it writes to an aligned value. diff --git a/tests/kani/Intrinsics/Volatile/store_fail.rs b/tests/kani/Intrinsics/Volatile/store_fail.rs index fbc706437348..05a8655f2cad 100644 --- a/tests/kani/Intrinsics/Volatile/store_fail.rs +++ b/tests/kani/Intrinsics/Volatile/store_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/WriteBytes/main.rs b/tests/kani/Intrinsics/WriteBytes/main.rs index 395c1c03c355..9f6d3a94d3d2 100644 --- a/tests/kani/Intrinsics/WriteBytes/main.rs +++ b/tests/kani/Intrinsics/WriteBytes/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Checks that `write_bytes` works as expected. diff --git a/tests/kani/Intrinsics/bitreverse.rs b/tests/kani/Intrinsics/bitreverse.rs index c872ed839189..a8453b3211ff 100644 --- a/tests/kani/Intrinsics/bitreverse.rs +++ b/tests/kani/Intrinsics/bitreverse.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we get the expected results for the `bitreverse` intrinsic diff --git a/tests/kani/Intrinsics/black_box.rs b/tests/kani/Intrinsics/black_box.rs index d91d6f815510..7e34e0bf55d6 100644 --- a/tests/kani/Intrinsics/black_box.rs +++ b/tests/kani/Intrinsics/black_box.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(bench_black_box)] diff --git a/tests/kani/Intrinsics/bswap.rs b/tests/kani/Intrinsics/bswap.rs index d944a40b35ae..1715adeb54f5 100644 --- a/tests/kani/Intrinsics/bswap.rs +++ b/tests/kani/Intrinsics/bswap.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `bswap` returns the expected results. diff --git a/tests/kani/Intrinsics/discriminant_value.rs b/tests/kani/Intrinsics/discriminant_value.rs index 519bd5ac392a..a574a32c1f03 100644 --- a/tests/kani/Intrinsics/discriminant_value.rs +++ b/tests/kani/Intrinsics/discriminant_value.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that `discriminant_value` returns the expected results diff --git a/tests/kani/Intrinsics/exact_div.rs b/tests/kani/Intrinsics/exact_div.rs index c7e0f66ced0a..0e86c3ed060f 100644 --- a/tests/kani/Intrinsics/exact_div.rs +++ b/tests/kani/Intrinsics/exact_div.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Intrinsics/fixme_catch_unwind.rs b/tests/kani/Intrinsics/fixme_catch_unwind.rs index fd2ac5131e59..3267d8f0b03e 100644 --- a/tests/kani/Intrinsics/fixme_catch_unwind.rs +++ b/tests/kani/Intrinsics/fixme_catch_unwind.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // https://doc.rust-lang.org/std/panic/fn.catch_unwind.html diff --git a/tests/kani/Intrinsics/fixme_try.rs b/tests/kani/Intrinsics/fixme_try.rs index 18517159874c..95fdff9413eb 100644 --- a/tests/kani/Intrinsics/fixme_try.rs +++ b/tests/kani/Intrinsics/fixme_try.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // See discussion on https://github.com/model-checking/kani/issues/267 diff --git a/tests/kani/Invariants/array.rs b/tests/kani/Invariants/array.rs index e9afc724f539..cd2b0d1871bb 100644 --- a/tests/kani/Invariants/array.rs +++ b/tests/kani/Invariants/array.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that the Invariant implementation for array respect the underlying types invariant. diff --git a/tests/kani/Invariants/array_raw_fail.rs b/tests/kani/Invariants/array_raw_fail.rs index 621364cea81f..12f37b9ec32c 100644 --- a/tests/kani/Invariants/array_raw_fail.rs +++ b/tests/kani/Invariants/array_raw_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that any_raw for arrays do not respect the elements invariants. diff --git a/tests/kani/Invariants/bool.rs b/tests/kani/Invariants/bool.rs index 1571ffff79b9..def5ba5a599f 100644 --- a/tests/kani/Invariants/bool.rs +++ b/tests/kani/Invariants/bool.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Ensure that kani::any:: generates only valid booleans. diff --git a/tests/kani/Invariants/bool_raw_fail.rs b/tests/kani/Invariants/bool_raw_fail.rs index 9e02c6026c11..860d1fd57651 100644 --- a/tests/kani/Invariants/bool_raw_fail.rs +++ b/tests/kani/Invariants/bool_raw_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Ensure that kani::any_raw:: may generate invalid booleans. diff --git a/tests/kani/Invariants/char.rs b/tests/kani/Invariants/char.rs index 6fa1723ea3c2..8d5fc23fcc04 100644 --- a/tests/kani/Invariants/char.rs +++ b/tests/kani/Invariants/char.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT /// Check that kani::any respect the char::MAX limit. diff --git a/tests/kani/Invariants/char_fail.rs b/tests/kani/Invariants/char_fail.rs index cd2bb1ed78ac..dc5053bb7348 100644 --- a/tests/kani/Invariants/char_fail.rs +++ b/tests/kani/Invariants/char_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT /// Check that kani::any_raw may generate invalid char. diff --git a/tests/kani/Invariants/enum.rs b/tests/kani/Invariants/enum.rs index b997e6a141e9..ffdb2ed45806 100644 --- a/tests/kani/Invariants/enum.rs +++ b/tests/kani/Invariants/enum.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that we correctly generate invariants for enums. diff --git a/tests/kani/Invariants/enum_raw_fail.rs b/tests/kani/Invariants/enum_raw_fail.rs index 634bc3b2e110..48f626aaff6f 100644 --- a/tests/kani/Invariants/enum_raw_fail.rs +++ b/tests/kani/Invariants/enum_raw_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // kani-verify-fail diff --git a/tests/kani/Invariants/fixme_niche_opt.rs b/tests/kani/Invariants/fixme_niche_opt.rs index 302c6ae0ba74..ac9dbe140c38 100644 --- a/tests/kani/Invariants/fixme_niche_opt.rs +++ b/tests/kani/Invariants/fixme_niche_opt.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT /// This testcase is currently failing with the following error: diff --git a/tests/kani/Invariants/float.rs b/tests/kani/Invariants/float.rs index 3357fbfab9f6..4a04058c239e 100644 --- a/tests/kani/Invariants/float.rs +++ b/tests/kani/Invariants/float.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Ensure that kani::any and kani::any_raw can be used with integers. diff --git a/tests/kani/Invariants/integer.rs b/tests/kani/Invariants/integer.rs index f17ac30c8667..f29c0dcc6892 100644 --- a/tests/kani/Invariants/integer.rs +++ b/tests/kani/Invariants/integer.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Ensure that kani::any and kani::any_raw can be used with integers. diff --git a/tests/kani/Invariants/nonzero.rs b/tests/kani/Invariants/nonzero.rs index 9db1490ee928..db47636877d8 100644 --- a/tests/kani/Invariants/nonzero.rs +++ b/tests/kani/Invariants/nonzero.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Ensure that kani::any behaves correcty with NonZero types. This also shows how using the unsafe diff --git a/tests/kani/Invariants/option.rs b/tests/kani/Invariants/option.rs index c61c8114b505..9b1909f9c132 100644 --- a/tests/kani/Invariants/option.rs +++ b/tests/kani/Invariants/option.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that the Invariant implementation for Option respect underlying types invariant. diff --git a/tests/kani/Invariants/option_raw_fail.rs b/tests/kani/Invariants/option_raw_fail.rs index 3c650e7d998e..06cb049502b2 100644 --- a/tests/kani/Invariants/option_raw_fail.rs +++ b/tests/kani/Invariants/option_raw_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Ensure that kani::any_raw will generate unsconstrainted values for Option. diff --git a/tests/kani/Invariants/result.rs b/tests/kani/Invariants/result.rs index e431d37d4776..3da2e0b212e1 100644 --- a/tests/kani/Invariants/result.rs +++ b/tests/kani/Invariants/result.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that the Invariant implementation for Result respect underlying types invariant. diff --git a/tests/kani/Invariants/result_raw_fail.rs b/tests/kani/Invariants/result_raw_fail.rs index ac34232376ff..6ea0d2a26ada 100644 --- a/tests/kani/Invariants/result_raw_fail.rs +++ b/tests/kani/Invariants/result_raw_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Ensure that kani::any_raw will generate unsconstrainted values for Result. diff --git a/tests/kani/Iterator/flat_map.rs b/tests/kani/Iterator/flat_map.rs index d345d91be0af..c044f334ad9e 100644 --- a/tests/kani/Iterator/flat_map.rs +++ b/tests/kani/Iterator/flat_map.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // This test checks the result of using Iterator::flat_map. We had some projection diff --git a/tests/kani/Iterator/into_iter.rs b/tests/kani/Iterator/into_iter.rs index 3913ab7f4eb6..8b12dc251e71 100644 --- a/tests/kani/Iterator/into_iter.rs +++ b/tests/kani/Iterator/into_iter.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // compile-flags: --edition 2018 diff --git a/tests/kani/Iterator/try_fold.rs b/tests/kani/Iterator/try_fold.rs index ba395e10e12c..7f8bc14e77f5 100644 --- a/tests/kani/Iterator/try_fold.rs +++ b/tests/kani/Iterator/try_fold.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/LT-GT-LE-GE/main.rs b/tests/kani/LT-GT-LE-GE/main.rs index b83fd6e821bd..f4c8437c6dd4 100644 --- a/tests/kani/LT-GT-LE-GE/main.rs +++ b/tests/kani/LT-GT-LE-GE/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/LexicographicCmp/main.rs b/tests/kani/LexicographicCmp/main.rs index 1e82389ea2e1..4e8c03871a69 100644 --- a/tests/kani/LexicographicCmp/main.rs +++ b/tests/kani/LexicographicCmp/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that lexicographic comparison is handled correctly diff --git a/tests/kani/LoopLoop_NonReturning/main.rs b/tests/kani/LoopLoop_NonReturning/main.rs index a3c1258d8caa..5325d9ce602f 100644 --- a/tests/kani/LoopLoop_NonReturning/main.rs +++ b/tests/kani/LoopLoop_NonReturning/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/LoopLoop_NonReturning/main_no_unwind_asserts.rs b/tests/kani/LoopLoop_NonReturning/main_no_unwind_asserts.rs index 1cdf53ed8f87..c93206298d0f 100644 --- a/tests/kani/LoopLoop_NonReturning/main_no_unwind_asserts.rs +++ b/tests/kani/LoopLoop_NonReturning/main_no_unwind_asserts.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-default-checks diff --git a/tests/kani/LoopWhile_NonReturning/main.rs b/tests/kani/LoopWhile_NonReturning/main.rs index 8b6984ffd348..24fa4f4f316b 100644 --- a/tests/kani/LoopWhile_NonReturning/main.rs +++ b/tests/kani/LoopWhile_NonReturning/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/LoopWhile_NonReturning/main_no_unwind_asserts.rs b/tests/kani/LoopWhile_NonReturning/main_no_unwind_asserts.rs index 1ab77cfe100e..f351ab3cff15 100644 --- a/tests/kani/LoopWhile_NonReturning/main_no_unwind_asserts.rs +++ b/tests/kani/LoopWhile_NonReturning/main_no_unwind_asserts.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-default-checks diff --git a/tests/kani/Match/match_bool.rs b/tests/kani/Match/match_bool.rs index d52c0993e2b6..35370ed96ab9 100644 --- a/tests/kani/Match/match_bool.rs +++ b/tests/kani/Match/match_bool.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/MemReplace/main.rs b/tests/kani/MemReplace/main.rs index f54cce6d4f12..3dd1a31652f3 100644 --- a/tests/kani/MemReplace/main.rs +++ b/tests/kani/MemReplace/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT enum Dummy { Dumb, diff --git a/tests/kani/Never/main.rs b/tests/kani/Never/main.rs index 8e3516f447ce..42154b777ef5 100644 --- a/tests/kani/Never/main.rs +++ b/tests/kani/Never/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(never_type)] use std::convert::Infallible; diff --git a/tests/kani/Never/never_return.rs b/tests/kani/Never/never_return.rs index 0c80b5f34f14..d72ce074b1a6 100644 --- a/tests/kani/Never/never_return.rs +++ b/tests/kani/Never/never_return.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/NondetSlices/test1.rs b/tests/kani/NondetSlices/test1.rs index 6ba87ec3f845..97c1936b66c7 100644 --- a/tests/kani/NondetSlices/test1.rs +++ b/tests/kani/NondetSlices/test1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Test the Kani library's API for creating a non-det slice of a given array diff --git a/tests/kani/NondetSlices/test2.rs b/tests/kani/NondetSlices/test2.rs index b4f873cbc81b..2f0fc72f0a1f 100644 --- a/tests/kani/NondetSlices/test2.rs +++ b/tests/kani/NondetSlices/test2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Test the Kani library's API for creating a non-det slice diff --git a/tests/kani/NondetSlices/test3.rs b/tests/kani/NondetSlices/test3.rs index db12628c1b38..9a334c249284 100644 --- a/tests/kani/NondetSlices/test3.rs +++ b/tests/kani/NondetSlices/test3.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test uses kani::slice::any_slice of i32 diff --git a/tests/kani/NondetSlices/test4.rs b/tests/kani/NondetSlices/test4.rs index ab533d49bf76..610f0f93779e 100644 --- a/tests/kani/NondetSlices/test4.rs +++ b/tests/kani/NondetSlices/test4.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that values returned by `kani::slice::any_slice` satisfy the diff --git a/tests/kani/NondetSlices/test5.rs b/tests/kani/NondetSlices/test5.rs index 0e66657a488a..712cf67cefb8 100644 --- a/tests/kani/NondetSlices/test5.rs +++ b/tests/kani/NondetSlices/test5.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that values returned by `kani::slice::any_raw_slice` do diff --git a/tests/kani/NondetVectors/bytes.rs b/tests/kani/NondetVectors/bytes.rs index b4d81b7ed65e..862579ff0417 100644 --- a/tests/kani/NondetVectors/bytes.rs +++ b/tests/kani/NondetVectors/bytes.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::convert::TryInto; diff --git a/tests/kani/NondetVectors/fixme_main.rs b/tests/kani/NondetVectors/fixme_main.rs index 5663e3b162e8..2b361b7b1bf1 100644 --- a/tests/kani/NondetVectors/fixme_main.rs +++ b/tests/kani/NondetVectors/fixme_main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT const FIFO_SIZE: usize = 2; #[kani::proof] diff --git a/tests/kani/Options/check_tests.rs b/tests/kani/Options/check_tests.rs index 7dd62a64462f..9244b9cb3fbe 100644 --- a/tests/kani/Options/check_tests.rs +++ b/tests/kani/Options/check_tests.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can verify test harnesses using the --tests argument. diff --git a/tests/kani/Overflow/pointer_overflow_fail.rs b/tests/kani/Overflow/pointer_overflow_fail.rs index 6b999a717e5a..0ed5a61e8582 100644 --- a/tests/kani/Overflow/pointer_overflow_fail.rs +++ b/tests/kani/Overflow/pointer_overflow_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // kani-flags: --enable-unstable --extra-pointer-checks diff --git a/tests/kani/Parenths/main.rs b/tests/kani/Parenths/main.rs index 8b68e2eccbef..41ce70e18a7d 100644 --- a/tests/kani/Parenths/main.rs +++ b/tests/kani/Parenths/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/PhantomData/phantom_fixme.rs b/tests/kani/PhantomData/phantom_fixme.rs index 315a9ede0769..afac6cadd606 100644 --- a/tests/kani/PhantomData/phantom_fixme.rs +++ b/tests/kani/PhantomData/phantom_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // compile-flags: --edition 2018 diff --git a/tests/kani/PointerComparison/fixme_ptr_comparison.rs b/tests/kani/PointerComparison/fixme_ptr_comparison.rs index ee39850a5c07..ac2a76c5e10e 100644 --- a/tests/kani/PointerComparison/fixme_ptr_comparison.rs +++ b/tests/kani/PointerComparison/fixme_ptr_comparison.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Test relation comparison of fat pointers to slices. diff --git a/tests/kani/PointerOffset/offset_from.rs b/tests/kani/PointerOffset/offset_from.rs index 7490601c24da..b219ad6930f4 100644 --- a/tests/kani/PointerOffset/offset_from.rs +++ b/tests/kani/PointerOffset/offset_from.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/PointerOffset/offset_sub.rs b/tests/kani/PointerOffset/offset_sub.rs index 70966962acde..415fa21e0eb1 100644 --- a/tests/kani/PointerOffset/offset_sub.rs +++ b/tests/kani/PointerOffset/offset_sub.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/Pointers_Basic/fixme_from_raw.rs b/tests/kani/Pointers_Basic/fixme_from_raw.rs index 83f203861694..bfb25356739f 100644 --- a/tests/kani/Pointers_Basic/fixme_from_raw.rs +++ b/tests/kani/Pointers_Basic/fixme_from_raw.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Pointers_Basic/main.rs b/tests/kani/Pointers_Basic/main.rs index 0d2dcb07355a..2fa18ae455d5 100644 --- a/tests/kani/Pointers_Basic/main.rs +++ b/tests/kani/Pointers_Basic/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Pointers_Functions/main.rs b/tests/kani/Pointers_Functions/main.rs index 6fad3d8f3bd2..5562f921b65c 100644 --- a/tests/kani/Pointers_Functions/main.rs +++ b/tests/kani/Pointers_Functions/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Pointers_InAssert/main.rs b/tests/kani/Pointers_InAssert/main.rs index 3f2f7eb894c8..f1cd004f71ec 100644 --- a/tests/kani/Pointers_InAssert/main.rs +++ b/tests/kani/Pointers_InAssert/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Pointers_OtherTypes/main.rs b/tests/kani/Pointers_OtherTypes/main.rs index ff706ed8f0f8..d24696a4f881 100644 --- a/tests/kani/Pointers_OtherTypes/main.rs +++ b/tests/kani/Pointers_OtherTypes/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-overflow-checks diff --git a/tests/kani/Pointers_OutOfScopeFail/fixme_main.rs b/tests/kani/Pointers_OutOfScopeFail/fixme_main.rs index ee48eab2016c..5bbcb93930bb 100644 --- a/tests/kani/Pointers_OutOfScopeFail/fixme_main.rs +++ b/tests/kani/Pointers_OutOfScopeFail/fixme_main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Print/arg_not_moved.rs b/tests/kani/Print/arg_not_moved.rs index 107910e6eaab..3f85bc5073f8 100644 --- a/tests/kani/Print/arg_not_moved.rs +++ b/tests/kani/Print/arg_not_moved.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that Kani's overridden versions of the print macros do not diff --git a/tests/kani/Print/main.rs b/tests/kani/Print/main.rs index 23e26f9ca7e7..3aa398105e42 100644 --- a/tests/kani/Print/main.rs +++ b/tests/kani/Print/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that the print macros do not result in verification failure diff --git a/tests/kani/Print/side_effects.rs b/tests/kani/Print/side_effects.rs index 8558836fcafd..dfbe2cceacf4 100644 --- a/tests/kani/Print/side_effects.rs +++ b/tests/kani/Print/side_effects.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks that Kani's modeling of print macros takes into account any diff --git a/tests/kani/Projection/dyn_dyn_projection.rs b/tests/kani/Projection/dyn_dyn_projection.rs index d42ccbf96a5b..af93bc830fc1 100644 --- a/tests/kani/Projection/dyn_dyn_projection.rs +++ b/tests/kani/Projection/dyn_dyn_projection.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --default-unwind 3 diff --git a/tests/kani/Projection/dyn_slice_projection.rs b/tests/kani/Projection/dyn_slice_projection.rs index a254b2714f87..09a16d1fd1dc 100644 --- a/tests/kani/Projection/dyn_slice_projection.rs +++ b/tests/kani/Projection/dyn_slice_projection.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --default-unwind 3 diff --git a/tests/kani/Projection/slice_dyn_projection.rs b/tests/kani/Projection/slice_dyn_projection.rs index 8f6a44b3d015..cd9bbc27a331 100644 --- a/tests/kani/Projection/slice_dyn_projection.rs +++ b/tests/kani/Projection/slice_dyn_projection.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --default-unwind 3 diff --git a/tests/kani/Projection/slice_slice_projection.rs b/tests/kani/Projection/slice_slice_projection.rs index 31b13315e1b2..6e1cf42af4e7 100644 --- a/tests/kani/Projection/slice_slice_projection.rs +++ b/tests/kani/Projection/slice_slice_projection.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --default-unwind 5 diff --git a/tests/kani/ProjectionElem/ConstantIndex/main.rs b/tests/kani/ProjectionElem/ConstantIndex/main.rs index f969b7d617fb..7fcd58d5017a 100644 --- a/tests/kani/ProjectionElem/ConstantIndex/main.rs +++ b/tests/kani/ProjectionElem/ConstantIndex/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/enum.ProjectionElem.html // ConstantIndex diff --git a/tests/kani/Realloc/two_reallocs.rs b/tests/kani/Realloc/two_reallocs.rs index 3e3085f62242..449e00cce56d 100644 --- a/tests/kani/Realloc/two_reallocs.rs +++ b/tests/kani/Realloc/two_reallocs.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Perform two reallocs in a row and make sure the data is properly copied diff --git a/tests/kani/Refs/main.rs b/tests/kani/Refs/main.rs index 15cb2b1307b2..a93e3f40f082 100644 --- a/tests/kani/Refs/main.rs +++ b/tests/kani/Refs/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // running with a unwind of 1 passes; running with unwind of two gets stuck in post-processing // from arg_parser.rs in firecracker/src/utils/src diff --git a/tests/kani/Repr/check_repr.rs b/tests/kani/Repr/check_repr.rs index df388ffaed90..29cf591d2623 100644 --- a/tests/kani/Repr/check_repr.rs +++ b/tests/kani/Repr/check_repr.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(decl_macro)] diff --git a/tests/kani/Repr/issue_837.rs b/tests/kani/Repr/issue_837.rs index 81b5d6cd3f3d..7e857437e775 100644 --- a/tests/kani/Repr/issue_837.rs +++ b/tests/kani/Repr/issue_837.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(decl_macro)] diff --git a/tests/kani/Repr/main.rs b/tests/kani/Repr/main.rs index 5d106ba5cec5..4c5ebe28640a 100644 --- a/tests/kani/Repr/main.rs +++ b/tests/kani/Repr/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // https://doc.rust-lang.org/std/ffi/enum.c_void.html #[repr(u8)] diff --git a/tests/kani/SIMD/Compare/main.rs b/tests/kani/SIMD/Compare/main.rs index 396c629ed4da..2c60c086ddad 100644 --- a/tests/kani/SIMD/Compare/main.rs +++ b/tests/kani/SIMD/Compare/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/SIMD/Construction/main.rs b/tests/kani/SIMD/Construction/main.rs index a7615ceedb56..b3e7dc1d1029 100644 --- a/tests/kani/SIMD/Construction/main.rs +++ b/tests/kani/SIMD/Construction/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(repr_simd, platform_intrinsics)] diff --git a/tests/kani/SIMD/Operators/main.rs b/tests/kani/SIMD/Operators/main.rs index f02ba8fdbf64..a121334e1d72 100644 --- a/tests/kani/SIMD/Operators/main.rs +++ b/tests/kani/SIMD/Operators/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(repr_simd, platform_intrinsics)] diff --git a/tests/kani/SIMD/Operators/overflow.rs b/tests/kani/SIMD/Operators/overflow.rs index 381eb784a388..6747ec708753 100644 --- a/tests/kani/SIMD/Operators/overflow.rs +++ b/tests/kani/SIMD/Operators/overflow.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // kani-verify-fail diff --git a/tests/kani/SIMD/Shuffle/main.rs b/tests/kani/SIMD/Shuffle/main.rs index 23ff25fe78a6..7356ea0dddcb 100644 --- a/tests/kani/SIMD/Shuffle/main.rs +++ b/tests/kani/SIMD/Shuffle/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(repr_simd, platform_intrinsics)] diff --git a/tests/kani/Scopes_NonReturning/main.rs b/tests/kani/Scopes_NonReturning/main.rs index 9195e1ee28b9..adb98363402a 100644 --- a/tests/kani/Scopes_NonReturning/main.rs +++ b/tests/kani/Scopes_NonReturning/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Scopes_Returning/main.rs b/tests/kani/Scopes_Returning/main.rs index 017fb052aa12..3566479fdaf1 100644 --- a/tests/kani/Scopes_Returning/main.rs +++ b/tests/kani/Scopes_Returning/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Serde/main.rs b/tests/kani/Serde/main.rs index f6ab6bccfd8e..510af8dd000a 100644 --- a/tests/kani/Serde/main.rs +++ b/tests/kani/Serde/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-check-fail diff --git a/tests/kani/SizeAndAlignOfDst/main_assert_fixme.rs b/tests/kani/SizeAndAlignOfDst/main_assert_fixme.rs index 3f3e471b76af..d662df6a8aaf 100644 --- a/tests/kani/SizeAndAlignOfDst/main_assert_fixme.rs +++ b/tests/kani/SizeAndAlignOfDst/main_assert_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This is a regression test for size_and_align_of_dst computing the // size and alignment of a dynamically-sized type like diff --git a/tests/kani/SizeAndAlignOfDst/main_fixme.rs b/tests/kani/SizeAndAlignOfDst/main_fixme.rs index 0e9d585294ae..d60a7bb77e68 100644 --- a/tests/kani/SizeAndAlignOfDst/main_fixme.rs +++ b/tests/kani/SizeAndAlignOfDst/main_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This is a regression test for size_and_align_of_dst computing the // size and alignment of a dynamically-sized type like diff --git a/tests/kani/Slice/codegen.rs b/tests/kani/Slice/codegen.rs index 3d69fd30da1f..08fe11f17f86 100644 --- a/tests/kani/Slice/codegen.rs +++ b/tests/kani/Slice/codegen.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Slice/drop_in_place.rs b/tests/kani/Slice/drop_in_place.rs index 811d6ca0edb9..e49031eff22d 100644 --- a/tests/kani/Slice/drop_in_place.rs +++ b/tests/kani/Slice/drop_in_place.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-check-fail diff --git a/tests/kani/Slice/empty_slice.rs b/tests/kani/Slice/empty_slice.rs index f2915076166b..0f88050e8734 100644 --- a/tests/kani/Slice/empty_slice.rs +++ b/tests/kani/Slice/empty_slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Empty slices use dangling pointers. Ensure that Kani is ok with that. diff --git a/tests/kani/Slice/empty_slice_fail.rs b/tests/kani/Slice/empty_slice_fail.rs index 135c9e35fd66..9ae6bfc6b0b0 100644 --- a/tests/kani/Slice/empty_slice_fail.rs +++ b/tests/kani/Slice/empty_slice_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // kani-verify-fail diff --git a/tests/kani/Slice/extra_checks_fail.rs b/tests/kani/Slice/extra_checks_fail.rs index 3d11202d2642..83554823fe9b 100644 --- a/tests/kani/Slice/extra_checks_fail.rs +++ b/tests/kani/Slice/extra_checks_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // kani-flags: --extra-pointer-checks diff --git a/tests/kani/Slice/fixme_issue_707.rs b/tests/kani/Slice/fixme_issue_707.rs index fa4e50fcce1d..91140c118745 100644 --- a/tests/kani/Slice/fixme_issue_707.rs +++ b/tests/kani/Slice/fixme_issue_707.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/Slice/main.rs b/tests/kani/Slice/main.rs index 2f996f00b978..de0b08efa787 100644 --- a/tests/kani/Slice/main.rs +++ b/tests/kani/Slice/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/Slice/pathbuf.rs b/tests/kani/Slice/pathbuf.rs index dda3fa6425fc..e11c0bb1b148 100644 --- a/tests/kani/Slice/pathbuf.rs +++ b/tests/kani/Slice/pathbuf.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Slice/size_of.rs b/tests/kani/Slice/size_of.rs index e7ae4b310d3b..1628727555b7 100644 --- a/tests/kani/Slice/size_of.rs +++ b/tests/kani/Slice/size_of.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(core_intrinsics)] diff --git a/tests/kani/Slice/slice.rs b/tests/kani/Slice/slice.rs index f03362235450..a33c0bc7919e 100644 --- a/tests/kani/Slice/slice.rs +++ b/tests/kani/Slice/slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Slice/slice_from_raw.rs b/tests/kani/Slice/slice_from_raw.rs index dfd5f95fca5a..cfac3336748c 100644 --- a/tests/kani/Slice/slice_from_raw.rs +++ b/tests/kani/Slice/slice_from_raw.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/Static/main.rs b/tests/kani/Static/main.rs index 13f665bb725d..07c0a4273b7b 100644 --- a/tests/kani/Static/main.rs +++ b/tests/kani/Static/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // static global variables static X: bool = false; diff --git a/tests/kani/Static/method_static_var.rs b/tests/kani/Static/method_static_var.rs index 34ad074742b3..02c8aa9bf5b9 100644 --- a/tests/kani/Static/method_static_var.rs +++ b/tests/kani/Static/method_static_var.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This test checks static variables declared inside methods are still unique. diff --git a/tests/kani/Static/table_of_pairs.rs b/tests/kani/Static/table_of_pairs.rs index 3940e55e7115..beef2a9ec635 100644 --- a/tests/kani/Static/table_of_pairs.rs +++ b/tests/kani/Static/table_of_pairs.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT static TABLE: [(u64, u64); 2] = [(1, 2), (3, 4)]; diff --git a/tests/kani/Static/table_of_pairs2.rs b/tests/kani/Static/table_of_pairs2.rs index e26d949064bc..efa466a2305c 100644 --- a/tests/kani/Static/table_of_pairs2.rs +++ b/tests/kani/Static/table_of_pairs2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT const SIZE1: usize = 1; const SIZE2: usize = 2; diff --git a/tests/kani/Strings/boxed_str.rs b/tests/kani/Strings/boxed_str.rs index 17053f9de436..290404eae5d9 100644 --- a/tests/kani/Strings/boxed_str.rs +++ b/tests/kani/Strings/boxed_str.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/Strings/copy_empty_string_by_intrinsic.rs b/tests/kani/Strings/copy_empty_string_by_intrinsic.rs index 84dd9f150686..2585b25f7dd8 100644 --- a/tests/kani/Strings/copy_empty_string_by_intrinsic.rs +++ b/tests/kani/Strings/copy_empty_string_by_intrinsic.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Make sure we can handle explicit copy_nonoverlapping on empty string diff --git a/tests/kani/Strings/copy_empty_string_by_intrinsic_fixme.rs b/tests/kani/Strings/copy_empty_string_by_intrinsic_fixme.rs index 957e8b25b939..ce95b5a8f043 100644 --- a/tests/kani/Strings/copy_empty_string_by_intrinsic_fixme.rs +++ b/tests/kani/Strings/copy_empty_string_by_intrinsic_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Make sure we can handle explicit copy_nonoverlapping on empty string diff --git a/tests/kani/Strings/copy_empty_string_by_ref.rs b/tests/kani/Strings/copy_empty_string_by_ref.rs index d724a7263d07..5fb83b9bf00c 100644 --- a/tests/kani/Strings/copy_empty_string_by_ref.rs +++ b/tests/kani/Strings/copy_empty_string_by_ref.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Make sure we can handle implicit memcpy on the empty string diff --git a/tests/kani/Strings/main.rs b/tests/kani/Strings/main.rs index f2d04e757325..51299bc85c78 100644 --- a/tests/kani/Strings/main.rs +++ b/tests/kani/Strings/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn test1() { diff --git a/tests/kani/Strings/os_str.rs b/tests/kani/Strings/os_str.rs index bc156bb79f03..2029f6d73023 100644 --- a/tests/kani/Strings/os_str.rs +++ b/tests/kani/Strings/os_str.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // From rust/library/std/src/sys_common/os_str_bytes.rs // rust/library/std/src/ffi/os_str.rs diff --git a/tests/kani/Strings/os_str_reduced.rs b/tests/kani/Strings/os_str_reduced.rs index 90301a2261c7..a830b0775d64 100644 --- a/tests/kani/Strings/os_str_reduced.rs +++ b/tests/kani/Strings/os_str_reduced.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // From rust/library/std/src/sys_common/os_str_bytes.rs // rust/library/std/src/ffi/os_str.rs diff --git a/tests/kani/SubSlice/subslice1.rs b/tests/kani/SubSlice/subslice1.rs index 0237a4a369d9..a43aa4022b20 100644 --- a/tests/kani/SubSlice/subslice1.rs +++ b/tests/kani/SubSlice/subslice1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/SubSlice/subslice2.rs b/tests/kani/SubSlice/subslice2.rs index a8415871f067..107f12dabe43 100644 --- a/tests/kani/SubSlice/subslice2.rs +++ b/tests/kani/SubSlice/subslice2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test checks the subslice pattern diff --git a/tests/kani/SubSlice/subslice3.rs b/tests/kani/SubSlice/subslice3.rs index f72ebe9ebb2f..0ca9190a409a 100644 --- a/tests/kani/SubSlice/subslice3.rs +++ b/tests/kani/SubSlice/subslice3.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/SwitchInt/main.rs b/tests/kani/SwitchInt/main.rs index 8fe875e137b1..96192eb8259e 100644 --- a/tests/kani/SwitchInt/main.rs +++ b/tests/kani/SwitchInt/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn doswitch_int() -> i32 { diff --git a/tests/kani/Transparent/transparent1.rs b/tests/kani/Transparent/transparent1.rs index 801d10e719c2..3ced3f9fe71b 100644 --- a/tests/kani/Transparent/transparent1.rs +++ b/tests/kani/Transparent/transparent1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/Transparent/transparent2.rs b/tests/kani/Transparent/transparent2.rs index 0fa8061a3aca..f3c469d8d98b 100644 --- a/tests/kani/Transparent/transparent2.rs +++ b/tests/kani/Transparent/transparent2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Clone, Copy)] diff --git a/tests/kani/Transparent/transparent3.rs b/tests/kani/Transparent/transparent3.rs index f113dc15cb41..8c7b3589527a 100644 --- a/tests/kani/Transparent/transparent3.rs +++ b/tests/kani/Transparent/transparent3.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //#repr(transparent)] diff --git a/tests/kani/Transparent/transparent4.rs b/tests/kani/Transparent/transparent4.rs index 76f92e8266ad..c5be7b911ec4 100644 --- a/tests/kani/Transparent/transparent4.rs +++ b/tests/kani/Transparent/transparent4.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[repr(transparent)] diff --git a/tests/kani/Unit/main.rs b/tests/kani/Unit/main.rs index ea05ff9f339c..e06baf4b3b1a 100644 --- a/tests/kani/Unit/main.rs +++ b/tests/kani/Unit/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT /// Test using the unit type /// - As a void function return diff --git a/tests/kani/UnsafeBlocks_Useless/main.rs b/tests/kani/UnsafeBlocks_Useless/main.rs index e77ea19d59ff..b25e1711af45 100644 --- a/tests/kani/UnsafeBlocks_Useless/main.rs +++ b/tests/kani/UnsafeBlocks_Useless/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/kani/Unwind-Attribute/fixme_lib.rs b/tests/kani/Unwind-Attribute/fixme_lib.rs index c6f9a3badb61..ef99d1f2e795 100644 --- a/tests/kani/Unwind-Attribute/fixme_lib.rs +++ b/tests/kani/Unwind-Attribute/fixme_lib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-unwinding-checks diff --git a/tests/kani/Vectors/fixme_main.rs b/tests/kani/Vectors/fixme_main.rs index c2b0d6acfa67..7813384608bf 100644 --- a/tests/kani/Vectors/fixme_main.rs +++ b/tests/kani/Vectors/fixme_main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd)] pub struct GuestAddress(pub u64); diff --git a/tests/kani/Vectors/issue-763.rs b/tests/kani/Vectors/issue-763.rs index cb3a67f7e093..9d424ee00d66 100644 --- a/tests/kani/Vectors/issue-763.rs +++ b/tests/kani/Vectors/issue-763.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Failing example from https://github.com/model-checking/kani/issues/763 diff --git a/tests/kani/Vectors/push.rs b/tests/kani/Vectors/push.rs index 808dcda9b212..e616fa94f457 100644 --- a/tests/kani/Vectors/push.rs +++ b/tests/kani/Vectors/push.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Push 5 elements to force the vector to resize, then check that the values were correctly copied. diff --git a/tests/kani/Vectors/push_u8.rs b/tests/kani/Vectors/push_u8.rs index a5c4e72df849..3eb7b40ec5d1 100644 --- a/tests/kani/Vectors/push_u8.rs +++ b/tests/kani/Vectors/push_u8.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that Kani doesn't get stuck on a program involving a Vector of u8 diff --git a/tests/kani/Vectors/vector_extend.rs b/tests/kani/Vectors/vector_extend.rs index d95b20cb6c3e..ad49cf1c009a 100644 --- a/tests/kani/Vectors/vector_extend.rs +++ b/tests/kani/Vectors/vector_extend.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can handle set len on drop. If drop_in_place is not diff --git a/tests/kani/Vectors/vector_extend_fail.rs b/tests/kani/Vectors/vector_extend_fail.rs index 822fb55259d7..90a72ae8ce83 100644 --- a/tests/kani/Vectors/vector_extend_fail.rs +++ b/tests/kani/Vectors/vector_extend_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check failure for set len on drop case. diff --git a/tests/kani/Vectors/vector_extend_in_new.rs b/tests/kani/Vectors/vector_extend_in_new.rs index a2d10f6c24ea..f3739e6ba8ca 100644 --- a/tests/kani/Vectors/vector_extend_in_new.rs +++ b/tests/kani/Vectors/vector_extend_in_new.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // Check that we can handle set len on drop for an implicit extend with diff --git a/tests/kani/Vectors/vector_extend_loop.rs b/tests/kani/Vectors/vector_extend_loop.rs index ea5fc8ce8d71..cdd9e1a966e5 100644 --- a/tests/kani/Vectors/vector_extend_loop.rs +++ b/tests/kani/Vectors/vector_extend_loop.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --default-unwind 3 diff --git a/tests/kani/VolatileIntrinsics/core_intrinsics.rs b/tests/kani/VolatileIntrinsics/core_intrinsics.rs index 900049f9b208..3aa0e3c07b85 100644 --- a/tests/kani/VolatileIntrinsics/core_intrinsics.rs +++ b/tests/kani/VolatileIntrinsics/core_intrinsics.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/kani/VolatileIntrinsics/main_fixme.rs b/tests/kani/VolatileIntrinsics/main_fixme.rs index 300ef53004b2..6ecdf4cd30d6 100644 --- a/tests/kani/VolatileIntrinsics/main_fixme.rs +++ b/tests/kani/VolatileIntrinsics/main_fixme.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(core_intrinsics)] diff --git a/tests/kani/Whitespace/main.rs b/tests/kani/Whitespace/main.rs index 211d64a217bf..f10dd37e3009 100644 --- a/tests/kani/Whitespace/main.rs +++ b/tests/kani/Whitespace/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/kani/i32-Unary-/main.rs b/tests/kani/i32-Unary-/main.rs index dc534d3e725b..58d618d113c8 100644 --- a/tests/kani/i32-Unary-/main.rs +++ b/tests/kani/i32-Unary-/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/prusti/100_doors.rs b/tests/prusti/100_doors.rs index 070b461c1a52..dc1744285ef4 100644 --- a/tests/prusti/100_doors.rs +++ b/tests/prusti/100_doors.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/prusti/Ackermann_function.rs b/tests/prusti/Ackermann_function.rs index b47a1eeb65d1..c8a27ede4a2f 100644 --- a/tests/prusti/Ackermann_function.rs +++ b/tests/prusti/Ackermann_function.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn ack(m: u64, n: u64) -> u64 { match (m, n) { diff --git a/tests/prusti/Binary_search.rs b/tests/prusti/Binary_search.rs index edc032068e33..78937d152052 100644 --- a/tests/prusti/Binary_search.rs +++ b/tests/prusti/Binary_search.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-verify-fail diff --git a/tests/prusti/Fibonacci_sequence.rs b/tests/prusti/Fibonacci_sequence.rs index be7fb8712547..9ccdf1421351 100644 --- a/tests/prusti/Fibonacci_sequence.rs +++ b/tests/prusti/Fibonacci_sequence.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT struct Fib { prev: usize, diff --git a/tests/prusti/Heapsort.rs b/tests/prusti/Heapsort.rs index e082a3875ec9..03967daaa01c 100644 --- a/tests/prusti/Heapsort.rs +++ b/tests/prusti/Heapsort.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] fn main() { diff --git a/tests/prusti/Selection_sort.rs b/tests/prusti/Selection_sort.rs index f281a3d24572..78bb2efefb62 100644 --- a/tests/prusti/Selection_sort.rs +++ b/tests/prusti/Selection_sort.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn selection_sort(array: &mut [i32]) { let mut min; diff --git a/tests/prusti/Tower_of_Hanoi.rs b/tests/prusti/Tower_of_Hanoi.rs index 6695d183de28..d04ef194db00 100644 --- a/tests/prusti/Tower_of_Hanoi.rs +++ b/tests/prusti/Tower_of_Hanoi.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn move_(n: i32, from: i32, to: i32, via: i32) { if n > 0 { diff --git a/tests/prusti/borrow_first.rs b/tests/prusti/borrow_first.rs index eef460c05b55..3be03f81983c 100644 --- a/tests/prusti/borrow_first.rs +++ b/tests/prusti/borrow_first.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn some_condition(r: &i32) -> bool { *r > 0 diff --git a/tests/smack/basic/add.rs b/tests/smack/basic/add.rs index ac8477679faf..615142108924 100644 --- a/tests/smack/basic/add.rs +++ b/tests/smack/basic/add.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/basic/arith.rs b/tests/smack/basic/arith.rs index b497952f0f37..7c496aaa0ad1 100644 --- a/tests/smack/basic/arith.rs +++ b/tests/smack/basic/arith.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/smack/basic/arith_assume.rs b/tests/smack/basic/arith_assume.rs index d4420420de5a..042593e74bf5 100644 --- a/tests/smack/basic/arith_assume.rs +++ b/tests/smack/basic/arith_assume.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/smack/basic/arith_assume2.rs b/tests/smack/basic/arith_assume2.rs index d4420420de5a..042593e74bf5 100644 --- a/tests/smack/basic/arith_assume2.rs +++ b/tests/smack/basic/arith_assume2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/smack/basic/arith_assume3.rs b/tests/smack/basic/arith_assume3.rs index 0fedc424bdcf..ae3cfd4f9caf 100644 --- a/tests/smack/basic/arith_assume3.rs +++ b/tests/smack/basic/arith_assume3.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/basic/div.rs b/tests/smack/basic/div.rs index 0d99e56846bd..ae02844e79af 100644 --- a/tests/smack/basic/div.rs +++ b/tests/smack/basic/div.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/basic/mod.rs b/tests/smack/basic/mod.rs index b52cd8c8fa6e..6aff4d23341d 100644 --- a/tests/smack/basic/mod.rs +++ b/tests/smack/basic/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/basic/mul.rs b/tests/smack/basic/mul.rs index 4c70dc86bd57..ba3812797566 100644 --- a/tests/smack/basic/mul.rs +++ b/tests/smack/basic/mul.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/basic/sub.rs b/tests/smack/basic/sub.rs index 839420f2fd08..ec30b339cb7c 100644 --- a/tests/smack/basic/sub.rs +++ b/tests/smack/basic/sub.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/functions/closure.rs b/tests/smack/functions/closure.rs index a4cf52513f87..8af86ce8619a 100644 --- a/tests/smack/functions/closure.rs +++ b/tests/smack/functions/closure.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn call_with_one(mut some_closure: F) -> () diff --git a/tests/smack/functions/closure_fail.rs b/tests/smack/functions/closure_fail.rs index 35e2f46dc2ce..68028c8348e8 100644 --- a/tests/smack/functions/closure_fail.rs +++ b/tests/smack/functions/closure_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --no-memory-splitting // @expect verified diff --git a/tests/smack/functions/double.rs b/tests/smack/functions/double.rs index 7326fc606fb0..4d19f9d629cd 100644 --- a/tests/smack/functions/double.rs +++ b/tests/smack/functions/double.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn double(a: u32) -> u32 { diff --git a/tests/smack/functions/double_fail.rs b/tests/smack/functions/double_fail.rs index bbaa225a7037..ac7b4d23ff16 100644 --- a/tests/smack/functions/double_fail.rs +++ b/tests/smack/functions/double_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/generics/generic_function.rs b/tests/smack/generics/generic_function.rs index 4fe7ba38d2d1..12dbc69244dd 100644 --- a/tests/smack/generics/generic_function.rs +++ b/tests/smack/generics/generic_function.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT struct Point { diff --git a/tests/smack/generics/generic_function1.rs b/tests/smack/generics/generic_function1.rs index a119d4540e8e..40957be0e923 100644 --- a/tests/smack/generics/generic_function1.rs +++ b/tests/smack/generics/generic_function1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/generics/generic_function2.rs b/tests/smack/generics/generic_function2.rs index 19a133a33992..752c69eedaf8 100644 --- a/tests/smack/generics/generic_function2.rs +++ b/tests/smack/generics/generic_function2.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/generics/generic_function3.rs b/tests/smack/generics/generic_function3.rs index 9fbb6e0b5dd6..dea8972bb833 100644 --- a/tests/smack/generics/generic_function3.rs +++ b/tests/smack/generics/generic_function3.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/generics/generic_function4.rs b/tests/smack/generics/generic_function4.rs index 16b6b4318937..2ad59ce9dd24 100644 --- a/tests/smack/generics/generic_function4.rs +++ b/tests/smack/generics/generic_function4.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect verified // kani-verify-fail diff --git a/tests/smack/generics/generic_function5.rs b/tests/smack/generics/generic_function5.rs index 42080a50b7d7..0ac33b952efa 100644 --- a/tests/smack/generics/generic_function5.rs +++ b/tests/smack/generics/generic_function5.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect verified // kani-verify-fail diff --git a/tests/smack/loops/gauss_sum_nondet.rs b/tests/smack/loops/gauss_sum_nondet.rs index 17b5fd3dd8c1..7b156f8164f5 100644 --- a/tests/smack/loops/gauss_sum_nondet.rs +++ b/tests/smack/loops/gauss_sum_nondet.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/smack/loops/gauss_sum_nondet_fail.rs b/tests/smack/loops/gauss_sum_nondet_fail.rs index af3570e8b7da..4eceb8470242 100644 --- a/tests/smack/loops/gauss_sum_nondet_fail.rs +++ b/tests/smack/loops/gauss_sum_nondet_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --no-memory-splitting --unroll=10 // @expect error diff --git a/tests/smack/loops/iterator.rs b/tests/smack/loops/iterator.rs index 07d1486c1791..41a736370821 100644 --- a/tests/smack/loops/iterator.rs +++ b/tests/smack/loops/iterator.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn fac(n: u64) -> u64 { diff --git a/tests/smack/loops/iterator_fail.rs b/tests/smack/loops/iterator_fail.rs index 05557467e710..268e7be10782 100644 --- a/tests/smack/loops/iterator_fail.rs +++ b/tests/smack/loops/iterator_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --no-memory-splitting --unroll=10 // @expect error diff --git a/tests/smack/overflow/add_overflow.rs b/tests/smack/overflow/add_overflow.rs index bf16496263e0..fbb830180c27 100644 --- a/tests/smack/overflow/add_overflow.rs +++ b/tests/smack/overflow/add_overflow.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --integer-overflow // @expect overflow diff --git a/tests/smack/overflow/mul_overflow.rs b/tests/smack/overflow/mul_overflow.rs index b0d35d1a0032..74bd36a1a923 100644 --- a/tests/smack/overflow/mul_overflow.rs +++ b/tests/smack/overflow/mul_overflow.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --integer-overflow // @expect overflow diff --git a/tests/smack/overflow/sub_overflow.rs b/tests/smack/overflow/sub_overflow.rs index 180dfbe1780b..5066be45b482 100644 --- a/tests/smack/overflow/sub_overflow.rs +++ b/tests/smack/overflow/sub_overflow.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --integer-overflow // @expect overflow diff --git a/tests/smack/recursion/fac.rs b/tests/smack/recursion/fac.rs index 074c4bf7d006..4cdcc4c4dde9 100644 --- a/tests/smack/recursion/fac.rs +++ b/tests/smack/recursion/fac.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn fac(n: u64, acc: u64) -> u64 { diff --git a/tests/smack/recursion/fac_fail.rs b/tests/smack/recursion/fac_fail.rs index ae9d1a159da5..371e0a95915b 100644 --- a/tests/smack/recursion/fac_fail.rs +++ b/tests/smack/recursion/fac_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --unroll=10 // @expect error diff --git a/tests/smack/recursion/fib.rs b/tests/smack/recursion/fib.rs index ae8da77fcbfc..c778c1470be9 100644 --- a/tests/smack/recursion/fib.rs +++ b/tests/smack/recursion/fib.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn fib(x: u64) -> u64 { diff --git a/tests/smack/recursion/fib_fail.rs b/tests/smack/recursion/fib_fail.rs index 2e28fd0fc9d3..f8fd03b9a388 100644 --- a/tests/smack/recursion/fib_fail.rs +++ b/tests/smack/recursion/fib_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --unroll=10 // @expect error diff --git a/tests/smack/structures/option.rs b/tests/smack/structures/option.rs index fd8c701c3c4e..a1ac5a28014e 100644 --- a/tests/smack/structures/option.rs +++ b/tests/smack/structures/option.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT fn safe_div(x: u32, y: u32) -> Option { diff --git a/tests/smack/structures/option_fail.rs b/tests/smack/structures/option_fail.rs index d5b1d889d096..db61bcc400da 100644 --- a/tests/smack/structures/option_fail.rs +++ b/tests/smack/structures/option_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect reachable // kani-verify-fail diff --git a/tests/smack/structures/point.rs b/tests/smack/structures/point.rs index 963dc1278c9c..74ec0f17d7f0 100644 --- a/tests/smack/structures/point.rs +++ b/tests/smack/structures/point.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::ops::{Add, AddAssign}; diff --git a/tests/smack/structures/point_fail.rs b/tests/smack/structures/point_fail.rs index 5e1157ab3c38..a9cc26820c58 100644 --- a/tests/smack/structures/point_fail.rs +++ b/tests/smack/structures/point_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @expect error // kani-verify-fail diff --git a/tests/smack/vector/vec1.rs b/tests/smack/vector/vec1.rs index b90ba8d1f265..7a3517a4a19e 100644 --- a/tests/smack/vector/vec1.rs +++ b/tests/smack/vector/vec1.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/smack/vector/vec11.rs b/tests/smack/vector/vec11.rs index 82c38e3f7796..9a058352293c 100644 --- a/tests/smack/vector/vec11.rs +++ b/tests/smack/vector/vec11.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --no-memory-splitting // @expect error diff --git a/tests/smack/vector/vec12.rs b/tests/smack/vector/vec12.rs index b45226ddc0a5..d00e517e25a3 100644 --- a/tests/smack/vector/vec12.rs +++ b/tests/smack/vector/vec12.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --no-memory-splitting // @expect error diff --git a/tests/smack/vector/vec13.rs b/tests/smack/vector/vec13.rs index 10204e3ed222..969a4637b819 100644 --- a/tests/smack/vector/vec13.rs +++ b/tests/smack/vector/vec13.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --no-memory-splitting // @expect error diff --git a/tests/smack/vector/vec_resize.rs b/tests/smack/vector/vec_resize.rs index 6fc942fdb832..272e272b64d9 100644 --- a/tests/smack/vector/vec_resize.rs +++ b/tests/smack/vector/vec_resize.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/smack/vector/vec_resize_fail.rs b/tests/smack/vector/vec_resize_fail.rs index db4e37e92532..430c47fc6bea 100644 --- a/tests/smack/vector/vec_resize_fail.rs +++ b/tests/smack/vector/vec_resize_fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // @flag --no-memory-splitting --unroll=3 // @expect error diff --git a/tests/stub-tests/HashSet/concrete.rs b/tests/stub-tests/HashSet/concrete.rs index de7a4dd71e07..7a830963e430 100644 --- a/tests/stub-tests/HashSet/concrete.rs +++ b/tests/stub-tests/HashSet/concrete.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type c-ffi diff --git a/tests/stub-tests/HashSet/ignore-nondet.rs b/tests/stub-tests/HashSet/ignore-nondet.rs index 395725565149..a1fc5bdd5a16 100644 --- a/tests/stub-tests/HashSet/ignore-nondet.rs +++ b/tests/stub-tests/HashSet/ignore-nondet.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type c-ffi diff --git a/tests/stub-tests/Vec/append.rs b/tests/stub-tests/Vec/append.rs index 1341ec64af3f..d7466843dc3e 100644 --- a/tests/stub-tests/Vec/append.rs +++ b/tests/stub-tests/Vec/append.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/as_mut_ptr.rs b/tests/stub-tests/Vec/as_mut_ptr.rs index c5d7c12f6ba9..1caf24c6bcd9 100644 --- a/tests/stub-tests/Vec/as_mut_ptr.rs +++ b/tests/stub-tests/Vec/as_mut_ptr.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/as_mut_slice.rs b/tests/stub-tests/Vec/as_mut_slice.rs index f74905fffcf9..053c36a41cd1 100644 --- a/tests/stub-tests/Vec/as_mut_slice.rs +++ b/tests/stub-tests/Vec/as_mut_slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/as_ptr.rs b/tests/stub-tests/Vec/as_ptr.rs index cb2abb76bf3b..f281f6a0384c 100644 --- a/tests/stub-tests/Vec/as_ptr.rs +++ b/tests/stub-tests/Vec/as_ptr.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/as_slice.rs b/tests/stub-tests/Vec/as_slice.rs index def56895df37..6529ccd049c7 100644 --- a/tests/stub-tests/Vec/as_slice.rs +++ b/tests/stub-tests/Vec/as_slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/capacity.rs b/tests/stub-tests/Vec/capacity.rs index f1b762c60a17..d93b24b682a8 100644 --- a/tests/stub-tests/Vec/capacity.rs +++ b/tests/stub-tests/Vec/capacity.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/clear.rs b/tests/stub-tests/Vec/clear.rs index 2c6362553e49..f90eabd83f9d 100644 --- a/tests/stub-tests/Vec/clear.rs +++ b/tests/stub-tests/Vec/clear.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/clone.rs b/tests/stub-tests/Vec/clone.rs index 50371bf9c745..768cde95260a 100644 --- a/tests/stub-tests/Vec/clone.rs +++ b/tests/stub-tests/Vec/clone.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/drop.rs b/tests/stub-tests/Vec/drop.rs index e1123deb6f89..8fc3d5a94498 100644 --- a/tests/stub-tests/Vec/drop.rs +++ b/tests/stub-tests/Vec/drop.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani diff --git a/tests/stub-tests/Vec/extend.rs b/tests/stub-tests/Vec/extend.rs index b6d5c3db918b..cd6d574da552 100644 --- a/tests/stub-tests/Vec/extend.rs +++ b/tests/stub-tests/Vec/extend.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/extend_from_slice.rs b/tests/stub-tests/Vec/extend_from_slice.rs index bf8e3866d16d..c2945429e600 100644 --- a/tests/stub-tests/Vec/extend_from_slice.rs +++ b/tests/stub-tests/Vec/extend_from_slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/from_raw_parts.rs b/tests/stub-tests/Vec/from_raw_parts.rs index 090056a187e1..6f872ec170ed 100644 --- a/tests/stub-tests/Vec/from_raw_parts.rs +++ b/tests/stub-tests/Vec/from_raw_parts.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani use std::ptr; diff --git a/tests/stub-tests/Vec/from_slice.rs b/tests/stub-tests/Vec/from_slice.rs index e24adf358287..060df21feb35 100644 --- a/tests/stub-tests/Vec/from_slice.rs +++ b/tests/stub-tests/Vec/from_slice.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/from_str.rs b/tests/stub-tests/Vec/from_str.rs index 5205a6ffc8cd..e0bc9797c668 100644 --- a/tests/stub-tests/Vec/from_str.rs +++ b/tests/stub-tests/Vec/from_str.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/insert.rs b/tests/stub-tests/Vec/insert.rs index 4a59d0c7ad9d..ccd08fe0157f 100644 --- a/tests/stub-tests/Vec/insert.rs +++ b/tests/stub-tests/Vec/insert.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/into_iter.rs b/tests/stub-tests/Vec/into_iter.rs index 006dbf44bcc6..fcdf71f61896 100644 --- a/tests/stub-tests/Vec/into_iter.rs +++ b/tests/stub-tests/Vec/into_iter.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/is_empty.rs b/tests/stub-tests/Vec/is_empty.rs index 45f22f984e82..168f6f4e29bc 100644 --- a/tests/stub-tests/Vec/is_empty.rs +++ b/tests/stub-tests/Vec/is_empty.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/len.rs b/tests/stub-tests/Vec/len.rs index 56e7bcf433e3..cfb0225eedf7 100644 --- a/tests/stub-tests/Vec/len.rs +++ b/tests/stub-tests/Vec/len.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type no-back fn main() { diff --git a/tests/stub-tests/Vec/new.rs b/tests/stub-tests/Vec/new.rs index 9b24ab536bb2..ff0cdc4ebbc2 100644 --- a/tests/stub-tests/Vec/new.rs +++ b/tests/stub-tests/Vec/new.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/pop.rs b/tests/stub-tests/Vec/pop.rs index 24c1a083a682..05318b1b7eb6 100644 --- a/tests/stub-tests/Vec/pop.rs +++ b/tests/stub-tests/Vec/pop.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/push.rs b/tests/stub-tests/Vec/push.rs index 20f9c7c779df..659510a89f94 100644 --- a/tests/stub-tests/Vec/push.rs +++ b/tests/stub-tests/Vec/push.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/remove.rs b/tests/stub-tests/Vec/remove.rs index 0ede0a7527e2..d8304df82c52 100644 --- a/tests/stub-tests/Vec/remove.rs +++ b/tests/stub-tests/Vec/remove.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/reserve.rs b/tests/stub-tests/Vec/reserve.rs index 5b05478fee45..ee7147e01358 100644 --- a/tests/stub-tests/Vec/reserve.rs +++ b/tests/stub-tests/Vec/reserve.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/reserve_exact.rs b/tests/stub-tests/Vec/reserve_exact.rs index 697cdbc44db6..ee3f9a7f3225 100644 --- a/tests/stub-tests/Vec/reserve_exact.rs +++ b/tests/stub-tests/Vec/reserve_exact.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/resize.rs b/tests/stub-tests/Vec/resize.rs index 52166c314946..1c593a36f506 100644 --- a/tests/stub-tests/Vec/resize.rs +++ b/tests/stub-tests/Vec/resize.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/resize_with.rs b/tests/stub-tests/Vec/resize_with.rs index a6f3e5d97154..fb8c9cc80324 100644 --- a/tests/stub-tests/Vec/resize_with.rs +++ b/tests/stub-tests/Vec/resize_with.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/shrink_to.rs b/tests/stub-tests/Vec/shrink_to.rs index b0fb4d30eceb..481861f97b7b 100644 --- a/tests/stub-tests/Vec/shrink_to.rs +++ b/tests/stub-tests/Vec/shrink_to.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/shrink_to_fit.rs b/tests/stub-tests/Vec/shrink_to_fit.rs index 1ba3c74de1a6..ec1e22070fcc 100644 --- a/tests/stub-tests/Vec/shrink_to_fit.rs +++ b/tests/stub-tests/Vec/shrink_to_fit.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/simple.rs b/tests/stub-tests/Vec/simple.rs index bc69396966e2..4e77249a7996 100644 --- a/tests/stub-tests/Vec/simple.rs +++ b/tests/stub-tests/Vec/simple.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/split_off.rs b/tests/stub-tests/Vec/split_off.rs index f91eaad298c7..6839e955a7b8 100644 --- a/tests/stub-tests/Vec/split_off.rs +++ b/tests/stub-tests/Vec/split_off.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/swap_remove.rs b/tests/stub-tests/Vec/swap_remove.rs index cb6eac680063..ed878295005f 100644 --- a/tests/stub-tests/Vec/swap_remove.rs +++ b/tests/stub-tests/Vec/swap_remove.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/truncate.rs b/tests/stub-tests/Vec/truncate.rs index 6e5dd0efb534..a3be72070b6a 100644 --- a/tests/stub-tests/Vec/truncate.rs +++ b/tests/stub-tests/Vec/truncate.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/truncate_drop.rs b/tests/stub-tests/Vec/truncate_drop.rs index bcc34813e258..5ec9b68da559 100644 --- a/tests/stub-tests/Vec/truncate_drop.rs +++ b/tests/stub-tests/Vec/truncate_drop.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani static mut GLOB: i32 = 1; diff --git a/tests/stub-tests/Vec/truncate_reduce.rs b/tests/stub-tests/Vec/truncate_reduce.rs index bd416a0fe127..3a9c6ccbfd47 100644 --- a/tests/stub-tests/Vec/truncate_reduce.rs +++ b/tests/stub-tests/Vec/truncate_reduce.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/stub-tests/Vec/truncate_zero.rs b/tests/stub-tests/Vec/truncate_zero.rs index 513f8b513e68..3807820c394f 100644 --- a/tests/stub-tests/Vec/truncate_zero.rs +++ b/tests/stub-tests/Vec/truncate_zero.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --use-abs --abs-type kani fn main() { diff --git a/tests/ui/Property-Class-UI/arithmetic_overflow/main.rs b/tests/ui/Property-Class-UI/arithmetic_overflow/main.rs index 04c5102beea8..952c3652cb04 100644 --- a/tests/ui/Property-Class-UI/arithmetic_overflow/main.rs +++ b/tests/ui/Property-Class-UI/arithmetic_overflow/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check that none of these operations trigger spurious overflow checks. diff --git a/tests/ui/Property-Class-UI/exact_div/main.rs b/tests/ui/Property-Class-UI/exact_div/main.rs index b22636525620..b82a9bb02188 100644 --- a/tests/ui/Property-Class-UI/exact_div/main.rs +++ b/tests/ui/Property-Class-UI/exact_div/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(core_intrinsics)] diff --git a/tests/ui/Property-Class-UI/expect_fail/main.rs b/tests/ui/Property-Class-UI/expect_fail/main.rs index 6692e3edc357..3358457e7591 100644 --- a/tests/ui/Property-Class-UI/expect_fail/main.rs +++ b/tests/ui/Property-Class-UI/expect_fail/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/ui/arguments-proof/main.rs b/tests/ui/arguments-proof/main.rs index 7dd7e1a36e78..887d51e3b87b 100644 --- a/tests/ui/arguments-proof/main.rs +++ b/tests/ui/arguments-proof/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-unwinding-checks diff --git a/tests/ui/cbmc_checks/float-overflow/check_message.rs b/tests/ui/cbmc_checks/float-overflow/check_message.rs index 944404c3720a..1a287dc33711 100644 --- a/tests/ui/cbmc_checks/float-overflow/check_message.rs +++ b/tests/ui/cbmc_checks/float-overflow/check_message.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check we don't print temporary variables as part of CBMC messages. diff --git a/tests/ui/cbmc_checks/pointer/check_message.rs b/tests/ui/cbmc_checks/pointer/check_message.rs index c7cda548f21a..afebf86ac149 100644 --- a/tests/ui/cbmc_checks/pointer/check_message.rs +++ b/tests/ui/cbmc_checks/pointer/check_message.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check we don't print temporary variables as part of CBMC messages. diff --git a/tests/ui/cbmc_checks/signed-overflow/check_message.rs b/tests/ui/cbmc_checks/signed-overflow/check_message.rs index 25b3176416bb..bfcde61f8035 100644 --- a/tests/ui/cbmc_checks/signed-overflow/check_message.rs +++ b/tests/ui/cbmc_checks/signed-overflow/check_message.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check we don't print temporary variables as part of CBMC messages. diff --git a/tests/ui/cbmc_checks/unsigned-overflow/check_message.rs b/tests/ui/cbmc_checks/unsigned-overflow/check_message.rs index 311cd46e2ede..d02a1119bded 100644 --- a/tests/ui/cbmc_checks/unsigned-overflow/check_message.rs +++ b/tests/ui/cbmc_checks/unsigned-overflow/check_message.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check we don't print temporary variables as part of CBMC messages. diff --git a/tests/ui/check_operations/operations.rs b/tests/ui/check_operations/operations.rs index c5976ad63b76..4a2fdb34aba4 100644 --- a/tests/ui/check_operations/operations.rs +++ b/tests/ui/check_operations/operations.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check the message printed when a checked operation fails. diff --git a/tests/ui/code-location/main.rs b/tests/ui/code-location/main.rs index e4d88bd69a85..1dfed4fbe610 100644 --- a/tests/ui/code-location/main.rs +++ b/tests/ui/code-location/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // kani-flags: --harness harness diff --git a/tests/ui/code-location/module/mod.rs b/tests/ui/code-location/module/mod.rs index 884ef8e1bdff..f4ce5afc1ff6 100644 --- a/tests/ui/code-location/module/mod.rs +++ b/tests/ui/code-location/module/mod.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --harness empty_harness diff --git a/tests/ui/expect-fail-property-class/main.rs b/tests/ui/expect-fail-property-class/main.rs index b05f0e33108a..f72376c6b9be 100644 --- a/tests/ui/expect-fail-property-class/main.rs +++ b/tests/ui/expect-fail-property-class/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Check if expect_fail uses new property class and description in it's check id diff --git a/tests/ui/logging/debug/trivial.rs b/tests/ui/logging/debug/trivial.rs index 6280b8206705..aa701433b88f 100644 --- a/tests/ui/logging/debug/trivial.rs +++ b/tests/ui/logging/debug/trivial.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --debug diff --git a/tests/ui/logging/warning/trivial.rs b/tests/ui/logging/warning/trivial.rs index 2c8e3b412b72..ca3304bcf70e 100644 --- a/tests/ui/logging/warning/trivial.rs +++ b/tests/ui/logging/warning/trivial.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // This test is to make sure we are correctly printing warnings from the kani-compiler. diff --git a/tests/ui/missing-function/extern_c/extern_c.rs b/tests/ui/missing-function/extern_c/extern_c.rs index 2c2add19da3c..d7291f4f6a7f 100644 --- a/tests/ui/missing-function/extern_c/extern_c.rs +++ b/tests/ui/missing-function/extern_c/extern_c.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --harness harness diff --git a/tests/ui/missing-function/replaced-description/main.rs b/tests/ui/missing-function/replaced-description/main.rs index 39321438f230..4906e198c778 100644 --- a/tests/ui/missing-function/replaced-description/main.rs +++ b/tests/ui/missing-function/replaced-description/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // This test is to check if the description for undefined functions has been updated to "Function with missing definition is unreachable" diff --git a/tests/ui/missing-function/rust-by-example-description/main.rs b/tests/ui/missing-function/rust-by-example-description/main.rs index 765d10d1f227..86adf261eb54 100644 --- a/tests/ui/missing-function/rust-by-example-description/main.rs +++ b/tests/ui/missing-function/rust-by-example-description/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --enable-unstable --cbmc-args --unwind 4 --object-bits 9 diff --git a/tests/ui/multiple-harnesses/test.rs b/tests/ui/multiple-harnesses/test.rs index fdacf08c2611..fe37c0492861 100644 --- a/tests/ui/multiple-harnesses/test.rs +++ b/tests/ui/multiple-harnesses/test.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #[kani::proof] diff --git a/tests/ui/multiple-proof-attributes/main.rs b/tests/ui/multiple-proof-attributes/main.rs index a2d45bdc2cd7..e495b47f658b 100644 --- a/tests/ui/multiple-proof-attributes/main.rs +++ b/tests/ui/multiple-proof-attributes/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-unwinding-checks --verbose diff --git a/tests/ui/regular-output-format-fail/fail.rs b/tests/ui/regular-output-format-fail/fail.rs index 0df85b0e95d3..c6de0b1c6d64 100644 --- a/tests/ui/regular-output-format-fail/fail.rs +++ b/tests/ui/regular-output-format-fail/fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --output-format regular diff --git a/tests/ui/regular-output-format-pass/main.rs b/tests/ui/regular-output-format-pass/main.rs index 283c36a66d8c..65a67061fea0 100644 --- a/tests/ui/regular-output-format-pass/main.rs +++ b/tests/ui/regular-output-format-pass/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --output-format regular diff --git a/tests/ui/terse-output-format-fail/fail.rs b/tests/ui/terse-output-format-fail/fail.rs index c53c5ed381d8..4155ffe63105 100644 --- a/tests/ui/terse-output-format-fail/fail.rs +++ b/tests/ui/terse-output-format-fail/fail.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --output-format terse diff --git a/tests/ui/terse-output-format-pass/main.rs b/tests/ui/terse-output-format-pass/main.rs index e2f437b5909b..62ef606041ef 100644 --- a/tests/ui/terse-output-format-pass/main.rs +++ b/tests/ui/terse-output-format-pass/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --output-format terse diff --git a/tests/ui/unsupported-annotation/main.rs b/tests/ui/unsupported-annotation/main.rs index 489f20387434..58d642d058e3 100644 --- a/tests/ui/unsupported-annotation/main.rs +++ b/tests/ui/unsupported-annotation/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-unwinding-checks --verbose diff --git a/tests/ui/unsupported-features/thread/main.rs b/tests/ui/unsupported-features/thread/main.rs index ed44bbb618c8..7f48a75ad542 100644 --- a/tests/ui/unsupported-features/thread/main.rs +++ b/tests/ui/unsupported-features/thread/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // // Checks for failures due to unsupported features related to threads. diff --git a/tests/ui/unwind-multiple-arguments/main.rs b/tests/ui/unwind-multiple-arguments/main.rs index eae1e2383461..7413c380700e 100644 --- a/tests/ui/unwind-multiple-arguments/main.rs +++ b/tests/ui/unwind-multiple-arguments/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-unwinding-checks diff --git a/tests/ui/unwind-without-proof/main.rs b/tests/ui/unwind-without-proof/main.rs index 90284eba5fc9..c97ec201c07b 100644 --- a/tests/ui/unwind-without-proof/main.rs +++ b/tests/ui/unwind-without-proof/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT // kani-flags: --no-unwinding-checks diff --git a/tools/bookrunner/Cargo.toml b/tools/bookrunner/Cargo.toml index 5d3d22afb8f7..6d5f3e474fa4 100644 --- a/tools/bookrunner/Cargo.toml +++ b/tools/bookrunner/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tools/bookrunner/librustdoc/Cargo.toml b/tools/bookrunner/librustdoc/Cargo.toml index f74ba6623291..ca81e3cb3360 100644 --- a/tools/bookrunner/librustdoc/Cargo.toml +++ b/tools/bookrunner/librustdoc/Cargo.toml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 OR MIT # -# Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Modifications Copyright Kani Contributors # See GitHub history for details. [package] name = "rustdoc" diff --git a/tools/bookrunner/librustdoc/build.rs b/tools/bookrunner/librustdoc/build.rs index a4b8e0d868ef..bca0827fbc46 100644 --- a/tools/bookrunner/librustdoc/build.rs +++ b/tools/bookrunner/librustdoc/build.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Build script that allows us to build this dependency without bootstrap script. diff --git a/tools/bookrunner/librustdoc/clean/auto_trait.rs b/tools/bookrunner/librustdoc/clean/auto_trait.rs index a4339e902d8c..8a30d536b0d0 100644 --- a/tools/bookrunner/librustdoc/clean/auto_trait.rs +++ b/tools/bookrunner/librustdoc/clean/auto_trait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use rustc_data_structures::fx::FxHashSet; use rustc_hir as hir; diff --git a/tools/bookrunner/librustdoc/clean/blanket_impl.rs b/tools/bookrunner/librustdoc/clean/blanket_impl.rs index c9ac6d398af2..e1e3b9129dd4 100644 --- a/tools/bookrunner/librustdoc/clean/blanket_impl.rs +++ b/tools/bookrunner/librustdoc/clean/blanket_impl.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use crate::rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt; use rustc_infer::infer::{InferOk, TyCtxtInferExt}; diff --git a/tools/bookrunner/librustdoc/clean/cfg.rs b/tools/bookrunner/librustdoc/clean/cfg.rs index 3fbe7837ad49..f5bea1b10d22 100644 --- a/tools/bookrunner/librustdoc/clean/cfg.rs +++ b/tools/bookrunner/librustdoc/clean/cfg.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! The representation of a `#[doc(cfg(...))]` attribute. diff --git a/tools/bookrunner/librustdoc/clean/cfg/tests.rs b/tools/bookrunner/librustdoc/clean/cfg/tests.rs index 92a8ecc8ad2c..30f68664676f 100644 --- a/tools/bookrunner/librustdoc/clean/cfg/tests.rs +++ b/tools/bookrunner/librustdoc/clean/cfg/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use super::*; diff --git a/tools/bookrunner/librustdoc/clean/inline.rs b/tools/bookrunner/librustdoc/clean/inline.rs index 973cfd2e969c..ec74a55bfebe 100644 --- a/tools/bookrunner/librustdoc/clean/inline.rs +++ b/tools/bookrunner/librustdoc/clean/inline.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Support for inlining external documentation into the current AST. diff --git a/tools/bookrunner/librustdoc/clean/mod.rs b/tools/bookrunner/librustdoc/clean/mod.rs index be4a214b13de..cd21203b248c 100644 --- a/tools/bookrunner/librustdoc/clean/mod.rs +++ b/tools/bookrunner/librustdoc/clean/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! This module contains the "cleaned" pieces of the AST, and the functions //! that clean them. diff --git a/tools/bookrunner/librustdoc/clean/simplify.rs b/tools/bookrunner/librustdoc/clean/simplify.rs index 99ab4b1c6413..3ebf98844004 100644 --- a/tools/bookrunner/librustdoc/clean/simplify.rs +++ b/tools/bookrunner/librustdoc/clean/simplify.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Simplification of where-clauses and parameter bounds into a prettier and //! more canonical form. diff --git a/tools/bookrunner/librustdoc/clean/types.rs b/tools/bookrunner/librustdoc/clean/types.rs index 2b1ed6201dd3..67a1c29f92df 100644 --- a/tools/bookrunner/librustdoc/clean/types.rs +++ b/tools/bookrunner/librustdoc/clean/types.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::cell::RefCell; use std::default::Default; diff --git a/tools/bookrunner/librustdoc/clean/utils.rs b/tools/bookrunner/librustdoc/clean/utils.rs index b8ba9f858569..fb808627e74c 100644 --- a/tools/bookrunner/librustdoc/clean/utils.rs +++ b/tools/bookrunner/librustdoc/clean/utils.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use crate::clean::auto_trait::AutoTraitFinder; use crate::clean::blanket_impl::BlanketImplFinder; diff --git a/tools/bookrunner/librustdoc/clean/utils/tests.rs b/tools/bookrunner/librustdoc/clean/utils/tests.rs index 7f5fd9e84225..45153148adf5 100644 --- a/tools/bookrunner/librustdoc/clean/utils/tests.rs +++ b/tools/bookrunner/librustdoc/clean/utils/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use super::*; diff --git a/tools/bookrunner/librustdoc/config.rs b/tools/bookrunner/librustdoc/config.rs index 27bb0f282bee..ecabef0e9176 100644 --- a/tools/bookrunner/librustdoc/config.rs +++ b/tools/bookrunner/librustdoc/config.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::convert::TryFrom; use std::fmt; diff --git a/tools/bookrunner/librustdoc/core.rs b/tools/bookrunner/librustdoc/core.rs index e41a8c8cdc83..e2179bcbf630 100644 --- a/tools/bookrunner/librustdoc/core.rs +++ b/tools/bookrunner/librustdoc/core.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use rustc_data_structures::fx::{FxHashMap, FxHashSet}; use rustc_hir::def::Res; diff --git a/tools/bookrunner/librustdoc/docfs.rs b/tools/bookrunner/librustdoc/docfs.rs index 54da56d87414..a44d3c179180 100644 --- a/tools/bookrunner/librustdoc/docfs.rs +++ b/tools/bookrunner/librustdoc/docfs.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Rustdoc's FileSystem abstraction module. //! diff --git a/tools/bookrunner/librustdoc/doctest.rs b/tools/bookrunner/librustdoc/doctest.rs index 4d4490aa2cd3..45efe30a7471 100644 --- a/tools/bookrunner/librustdoc/doctest.rs +++ b/tools/bookrunner/librustdoc/doctest.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use rustc_ast as ast; use rustc_data_structures::fx::{FxHashMap, FxHashSet}; diff --git a/tools/bookrunner/librustdoc/doctest/tests.rs b/tools/bookrunner/librustdoc/doctest/tests.rs index a2042a869889..888d894a6435 100644 --- a/tools/bookrunner/librustdoc/doctest/tests.rs +++ b/tools/bookrunner/librustdoc/doctest/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use super::{make_test, GlobalTestOptions}; use rustc_span::edition::DEFAULT_EDITION; diff --git a/tools/bookrunner/librustdoc/error.rs b/tools/bookrunner/librustdoc/error.rs index 13731c717108..8ec60ab17faa 100644 --- a/tools/bookrunner/librustdoc/error.rs +++ b/tools/bookrunner/librustdoc/error.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::error; use std::fmt::{self, Formatter}; diff --git a/tools/bookrunner/librustdoc/externalfiles.rs b/tools/bookrunner/librustdoc/externalfiles.rs index fe9d324a01ef..29afe756d1cb 100644 --- a/tools/bookrunner/librustdoc/externalfiles.rs +++ b/tools/bookrunner/librustdoc/externalfiles.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use serde::Serialize; diff --git a/tools/bookrunner/librustdoc/fold.rs b/tools/bookrunner/librustdoc/fold.rs index be7364ff2891..b6d67f507128 100644 --- a/tools/bookrunner/librustdoc/fold.rs +++ b/tools/bookrunner/librustdoc/fold.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use crate::clean::*; diff --git a/tools/bookrunner/librustdoc/formats/cache.rs b/tools/bookrunner/librustdoc/formats/cache.rs index 921e58c68bd9..585d06f42af8 100644 --- a/tools/bookrunner/librustdoc/formats/cache.rs +++ b/tools/bookrunner/librustdoc/formats/cache.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::mem; diff --git a/tools/bookrunner/librustdoc/formats/item_type.rs b/tools/bookrunner/librustdoc/formats/item_type.rs index 278f71f64eb3..3cd39cebbc7d 100644 --- a/tools/bookrunner/librustdoc/formats/item_type.rs +++ b/tools/bookrunner/librustdoc/formats/item_type.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Item types. diff --git a/tools/bookrunner/librustdoc/formats/mod.rs b/tools/bookrunner/librustdoc/formats/mod.rs index 8ef511b08dfd..8123ea1f26c4 100644 --- a/tools/bookrunner/librustdoc/formats/mod.rs +++ b/tools/bookrunner/librustdoc/formats/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. crate mod cache; crate mod item_type; diff --git a/tools/bookrunner/librustdoc/formats/renderer.rs b/tools/bookrunner/librustdoc/formats/renderer.rs index ebdd35f12ebf..e9d2c909e8da 100644 --- a/tools/bookrunner/librustdoc/formats/renderer.rs +++ b/tools/bookrunner/librustdoc/formats/renderer.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use rustc_middle::ty::TyCtxt; diff --git a/tools/bookrunner/librustdoc/html/escape.rs b/tools/bookrunner/librustdoc/html/escape.rs index 2823ce6a0c22..74cf342fd8b3 100644 --- a/tools/bookrunner/librustdoc/html/escape.rs +++ b/tools/bookrunner/librustdoc/html/escape.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! HTML escaping. //! diff --git a/tools/bookrunner/librustdoc/html/format.rs b/tools/bookrunner/librustdoc/html/format.rs index 326a6c600a53..b23759bccf96 100644 --- a/tools/bookrunner/librustdoc/html/format.rs +++ b/tools/bookrunner/librustdoc/html/format.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! HTML formatting module //! diff --git a/tools/bookrunner/librustdoc/html/highlight.rs b/tools/bookrunner/librustdoc/html/highlight.rs index 440d41143c57..e8d39bf220d7 100644 --- a/tools/bookrunner/librustdoc/html/highlight.rs +++ b/tools/bookrunner/librustdoc/html/highlight.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Basic syntax highlighting functionality. //! diff --git a/tools/bookrunner/librustdoc/html/layout.rs b/tools/bookrunner/librustdoc/html/layout.rs index f72fae7f704f..dc7194cfc988 100644 --- a/tools/bookrunner/librustdoc/html/layout.rs +++ b/tools/bookrunner/librustdoc/html/layout.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::path::PathBuf; diff --git a/tools/bookrunner/librustdoc/html/length_limit.rs b/tools/bookrunner/librustdoc/html/length_limit.rs index adf55bb85b1a..cad8b79c48dd 100644 --- a/tools/bookrunner/librustdoc/html/length_limit.rs +++ b/tools/bookrunner/librustdoc/html/length_limit.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! See [`HtmlWithLimit`]. diff --git a/tools/bookrunner/librustdoc/html/length_limit/tests.rs b/tools/bookrunner/librustdoc/html/length_limit/tests.rs index 0b84c6194554..10713ca59b5e 100644 --- a/tools/bookrunner/librustdoc/html/length_limit/tests.rs +++ b/tools/bookrunner/librustdoc/html/length_limit/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use super::*; diff --git a/tools/bookrunner/librustdoc/html/markdown.rs b/tools/bookrunner/librustdoc/html/markdown.rs index 0e6236f94342..12efb2ea4e16 100644 --- a/tools/bookrunner/librustdoc/html/markdown.rs +++ b/tools/bookrunner/librustdoc/html/markdown.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Markdown formatting for rustdoc. //! diff --git a/tools/bookrunner/librustdoc/html/markdown/tests.rs b/tools/bookrunner/librustdoc/html/markdown/tests.rs index dc26511b71d7..b9819a779c36 100644 --- a/tools/bookrunner/librustdoc/html/markdown/tests.rs +++ b/tools/bookrunner/librustdoc/html/markdown/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use super::{find_testable_code, plain_text_summary, short_markdown_summary}; use super::{ErrorCodes, HeadingOffset, IdMap, Ignore, LangString, Markdown, MarkdownHtml}; diff --git a/tools/bookrunner/librustdoc/html/mod.rs b/tools/bookrunner/librustdoc/html/mod.rs index a2e62e46697f..fcb847077fa5 100644 --- a/tools/bookrunner/librustdoc/html/mod.rs +++ b/tools/bookrunner/librustdoc/html/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. crate mod escape; crate mod format; diff --git a/tools/bookrunner/librustdoc/html/render/context.rs b/tools/bookrunner/librustdoc/html/render/context.rs index 7c6ae62a161b..4fa0a4297e77 100644 --- a/tools/bookrunner/librustdoc/html/render/context.rs +++ b/tools/bookrunner/librustdoc/html/render/context.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::cell::RefCell; use std::collections::BTreeMap; diff --git a/tools/bookrunner/librustdoc/html/render/mod.rs b/tools/bookrunner/librustdoc/html/render/mod.rs index fcf85a05e9cf..97cfd31fd734 100644 --- a/tools/bookrunner/librustdoc/html/render/mod.rs +++ b/tools/bookrunner/librustdoc/html/render/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Rustdoc's HTML rendering module. //! diff --git a/tools/bookrunner/librustdoc/html/render/print_item.rs b/tools/bookrunner/librustdoc/html/render/print_item.rs index 5bb0b6ee3a2d..2f706e1ddc36 100644 --- a/tools/bookrunner/librustdoc/html/render/print_item.rs +++ b/tools/bookrunner/librustdoc/html/render/print_item.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use clean::AttributesExt; diff --git a/tools/bookrunner/librustdoc/html/render/search_index.rs b/tools/bookrunner/librustdoc/html/render/search_index.rs index 8992586601d7..13290f853cb7 100644 --- a/tools/bookrunner/librustdoc/html/render/search_index.rs +++ b/tools/bookrunner/librustdoc/html/render/search_index.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::collections::hash_map::Entry; use std::collections::BTreeMap; diff --git a/tools/bookrunner/librustdoc/html/render/span_map.rs b/tools/bookrunner/librustdoc/html/render/span_map.rs index baf424b412b3..54d1ce9506e5 100644 --- a/tools/bookrunner/librustdoc/html/render/span_map.rs +++ b/tools/bookrunner/librustdoc/html/render/span_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use crate::clean::{self, PrimitiveType}; use crate::html::sources; diff --git a/tools/bookrunner/librustdoc/html/render/tests.rs b/tools/bookrunner/librustdoc/html/render/tests.rs index 1d48fd8683f9..b8798a508c0c 100644 --- a/tools/bookrunner/librustdoc/html/render/tests.rs +++ b/tools/bookrunner/librustdoc/html/render/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::cmp::Ordering; diff --git a/tools/bookrunner/librustdoc/html/render/write_shared.rs b/tools/bookrunner/librustdoc/html/render/write_shared.rs index 18fd4a69316c..20b8057f7453 100644 --- a/tools/bookrunner/librustdoc/html/render/write_shared.rs +++ b/tools/bookrunner/librustdoc/html/render/write_shared.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::ffi::OsStr; use std::fmt::Write; diff --git a/tools/bookrunner/librustdoc/html/sources.rs b/tools/bookrunner/librustdoc/html/sources.rs index bc5b4df3fa99..6e64805641ab 100644 --- a/tools/bookrunner/librustdoc/html/sources.rs +++ b/tools/bookrunner/librustdoc/html/sources.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use crate::clean; use crate::docfs::PathError; diff --git a/tools/bookrunner/librustdoc/html/static_files.rs b/tools/bookrunner/librustdoc/html/static_files.rs index bf873c1bf6d3..01e9735be9de 100644 --- a/tools/bookrunner/librustdoc/html/static_files.rs +++ b/tools/bookrunner/librustdoc/html/static_files.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Static files bundled with documentation output. //! diff --git a/tools/bookrunner/librustdoc/html/tests.rs b/tools/bookrunner/librustdoc/html/tests.rs index 38ba8fc22e7d..5483f21a81e0 100644 --- a/tools/bookrunner/librustdoc/html/tests.rs +++ b/tools/bookrunner/librustdoc/html/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use crate::html::format::href_relative_parts; use rustc_span::{sym, Symbol}; diff --git a/tools/bookrunner/librustdoc/html/toc.rs b/tools/bookrunner/librustdoc/html/toc.rs index b109bb5e01a6..b67078be0e9f 100644 --- a/tools/bookrunner/librustdoc/html/toc.rs +++ b/tools/bookrunner/librustdoc/html/toc.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Table-of-contents creation. diff --git a/tools/bookrunner/librustdoc/html/toc/tests.rs b/tools/bookrunner/librustdoc/html/toc/tests.rs index 2c3c7dab4be5..3967a9c1bdde 100644 --- a/tools/bookrunner/librustdoc/html/toc/tests.rs +++ b/tools/bookrunner/librustdoc/html/toc/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use super::{Toc, TocBuilder, TocEntry}; diff --git a/tools/bookrunner/librustdoc/html/url_parts_builder.rs b/tools/bookrunner/librustdoc/html/url_parts_builder.rs index 6c43c011d8a5..adc7da94651a 100644 --- a/tools/bookrunner/librustdoc/html/url_parts_builder.rs +++ b/tools/bookrunner/librustdoc/html/url_parts_builder.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::fmt::{self, Write}; diff --git a/tools/bookrunner/librustdoc/html/url_parts_builder/tests.rs b/tools/bookrunner/librustdoc/html/url_parts_builder/tests.rs index 0e8cb5babd54..aa9704841c3f 100644 --- a/tools/bookrunner/librustdoc/html/url_parts_builder/tests.rs +++ b/tools/bookrunner/librustdoc/html/url_parts_builder/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use super::*; diff --git a/tools/bookrunner/librustdoc/lib.rs b/tools/bookrunner/librustdoc/lib.rs index 760a8dff4137..cafbb6db6e82 100644 --- a/tools/bookrunner/librustdoc/lib.rs +++ b/tools/bookrunner/librustdoc/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. #![doc( html_root_url = "https://doc.rust-lang.org/nightly/", diff --git a/tools/bookrunner/librustdoc/lint.rs b/tools/bookrunner/librustdoc/lint.rs index afa97aab6a4c..b25441eb4bc2 100644 --- a/tools/bookrunner/librustdoc/lint.rs +++ b/tools/bookrunner/librustdoc/lint.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use rustc_lint_defs::declare_tool_lint; diff --git a/tools/bookrunner/librustdoc/markdown.rs b/tools/bookrunner/librustdoc/markdown.rs index bbe769ae1482..642c5dd81501 100644 --- a/tools/bookrunner/librustdoc/markdown.rs +++ b/tools/bookrunner/librustdoc/markdown.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::fs::{create_dir_all, read_to_string, File}; use std::io::prelude::*; diff --git a/tools/bookrunner/librustdoc/passes/bare_urls.rs b/tools/bookrunner/librustdoc/passes/bare_urls.rs index 47d3be2f479e..6efacee21447 100644 --- a/tools/bookrunner/librustdoc/passes/bare_urls.rs +++ b/tools/bookrunner/librustdoc/passes/bare_urls.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Detects links that are not linkified, e.g., in Markdown such as `Go to https://example.com/.` //! Suggests wrapping the link with angle brackets: `Go to .` to linkify it. diff --git a/tools/bookrunner/librustdoc/passes/calculate_doc_coverage.rs b/tools/bookrunner/librustdoc/passes/calculate_doc_coverage.rs index fdac58e5ff18..d1581fade7f1 100644 --- a/tools/bookrunner/librustdoc/passes/calculate_doc_coverage.rs +++ b/tools/bookrunner/librustdoc/passes/calculate_doc_coverage.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Calculates information used for the --show-coverage flag. use crate::clean; diff --git a/tools/bookrunner/librustdoc/passes/check_code_block_syntax.rs b/tools/bookrunner/librustdoc/passes/check_code_block_syntax.rs index 9b5f5c2a04f5..86c7e026087c 100644 --- a/tools/bookrunner/librustdoc/passes/check_code_block_syntax.rs +++ b/tools/bookrunner/librustdoc/passes/check_code_block_syntax.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Validates syntax inside Rust code blocks (\`\`\`rust). use rustc_data_structures::sync::{Lock, Lrc}; diff --git a/tools/bookrunner/librustdoc/passes/check_doc_test_visibility.rs b/tools/bookrunner/librustdoc/passes/check_doc_test_visibility.rs index 7b3590c6cad6..41d19a98e9e7 100644 --- a/tools/bookrunner/librustdoc/passes/check_doc_test_visibility.rs +++ b/tools/bookrunner/librustdoc/passes/check_doc_test_visibility.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Looks for items missing (or incorrectly having) doctests. //! diff --git a/tools/bookrunner/librustdoc/passes/collect_intra_doc_links.rs b/tools/bookrunner/librustdoc/passes/collect_intra_doc_links.rs index 7c3808d917c1..17012f3bddec 100644 --- a/tools/bookrunner/librustdoc/passes/collect_intra_doc_links.rs +++ b/tools/bookrunner/librustdoc/passes/collect_intra_doc_links.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! This module implements [RFC 1946]: Intra-rustdoc-links //! diff --git a/tools/bookrunner/librustdoc/passes/collect_intra_doc_links/early.rs b/tools/bookrunner/librustdoc/passes/collect_intra_doc_links/early.rs index 9e3ab8ff6b90..2885a00548c5 100644 --- a/tools/bookrunner/librustdoc/passes/collect_intra_doc_links/early.rs +++ b/tools/bookrunner/librustdoc/passes/collect_intra_doc_links/early.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use crate::clean; use crate::html::markdown::markdown_links; diff --git a/tools/bookrunner/librustdoc/passes/collect_trait_impls.rs b/tools/bookrunner/librustdoc/passes/collect_trait_impls.rs index af5645c14543..f1ae81cbeb97 100644 --- a/tools/bookrunner/librustdoc/passes/collect_trait_impls.rs +++ b/tools/bookrunner/librustdoc/passes/collect_trait_impls.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Collects trait impls for each item in the crate. For example, if a crate //! defines a struct that implements a trait, this pass will note that the diff --git a/tools/bookrunner/librustdoc/passes/html_tags.rs b/tools/bookrunner/librustdoc/passes/html_tags.rs index 00f57793e7d9..673e5ac222e0 100644 --- a/tools/bookrunner/librustdoc/passes/html_tags.rs +++ b/tools/bookrunner/librustdoc/passes/html_tags.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Detects invalid HTML (like an unclosed ``) in doc comments. use crate::clean::*; diff --git a/tools/bookrunner/librustdoc/passes/mod.rs b/tools/bookrunner/librustdoc/passes/mod.rs index eac567e32c85..df162da25f66 100644 --- a/tools/bookrunner/librustdoc/passes/mod.rs +++ b/tools/bookrunner/librustdoc/passes/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Contains information about "passes", used to modify crate information during the documentation //! process. diff --git a/tools/bookrunner/librustdoc/passes/propagate_doc_cfg.rs b/tools/bookrunner/librustdoc/passes/propagate_doc_cfg.rs index 8928c3209f85..d4fce5ab05cb 100644 --- a/tools/bookrunner/librustdoc/passes/propagate_doc_cfg.rs +++ b/tools/bookrunner/librustdoc/passes/propagate_doc_cfg.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Propagates [`#[doc(cfg(...))]`](https://github.com/rust-lang/rust/issues/43781) to child items. use std::sync::Arc; diff --git a/tools/bookrunner/librustdoc/passes/strip_hidden.rs b/tools/bookrunner/librustdoc/passes/strip_hidden.rs index 95944f1064e7..1166159d6b60 100644 --- a/tools/bookrunner/librustdoc/passes/strip_hidden.rs +++ b/tools/bookrunner/librustdoc/passes/strip_hidden.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Strip all doc(hidden) items from the output. use rustc_span::symbol::sym; diff --git a/tools/bookrunner/librustdoc/passes/stripper.rs b/tools/bookrunner/librustdoc/passes/stripper.rs index 4bcfb7d1fa73..e93df2d99382 100644 --- a/tools/bookrunner/librustdoc/passes/stripper.rs +++ b/tools/bookrunner/librustdoc/passes/stripper.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! A collection of utility functions for the `strip_*` passes. use rustc_hir::def_id::DefId; diff --git a/tools/bookrunner/librustdoc/passes/unindent_comments.rs b/tools/bookrunner/librustdoc/passes/unindent_comments.rs index 79fd7a685ee5..fd39f6077659 100644 --- a/tools/bookrunner/librustdoc/passes/unindent_comments.rs +++ b/tools/bookrunner/librustdoc/passes/unindent_comments.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! Removes excess indentation on comments in order for the Markdown //! to be parsed correctly. This is necessary because the convention for diff --git a/tools/bookrunner/librustdoc/passes/unindent_comments/tests.rs b/tools/bookrunner/librustdoc/passes/unindent_comments/tests.rs index febd665eaba5..61fedf20e310 100644 --- a/tools/bookrunner/librustdoc/passes/unindent_comments/tests.rs +++ b/tools/bookrunner/librustdoc/passes/unindent_comments/tests.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use super::*; diff --git a/tools/bookrunner/librustdoc/scrape_examples.rs b/tools/bookrunner/librustdoc/scrape_examples.rs index 1b52f2fd78b6..dcb5fa73a14c 100644 --- a/tools/bookrunner/librustdoc/scrape_examples.rs +++ b/tools/bookrunner/librustdoc/scrape_examples.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! This module analyzes crates to find call sites that can serve as examples in the documentation. diff --git a/tools/bookrunner/librustdoc/visit.rs b/tools/bookrunner/librustdoc/visit.rs index 33b825a7705a..99926ab22e40 100644 --- a/tools/bookrunner/librustdoc/visit.rs +++ b/tools/bookrunner/librustdoc/visit.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use crate::clean::*; diff --git a/tools/bookrunner/librustdoc/visit_ast.rs b/tools/bookrunner/librustdoc/visit_ast.rs index b76bfc382f93..66450a875b2c 100644 --- a/tools/bookrunner/librustdoc/visit_ast.rs +++ b/tools/bookrunner/librustdoc/visit_ast.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! The Rust AST Visitor. Extracts useful information and massages it into a form //! usable for `clean`. diff --git a/tools/bookrunner/print.sh b/tools/bookrunner/print.sh index f803f1c5b2f4..904409ee1c87 100755 --- a/tools/bookrunner/print.sh +++ b/tools/bookrunner/print.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT # `rustdoc` treats this script as `rustc` and sends code extracted from markdown diff --git a/tools/bookrunner/rust-doc/unstable-book/book.toml b/tools/bookrunner/rust-doc/unstable-book/book.toml index 2ba24cdbf8f2..dfbd8311dae4 100644 --- a/tools/bookrunner/rust-doc/unstable-book/book.toml +++ b/tools/bookrunner/rust-doc/unstable-book/book.toml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 OR MIT # -# Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Modifications Copyright Kani Contributors # See GitHub history for details. [book] title = "The Rust Unstable Book" diff --git a/tools/bookrunner/src/bookrunner.rs b/tools/bookrunner/src/bookrunner.rs index 17750ce42937..dddf4f4e4c8a 100644 --- a/tools/bookrunner/src/bookrunner.rs +++ b/tools/bookrunner/src/bookrunner.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Data structures representing the book report and their utilities. diff --git a/tools/bookrunner/src/books.rs b/tools/bookrunner/src/books.rs index 4a3b2eae2d17..70e28998982a 100644 --- a/tools/bookrunner/src/books.rs +++ b/tools/bookrunner/src/books.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Utilities to extract examples from Rust books, run them through Kani, and //! display their results. diff --git a/tools/bookrunner/src/litani.rs b/tools/bookrunner/src/litani.rs index 42b53c48c87e..c48cec860f69 100644 --- a/tools/bookrunner/src/litani.rs +++ b/tools/bookrunner/src/litani.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Utilities to interact with the `Litani` build accumulator. diff --git a/tools/bookrunner/src/main.rs b/tools/bookrunner/src/main.rs index ece40f644e99..65fd9196b365 100644 --- a/tools/bookrunner/src/main.rs +++ b/tools/bookrunner/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT #![feature(extend_one)] #![feature(rustc_private)] diff --git a/tools/bookrunner/src/util.rs b/tools/bookrunner/src/util.rs index c58041b2fd27..8529afd33b4d 100644 --- a/tools/bookrunner/src/util.rs +++ b/tools/bookrunner/src/util.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! Utilities types and procedures to parse and run tests. //! diff --git a/tools/compiletest/Cargo.toml b/tools/compiletest/Cargo.toml index d828c7c658a6..1914f0c6e10e 100644 --- a/tools/compiletest/Cargo.toml +++ b/tools/compiletest/Cargo.toml @@ -1,6 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 OR MIT # -# Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Modifications Copyright Kani Contributors # See GitHub history for details. [package] diff --git a/tools/compiletest/src/common.rs b/tools/compiletest/src/common.rs index aa1bf25b0fce..fb6f2742c2b0 100644 --- a/tools/compiletest/src/common.rs +++ b/tools/compiletest/src/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. pub use self::Mode::*; diff --git a/tools/compiletest/src/header.rs b/tools/compiletest/src/header.rs index c3e0908408c8..8d4b5cd61be9 100644 --- a/tools/compiletest/src/header.rs +++ b/tools/compiletest/src/header.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use std::fs::File; diff --git a/tools/compiletest/src/json.rs b/tools/compiletest/src/json.rs index d05100bc18d3..a214a7908883 100644 --- a/tools/compiletest/src/json.rs +++ b/tools/compiletest/src/json.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. //! These structs are a subset of the ones found in `rustc_errors::json`. diff --git a/tools/compiletest/src/main.rs b/tools/compiletest/src/main.rs index a7823b088d9f..b3899df8435a 100644 --- a/tools/compiletest/src/main.rs +++ b/tools/compiletest/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. #![crate_name = "compiletest"] diff --git a/tools/compiletest/src/raise_fd_limit.rs b/tools/compiletest/src/raise_fd_limit.rs index 0a0591195961..74929caf8340 100644 --- a/tools/compiletest/src/raise_fd_limit.rs +++ b/tools/compiletest/src/raise_fd_limit.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. /// darwin_fd_limit exists to work around an issue where launchctl on macOS diff --git a/tools/compiletest/src/read2.rs b/tools/compiletest/src/read2.rs index 594d07438841..470459449727 100644 --- a/tools/compiletest/src/read2.rs +++ b/tools/compiletest/src/read2.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. // FIXME: This is a complete copy of `cargo/src/cargo/util/read2.rs` diff --git a/tools/compiletest/src/runtest.rs b/tools/compiletest/src/runtest.rs index 3e30dfc965ca..d3c7acdad8e6 100644 --- a/tools/compiletest/src/runtest.rs +++ b/tools/compiletest/src/runtest.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. // ignore-tidy-filelength diff --git a/tools/compiletest/src/util.rs b/tools/compiletest/src/util.rs index 2652800e7ecf..870b5233f420 100644 --- a/tools/compiletest/src/util.rs +++ b/tools/compiletest/src/util.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT // -// Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Modifications Copyright Kani Contributors // See GitHub history for details. use crate::common::Config; diff --git a/tools/make-kani-release/Cargo.toml b/tools/make-kani-release/Cargo.toml index 21f5b8d2318c..b72d1fa654eb 100644 --- a/tools/make-kani-release/Cargo.toml +++ b/tools/make-kani-release/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +# Copyright Kani Contributors # SPDX-License-Identifier: Apache-2.0 OR MIT [package] diff --git a/tools/make-kani-release/build.rs b/tools/make-kani-release/build.rs index 7d4dde2d3b4f..c01b82b23c44 100644 --- a/tools/make-kani-release/build.rs +++ b/tools/make-kani-release/build.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT use std::env::var; diff --git a/tools/make-kani-release/src/main.rs b/tools/make-kani-release/src/main.rs index d8f62f0ac62a..ecb9044210fc 100644 --- a/tools/make-kani-release/src/main.rs +++ b/tools/make-kani-release/src/main.rs @@ -1,4 +1,4 @@ -// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright Kani Contributors // SPDX-License-Identifier: Apache-2.0 OR MIT //! This file is a glorified shell script for constructing a Kani release bundle.