VirtualBox

Changeset 100339 in vbox for trunk/include


Ignore:
Timestamp:
Jul 2, 2023 10:49:17 PM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158057
Message:

iprt/asmdefs.mac: IBT endbr64/32 and notrack macros and related changes. [scm fixes] bugref:10406 ticketref:21435

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asmdefs.mac

    r100338 r100339  
    370370
    371371;;
    372 ; Macro for generating the endbr32/64 instruction when 
     372; Macro for generating the endbr32/64 instruction when
    373373; RT_WITH_IBT_BRANCH_PROTECTION is defined.
    374374%macro IBT_ENDBRxx 0
     
    385385
    386386;;
    387 ; Macro for generating the endbr32/64 instruction when 
     387; Macro for generating the endbr32/64 instruction when
    388388; RT_WITH_IBT_BRANCH_PROTECTION_WITHOUT_NOTRACK is defined.
    389389%macro IBT_ENDBRxx_WITHOUT_NOTRACK 0
     
    399399%endmacro
    400400
    401 ;; 
    402 ; Macro for generating a NOTRACK prefix to an indirect jmp or call 
     401;;
     402; Macro for generating a NOTRACK prefix to an indirect jmp or call
    403403; instruction when RT_WITH_IBT_BRANCH_PROTECTION is defined.
    404404;
     
    408408 %ifdef RT_WITH_IBT_BRANCH_PROTECTION
    409409  %ifndef RT_WITH_IBT_BRANCH_PROTECTION_WITHOUT_NOTRACK
    410         db      0x3e                    ; DS prefix.
    411   %endif     
     410        db      0x3e                    ; DS prefix.
     411  %endif
    412412 %endif
    413413%endmacro
     
    653653; Begins a procedure, raw version w/o automatic name mangling.
    654654; @param 1  The (raw) name.
    655 ; @param 2  Whether to manually apply IBT_ENDBRxx (1) or 
     655; @param 2  Whether to manually apply IBT_ENDBRxx (1) or
    656656;           not (0, default). Optional
    657657%macro BEGINPROC_RAW 1-2 0
     
    682682; @param 1  Internal name.
    683683; @param 2  Exported name.
    684 ; @param 3  Whether to manually apply IBT_ENDBRxx (1) or 
     684; @param 3  Whether to manually apply IBT_ENDBRxx (1) or
    685685;           not (0, default). Optional
    686686%macro BEGINPROC_EXPORTED_RAW 2-3 0
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