mirror of
https://github.com/bitdefender/bddisasm.git
synced 2024-12-22 14:08:08 +00:00
https://github.com/bitdefender/bddisasm/issues/70 - fixed OF setting on ROR.
This commit is contained in:
parent
9c6b5429c9
commit
f62c8a2238
@ -2221,7 +2221,7 @@ ShemuEmulate(
|
||||
|
||||
if ((cnt & cntmask) == 1)
|
||||
{
|
||||
SET_FLAG(Context, NDR_RFLAG_OF, ND_MSB(dst.Size, dst.Value.Qwords[0]) ^ tempCF);
|
||||
SET_FLAG(Context, NDR_RFLAG_OF, ND_MSB(dst.Size, dst.Value.Qwords[0]) ^ ND_GET_BIT(dst.Size * 8ULL - 2, dst.Value.Qwords[0]));
|
||||
}
|
||||
}
|
||||
|
||||
|
Binary file not shown.
@ -12,6 +12,6 @@
|
||||
// bdshemu depends on bddisasm. It cannot be used without it.
|
||||
#define SHEMU_VERSION_MAJOR 1
|
||||
#define SHEMU_VERSION_MINOR 1
|
||||
#define SHEMU_VERSION_REVISION 11
|
||||
#define SHEMU_VERSION_REVISION 12
|
||||
|
||||
#endif // DISASM_VER_H
|
||||
|
Loading…
Reference in New Issue
Block a user