[Webkit-unassigned] [Bug 232373] New: Macro assembler scratchRegister() is unsafe on ARMv7, MIPS and RISCV64
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 27 04:43:52 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=232373
Bug ID: 232373
Summary: Macro assembler scratchRegister() is unsafe on ARMv7,
MIPS and RISCV64
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: glore at igalia.com
Handing out the MacroAssembler scratch register is unsafe on ARMv7, MIPS and RISCV64, because these macro assemblers do not respect the DisallowMacroScratchRegisterUsage RAII exclusion. Existing code happens to work, but is prone to silent errors on change. Example usage:
https://github.com/WebKit/WebKit/blob/4117bbbfeba9d1095ddd152b2ddc876bd8b641cc/Source/JavaScriptCore/bytecode/CallLinkInfo.cpp#L307-L310
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211027/2c974e76/attachment.htm>
More information about the webkit-unassigned
mailing list