VirtualBox

Changeset 107325 in vbox


Ignore:
Timestamp:
Dec 13, 2024 6:11:36 PM (2 months ago)
Author:
vboxsync
Message:

/Config.kmk,ValKit/Config.kmk: Moved the stupid signing/AV hack from ValKit to VBoxR3Exe and all its descendants.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r107304 r107325  
    64036403  TEMPLATE_VBoxR3Exe_LDFLAGS.asan       = -InferAsanLibs:No
    64046404 endif
     6405 # HACK ALERT! The changing of .text to .x86code is to prevent some stupid AV software from falsely classfying bs3-timing-1.exe,
     6406 # tstRTNoCrt-5.exe and others as problematic and tripping up the code signing process. The .rdata -> .rodata is probably not
     6407 # needed (but could help since changing the amount of string data generated from */err.h also helps avoiding false positives).
     6408 TEMPLATE_VBoxR3Exe_LDFLAGS.win.x86   += -Merge:.text=.x86code -Merge:.rdata=.rodata
     6409 TEMPLATE_VBoxR3Exe_LDFLAGS.win.amd64 += -Merge:.text=.x86code -Merge:.rdata=.rodata
    64056410
    64066411 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140"
     
    64536458  TEMPLATE_VBoxR3Exe_POST_CMDS.win.x86 = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION) $(out)$$(NLTAB)$(TEMPLATE_VBoxR3Exe_POST_CMDS))
    64546459  TEMPLATE_VBoxR3Exe_LNK_DEPS.win.x86  = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION))
    6455   TEMPLATE_VBoxR3Exe_LDFLAGS.win.x86   = \
     6460  TEMPLATE_VBoxR3Exe_LDFLAGS.win.x86  += \
    64566461        -Include:_vcc100_kernel32_fakes_cpp \
    64576462        -Include:_vcc100_kernel32_fakes_asm
  • trunk/src/VBox/ValidationKit/Config.kmk

    r107318 r107325  
    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 #
    6054TEMPLATE_VBoxValidationKitR3Base = VBox Validation Kit ring-3 program base, both guest and host.
    6155TEMPLATE_VBoxValidationKitR3Base_EXTENDS          = VBoxR3Static
    6256ifeq ($(KBUILD_TARGET),win)
    6357 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
    6658else ifn1of ($(KBUILD_TARGET), darwin solaris win)
    6759 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