Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting xmm registers fail #13090

Closed
bannsec opened this issue Feb 13, 2019 · 1 comment
Closed

Setting xmm registers fail #13090

bannsec opened this issue Feb 13, 2019 · 1 comment
Labels

Comments

@bannsec
Copy link
Contributor

bannsec commented Feb 13, 2019

Work environment

Questions Answers
OS/arch/bits (mandatory) Ubuntu x86 64
File format of the file you reverse (mandatory) ELF
Architecture/bits of the file (mandatory) x86/64
r2 -v full output, not truncated (mandatory) radare2 3.3.0-git 81 @ linux-x86-64 git.3.3.0-git commit: 69ed848 build: 2019-02-13__23:04:54

Expected behavior

Running dr xmm0l=0x10 will set xmm0l to be 0x10.

Actual behavior

xmm0l is unchanged.

Steps to reproduce the behavior

  • r2 -d /bin/ls
  • drt all # Just to see what the current value is
  • dr xmm0l=0x10 # Try to set it
  • drt all # verify it didn't set

Additional Logs, screenshots, source-code, configuration dump, ...

@koyaan
Copy link
Contributor

koyaan commented Oct 26, 2019

This appears to have been fixed by correcting the register profile.

[0x004000b0]> dr xmm0l=0xAABBCCDD
[0x004000b0]> dr xmm0h=0x31337
[0x004000b0]> dr xmm0
0x00000000aabbccdd0000000000031337

@radare radare closed this as completed Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants