VirtualBox

Changeset 105759 in vbox


Ignore:
Timestamp:
Aug 21, 2024 12:14:56 PM (8 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164471
Message:

Disassembler/testcase: Add tstDisasmArmv8-1 testcase for testing the ARMv8 disassembler by checking the disassembled output against the original source for semantic equality, bugref:10394 [scm]

Location:
trunk/src/VBox/Disassembler/testcase
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/testcase/tstDisasmArmv8-1-asm.S

    r105758 r105759  
    7272        and x0, x0, #0xffff
    7373
     74        ret x30
     75
    7476.private_extern _TestProcA64_EndProc
    7577_TestProcA64_EndProc:
  • trunk/src/VBox/Disassembler/testcase/tstDisasmArmv8-1-tests.h

    r105748 r105759  
    2626 */
    2727
    28 #ifndef VBOX_INCLUDED_SRC_tstDisasmArmv8_1_tests_h
    29 #define VBOX_INCLUDED_SRC_tstDisasmArmv8_1_tests_h
     28#ifndef VBOX_INCLUDED_SRC_testcase_tstDisasmArmv8_1_tests_h
     29#define VBOX_INCLUDED_SRC_testcase_tstDisasmArmv8_1_tests_h
    3030#ifndef RT_WITHOUT_PRAGMA_ONCE
    3131# pragma once
     
    4141RT_C_DECLS_END
    4242
    43 #endif /* !VBOX_INCLUDED_SRC_tstDisasmArmv8_1_tests_h */
     43#endif /* !VBOX_INCLUDED_SRC_testcase_tstDisasmArmv8_1_tests_h */
    4444
  • trunk/src/VBox/Disassembler/testcase/tstDisasmArmv8-1.cpp

    r105758 r105759  
    166166    Rdr.pb = (const char *)pbSrc;
    167167    Rdr.cb = cbSrc;
    168     int rc = RTScriptLexCreateFromReader(&hLexSource, testDisasmLexerRead, 
     168    int rc = RTScriptLexCreateFromReader(&hLexSource, testDisasmLexerRead,
    169169                                         NULL /*pfnDtor*/, &Rdr /*pvUser*/, cbSrc,
    170170                                         NULL /*phStrCacheId*/, NULL /*phStrCacheStringLit*/,
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