Commit 5695a8a
[JSC] Opportunistically exclude environment variable from stack scanning on Linux
https://bugs.webkit.org/show_bug.cgi?id=289774
rdar://147017776
Reviewed by Justin Michaud.
As it is suggested in
https://webkit.slack.com/archives/CTV4FGWF4/p1737380355218399, we should
leverage Linux's ELF loader's stack setup mechanism to exclude
environment variables from the stack.
* Source/WTF/wtf/StackBounds.cpp:
(WTF::StackBounds::currentThreadStackBoundsInternal):
Canonical link: https://commits.webkit.org/292171@main1 parent 4b3faa7 commit 5695a8a
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
136 | 148 | | |
137 | 149 | | |
138 | 150 | | |
| |||
0 commit comments