CakeML / CakeML/cakeml

Configurable gap between stack limit and store

Open
#801 0 comments 0 reactions 0 assignees View on GitHub
enhancement medium effort medium reward user experience
Dominant language
Standard ML
Stars
1.2k
Forks
104
Avg merge
2d 21h
Merged PRs (30d)
16

Description

If the stack can grow down to `lim`, and the first store value is at `lim`-2048, then an interrupt or signal handler can clobber data within a 2048-byte region immediately below the stack pointer at any point without interfering with state. I think this is the only thing that needs to be implemented and proved for #757 to be usable in general environments.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading issue #757 and tracing the stack-limit and first-store behavior it introduces. Determine where the 2048-byte gap is represented and where its safety is proved; done means the gap is configurable and the proof establishes that interrupt or signal-handler writes in that region do not interfere with program state.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.