1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2025-01-03 11:50:55 +00:00

Fixed High8 handling in NdGetFullAccessMap.

This commit is contained in:
BITDEFENDER\vlutas 2022-01-03 12:25:35 +02:00
parent c9d4dbca0f
commit 63e3ee22a9
3 changed files with 10 additions and 3 deletions

View File

@ -100,7 +100,14 @@ NdGetFullAccessMap(
for (k = 0; k < pOp->Info.Register.Count; k++)
{
AccessMap->GprAccess[pOp->Info.Register.Reg + k] |= pOp->Access.Access;
if (pOp->Info.Register.IsHigh8)
{
AccessMap->GprAccess[pOp->Info.Register.Reg - 4 + k] |= pOp->Access.Access;
}
else
{
AccessMap->GprAccess[pOp->Info.Register.Reg + k] |= pOp->Access.Access;
}
}
}
break;

View File

@ -12,7 +12,7 @@ from setuptools import find_packages, setup, Command, Extension, Distribution
from codecs import open
VERSION = (0, 1, 3)
LIBRARY_VERSION = (1, 34, 8)
LIBRARY_VERSION = (1, 34, 9)
LIBRARY_INSTRUX_SIZE = 856
packages = ['pybddisasm']

View File

@ -7,6 +7,6 @@
#define DISASM_VERSION_MAJOR 1
#define DISASM_VERSION_MINOR 34
#define DISASM_VERSION_REVISION 8
#define DISASM_VERSION_REVISION 9
#endif // DISASM_VER_H