VirtualBox

Changeset 41694 in vbox


Ignore:
Timestamp:
Jun 13, 2012 10:44:37 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78501
Message:

Disasm.cpp: Bug fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/Disasm.cpp

    r41690 r41694  
    9898    if (RT_SUCCESS(rc) && pszOutput && cbOutput)
    9999    {
    100         rc = DISFormatYasmEx(pCpu, pszOutput, cbOutput,
    101                              DIS_FMT_FLAGS_BYTES_LEFT | DIS_FMT_FLAGS_BYTES_BRACKETS | DIS_FMT_FLAGS_BYTES_SPACED
    102                              | DIS_FMT_FLAGS_RELATIVE_BRANCH | DIS_FMT_FLAGS_ADDR_LEFT,
    103                              NULL /*pfnGetSymbol*/, NULL /*pvUser*/);
    104         size_t cch = strlen(pszOutput);
     100        size_t cch = DISFormatYasmEx(pCpu, pszOutput, cbOutput,
     101                                     DIS_FMT_FLAGS_BYTES_LEFT | DIS_FMT_FLAGS_BYTES_BRACKETS | DIS_FMT_FLAGS_BYTES_SPACED
     102                                     | DIS_FMT_FLAGS_RELATIVE_BRANCH | DIS_FMT_FLAGS_ADDR_LEFT,
     103                                     NULL /*pfnGetSymbol*/, NULL /*pvUser*/);
    105104        if (cch < cbOutput)
    106105        {
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