You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears when the memset() function call gets inlined, it is implemented with the instruction:
rep stosq %es:(%rdi)
x64asm claims this is not encodable within 3 bytes, probably due to the segment register (which on 64 is always zero anyway, but is the only way to encode stosq)
The text was updated successfully, but these errors were encountered:
The underlying problem is that we don't have sandbox support for any rep
instructions. This shouldn't be too hard to add, but it will require
mucking with the sandbox code. I'm not sure about x64asm support.
The easiest workaround is to get your compiler to create a real loop that
does memset and inline that.
On Jun 1, 2016 12:22, "Jason R Koenig" [email protected] wrote:
It appears when the memset() function call gets inlined, it is implemented
with the instruction:
rep stosq %es:(%rdi)
x64asm claims this is not encodable within 3 bytes, probably due to the
segment register (which on 64 is always zero anyway, but is the only way to
encode stosq)
It appears when the memset() function call gets inlined, it is implemented with the instruction:
rep stosq %es:(%rdi)
x64asm claims this is not encodable within 3 bytes, probably due to the segment register (which on 64 is always zero anyway, but is the only way to encode stosq)
The text was updated successfully, but these errors were encountered: