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
What seems to be happening is that the ac in fldt gets misread as 2c, which shortens the instruction, causing the next few instructions to get mangled.
You can test this by adding a line to test-fp.c in the Refurbish tests:
intmain() {
entry();
printf("%.9f", -0.169075164); /* new line */return0;
}
This will cause a segfault when someone tries to access the nonsense pointer.
The text was updated successfully, but these errors were encountered:
Confirmed as a problem in either the disassembler or re-assembler. I have a test case in the roundtrip tests that exhibit the problem (not checked in yet since I don't have a fix yet)
(This came up in Refurbish, but it's almost certainly in Flexdis.)
The musl implementation of floating-point formatting has the instructions
Refurbish rewrites them as
What seems to be happening is that the
ac
infldt
gets misread as2c
, which shortens the instruction, causing the next few instructions to get mangled.You can test this by adding a line to
test-fp.c
in the Refurbish tests:This will cause a segfault when someone tries to access the nonsense pointer.
The text was updated successfully, but these errors were encountered: