aws / aws/aws-encryption-sdk-c

Static error function cannot be removed from CBMC report

Open
#625 1 comment 0 reactions 0 assignees View on GitHub
cbmc
Dominant language
C
Stars
63
Forks
59
PR merge metrics
No merged PRs in 30d

Description

Static error function `aws_raise_error` cannot be removed from CBMC reports even though it comes from project sources. In particular, it comes from an include of error.c from the AWS-C-Common project.

This issue could be related to #624 , although in this case the proof result is not affected.

Here is the list of proofs related to the issue:
* `aws_cryptosdk_edk_list_clean_up`
* `aws_cryptosdk_edk_list_clear`
* `aws_cryptosdk_enc_materials_destroy`
* `aws_cryptosdk_keyring_trace_clean_up`
* `aws_cryptosdk_keyring_trace_clear`
* `aws_cryptosdk_keyring_trace_eq`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the CBMC reports for the six listed proofs and trace how the included AWS-C-Common error.c contributes aws_raise_error. Compare the report behavior with issue #624; done means the static error function is removed from these reports without changing the proof results.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.