crt/aws-c-common/verification/cbmc/proofs/aws_string_destroy/aws_string_destroy_harness.c
raw symbols SCIP| 1 | /** |
| 2 | * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 3 | * SPDX-License-Identifier: Apache-2.0. |
| 4 | */ |
| 5 | |
| 6 | #include <aws/common/string.h> |
| 7 | #include <proof_helpers/make_common_data_structures.h> |
| 8 | |
| 9 | void aws_string_destroy_harness() { |
| 10 | struct aws_string *str = ensure_string_is_allocated_nondet_length(); |
| 11 | __CPROVER_assume(IMPLIES(str != NULL, aws_string_is_valid(str))); |
| 12 | aws_string_destroy(str); |
| 13 | } |