VirtualBox

Changeset 105848 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Aug 23, 2024 4:05:23 PM (8 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164567
Message:

Disassembler/ARMv8: Support disassembling the load/store register offset instruction variants, bugref:10394

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/script/scriptlex.cpp

    r105760 r105848  
    913913    {
    914914        /* Some hex prefix? */
    915         if (RTScriptLexPeekCh(hScriptLex, 1) == 'x')
     915        char chNext = RTScriptLexPeekCh(hScriptLex, 1);
     916        if (chNext == 'x')
    916917        {
    917918            uBase = 16;
    918919            RTScriptLexConsumeCh(hScriptLex);
    919920        }
    920         else /* Octal stuff. */
     921        else if (chNext >= '0' && chNext <= '9') /* Octal stuff. */
    921922            AssertFailedReturn(VERR_NOT_IMPLEMENTED);
    922923
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