aws / aws/aws-encryption-sdk-c
Low coverage in CBMC proofs involving function pointers
- Dominant language
- C
- Stars
- 63
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
Low coverage values are reported for some proofs that involve function pointers. CBMC considers values for them that are not reachable in practice (null coverage).
The proofs that present this behavior are:
* `aws_cryptosdk_enc_ctx_clean_up`
* `aws_cryptosdk_enc_ctx_clear`
* `aws_cryptosdk_serialize_frame`
Contributor guide
Research direction
Start by examining the CBMC proofs for aws_cryptosdk_enc_ctx_clean_up, aws_cryptosdk_enc_ctx_clear, and aws_cryptosdk_serialize_frame, then reproduce their reported coverage values. Determine how function-pointer values that are null or unreachable affect coverage, and consider the issue complete when these proofs report coverage that excludes those unreachable cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- security, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100