aws / aws/aws-encryption-sdk-c

Replace fixed values in CBMC Makefiles by definable values

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

Description

Some unwinding values appearing in CBMC Makefiles are fixed values. For example, the following one in proof `aws_cryptosdk_enc_ctx_size`

```
UNWINDSET += aws_add_size_checked_varargs.0:5
```
should become a value defined somewhere as in
```
UNWINDSET += aws_add_size_checked_varargs.0:$(MAX_VARS_LEN)
```

Contributor guide

Open the contributing guide

Research direction

Search the CBMC Makefiles for fixed unwinding values, starting with proof aws_cryptosdk_enc_ctx_size and the aws_add_size_checked_varargs.0:5 entry. Identify where configurable values are defined; done means the fixed unwinding values are replaced with definable values without changing the proof targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.