aws / aws/aws-encryption-sdk-c

Rename all CBMC proof allocators

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

Most of the allocator have the prefix `ensures` something is allocated. This is not precise, because this allocators **non-deterministically** allocate memory, so at the end there could be null pointers. Rename them to reflect their behavior.

Contributor guide

Open the contributing guide

Research direction

Search the repository for CBMC proof allocators whose names use the `ensures` prefix and inspect every reference to them. Rename the allocators and their references to describe non-deterministic allocation, then run the repository's available checks to confirm the proof code still builds and all names are consistent.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.