VirtualBox

Changeset 107318 in vbox


Ignore:
Timestamp:
Dec 13, 2024 1:25:56 PM (7 weeks ago)
Author:
vboxsync
Message:

ValKit/Config.kmk: Stupid signing/AV hack for bs3-timing-1.exe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/Config.kmk

    r106688 r107318  
    5252# static version of our own libraries and not the system libs.
    5353#
     54# HACK ALERT! The changing of .text to .x86code is to prevent some stupid AV
     55#             software from falsly classifying bs3-timing-1.exe as problmatic
     56#             and tripping up the signing process.  The .rdata -> .rodata is
     57#             probably not needed (but could help since changing the amount
     58#             of string data generated from */err.h makes a difference).
     59#
    5460TEMPLATE_VBoxValidationKitR3Base = VBox Validation Kit ring-3 program base, both guest and host.
    5561TEMPLATE_VBoxValidationKitR3Base_EXTENDS          = VBoxR3Static
    5662ifeq ($(KBUILD_TARGET),win)
    5763 TEMPLATE_VBoxValidationKitR3Base_LDFLAGS         = $(filter-out -IntegrityCheck, $(TEMPLATE_VBoxR3Static_LDFLAGS))
     64 TEMPLATE_VBoxValidationKitR3Base_LDFLAGS.x86     = $(TEMPLATE_VBoxR3Static_LDFLAGS.x86)   -Merge:.rdata=.rodata -Merge:.text=.x86code
     65 TEMPLATE_VBoxValidationKitR3Base_LDFLAGS.amd64   = $(TEMPLATE_VBoxR3Static_LDFLAGS.amd64) -Merge:.rdata=.rodata -Merge:.text=.x86code
    5866else ifn1of ($(KBUILD_TARGET), darwin solaris win)
    5967 TEMPLATE_VBoxValidationKitR3Base_CFLAGS          = $(filter-out -static, $(TEMPLATE_VBoxR3Static_CFLAGS))
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