VirtualBox

Changeset 107417 in vbox


Ignore:
Timestamp:
Jan 6, 2025 2:14:09 PM (4 weeks ago)
Author:
vboxsync
Message:

Disassembler/DisasmCore-armv8.cpp: Explicitely cast the result to 64-bit before multiplying (overflow is impossible but silences parfait warning), bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmCore-armv8.cpp

    r107011 r107417  
    10771077
    10781078    pParam->armv8.enmType = kDisArmv8OpParmImm;
    1079     pParam->uValue = disArmV8ExtractBitVecFromInsn(u32Insn, pInsnParm->idxBitStart, pInsnParm->cBits) * 16;
     1079    pParam->uValue = (uint64_t)disArmV8ExtractBitVecFromInsn(u32Insn, pInsnParm->idxBitStart, pInsnParm->cBits) * 16;
    10801080    if (pParam->uValue <= UINT8_MAX)
    10811081    {
Note: See TracChangeset for help on using the changeset viewer.

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