cielseven's picture
add benchmark corpora, groundtruth, symexec scripts and coverage docs
bff4ec7
|
Raw History Blame Contribute Delete
635 Bytes

Array-Based Stack

Problem Description

Maintain a bounded integer stack and support push, pop, and bulk construction operations.

Input

The functions receive the array representation, its logical size or capacity, and the operation-specific values described by their C signatures.

Output

Each operation returns or updates the represented data structure according to its interface contract.

Constraints

All indices, sizes, capacities, and stored values satisfy the bounds stated by the corresponding function contract.

Source

Classical data-structure implementation reconstructed from the verified C artifact.