RT-Thread / RT-Thread/rt-thread
栈溢出检查能否做个自定义配置
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
目前的栈溢出检查,是直接检查线程当前的 sp 是否超出线程栈的范围
但是我们这边有个需求,就是 sp 指向某块指定空间的时候,不算线程溢出
能不能在这里搞个自定义配置的功能呢
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the current thread stack-overflow check and tracing how it compares the stack pointer with the thread stack bounds. Clarify the configuration shape for exempting a specified memory area, then define completion as the check honoring that exception without masking genuine stack overflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100