sstangl opened Issue #1309:
Reported in https://github.com/bytecodealliance/cranelift/issues/1305 and fixed (by partially reverting a patch in https://github.com/bytecodealliance/cranelift/pull/1308), it appears that when
brzandbrnzare emitted with runtime-inferredREXprefixes (and therefore don't have constant instruction size), the code can jump into the middle of nowhere.https://github.com/bytecodealliance/cranelift/pull/1308 changed
brzandbrnzback to using separate encodings for REX and non-REX to prevent crashes in the meantime. This issue is to find the cause and fix it.STR are in https://github.com/bytecodealliance/cranelift/issues/1305 but I was not able to reproduce it locally.
sstangl labeled Issue #1309:
Reported in https://github.com/bytecodealliance/cranelift/issues/1305 and fixed (by partially reverting a patch in https://github.com/bytecodealliance/cranelift/pull/1308), it appears that when
brzandbrnzare emitted with runtime-inferredREXprefixes (and therefore don't have constant instruction size), the code can jump into the middle of nowhere.https://github.com/bytecodealliance/cranelift/pull/1308 changed
brzandbrnzback to using separate encodings for REX and non-REX to prevent crashes in the meantime. This issue is to find the cause and fix it.STR are in https://github.com/bytecodealliance/cranelift/issues/1305 but I was not able to reproduce it locally.
alexcrichton transferred Issue #1309:
Reported in https://github.com/bytecodealliance/cranelift/issues/1305 and fixed (by partially reverting a patch in https://github.com/bytecodealliance/cranelift/pull/1308), it appears that when
brzandbrnzare emitted with runtime-inferredREXprefixes (and therefore don't have constant instruction size), the code can jump into the middle of nowhere.https://github.com/bytecodealliance/cranelift/pull/1308 changed
brzandbrnzback to using separate encodings for REX and non-REX to prevent crashes in the meantime. This issue is to find the cause and fix it.STR are in https://github.com/bytecodealliance/cranelift/issues/1305 but I was not able to reproduce it locally.
Last updated: Dec 06 2025 at 06:05 UTC