mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-27 00:28:14 +00:00
--frame-red-zone replaces a leaf's prologue and each exit with a 5-byte jump to a stub, so it skipped leaves whose pushes or pop-and-ret exit were shorter than that, and leaves with neither pushes nor an allocation. A short prologue now takes in the straight-line instructions after it and a short exit those before it, re-encoded in the stub with the moved displacement. Widening stops at branches, rets, RIP-relative instructions, pushes and pops, and the leaf is skipped when a branch targets the instructions taken in or the first instruction of a widened prologue, or when a leaf without pushes pushes or pops. Co-Authored-By: Claude Opus 5.5 <[email protected]>