Overview
| Artifact ID: | dafe13f3fb798911e3ce95c5d674764efc97c0d76f7cd5ec2eb4b9ace0a6fae7 |
|---|---|
| Ticket: | 7d47ba7d9497fda88c064b6152d3a2126c3cd9d2
Stack overruns in regexp code |
| User & Date: | serhiy.storchaka on 2026-11-15 14:30:08 |
Changes
- icomment:
It is the same technique (<tt>__builtin_frame_address(0)</tt>), but calling <tt>TclGetCStackPtr()</tt> in the check makes regexp compilation about 5% slower, since the check runs at every recursion level. I'd rather keep the macro inline, and add <tt>_AddressOfReturnAddress()</tt> for MSVC as <tt>TclGetCStackPtr()</tt> does.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"