VirtualBox

Changeset 103627 in vbox


Ignore:
Timestamp:
Mar 1, 2024 1:04:15 AM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161986
Message:

VMM/IEM: Obfuscate most variable indexes we pass around in strict builds so we easily catch register/variable index mixups. [arm build fix] bugref:10371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllN8veRecompiler.cpp

    r103624 r103627  
    1340613406     */
    1340713407    IEMNATIVE_ASSERT_VAR_IDX(pReNative, idxVarUnmapInfo);
     13408#if defined(VBOX_STRICT) || defined(RT_ARCH_AMD64)
    1340813409    PIEMNATIVEVAR const pVarUnmapInfo = &pReNative->Core.aVars[IEMNATIVE_VAR_IDX_UNPACK(idxVarUnmapInfo)];
     13410#endif
    1340913411    Assert(pVarUnmapInfo->enmKind == kIemNativeVarKind_Stack);
    1341013412    Assert(   pVarUnmapInfo->idxReg       < RT_ELEMENTS(pReNative->Core.aHstRegs)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette