VirtualBox

Changeset 93323 in vbox


Ignore:
Timestamp:
Jan 18, 2022 3:33:31 PM (3 years ago)
Author:
vboxsync
Message:

VBoxSupLib: Use SUPR3HardenedStatic for getting /guard stuff objects in hardened builds. Fixed uplicate object in SUPR3HardenedStatic. bugref:8489 bugref:10162

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r93320 r93323  
    441441   # These are for the /guard option.
    442442   SUPR3HardenedStatic_SOURCES.win += \
    443         $(SUPR3HardenedStatic_0_OUTDIR)/loadcfg.obj \
    444443        $(SUPR3HardenedStatic_0_OUTDIR)/gs_cookie.obj \
    445444        $(SUPR3HardenedStatic_0_OUTDIR)/guard_support.obj
     
    537536        win/VBoxSupLib.rc
    538537VBoxSupLib_LIBS.win.x86 = \
    539         $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.x86)_LIB)/chkstk.obj
     538        $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.x86)_LIB)/chkstk.obj
    540539VBoxSupLib_LIBS.win.amd64 = \
    541         $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.amd64)_LIB)/chkstk.obj
     540        $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.amd64)_LIB)/chkstk.obj
     541ifdef VBOX_WITH_HARDENING
     542 VBoxSupLib_LIBS.win = $(SUPR3HardenedStatic_1_TARGET) # includes the rest of the /guard:cf support stuff.
     543endif
    542544VBoxSupLib_VBOX_IMPORT_CHECKER.win.x86   = xp
    543545VBoxSupLib_VBOX_IMPORT_CHECKER.win.amd64 = xp64
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