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

ROR r11b, 1 //OF #70

Closed
icyfox168168 opened this issue Aug 1, 2022 · 1 comment
Closed

ROR r11b, 1 //OF #70

icyfox168168 opened this issue Aug 1, 2022 · 1 comment

Comments

@icyfox168168
Copy link

"\x55\x50\x48\x89\xE5\x68\x96\x02\x00\x00\x9D\x49\xC7\xC3\x82\x00\x00\x00\x41\xD0\xCB\x9C\x58\x48\x89\x45\x00\x48\x89\xE8\xB9\x0B\x00\x00\x00\x48\x0F\xA3\x08\xB8\x99\x00\x00\x00\x48\x83\xD0\xFF\x48\x83\xC4\x08\x5D\xC3"

long long asmadc()
{
long long ret = 0;
;

__asm
{
    push 0x296
    popf
    mov r11, 0x0000000000000082
    ROR       r11b, 1
}

ret = __readeflags();

if (_bittest64((LONG64*)&ret, RFLAG_OF))
{
    ret = 0x99;
}
else
{
    ret = 0x98;
}
return ret;

}

vlutas added a commit that referenced this issue Aug 1, 2022
@vlutas
Copy link
Collaborator

vlutas commented Aug 1, 2022

Fixed in f62c8a2.

@vlutas vlutas closed this as completed Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants