Overview
| Artifact ID: | 674036341ff12af75eca42596746eb2259339dbeb53b707508e7ba8adbbd4656 |
|---|---|
| Ticket: | fa6bf38d0728fbc7c7146f798ce0e3e35c70146c
Execution of byte-code with recompile in-between breaks normal execution flow (e. g. disregards "return" or "break" commands). |
| User & Date: | sebres on 2019-08-26 17:01:25 |
Changes
- comment changed to:
Execution of byte-code after TEBC recompilation initiated from peephole breaks normal execution flow (e. g. disregards "return" or "break" commands) if some command or proc before would bump compiler epoch (cause recompile of a code in-between). PoC: <code><pre style="padding-left:10pt"> set i [interp create] $i eval {proc _recompile_ {} {rename set __set; rename __set set}} $i eval {puts A; puts B; return; puts C} $i eval {puts A; _recompile_; puts B; return; puts C} </pre></code> The last eval does not return before puts C. - login: "sebres"
- mimetype: "text/plain"
- title changed to:
Execution of byte-code with recompile in-between breaks normal execution flow (e. g. disregards "return" or "break" commands).