aws / aws/aws-encryption-sdk-c

Low coverage in CBMC proofs involving function pointers

Open
#623 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

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.