- Timestamp:
- Jan 18, 2022 3:23:38 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r93297 r93322 2844 2844 if "$(KBUILD_TARGET)" == "linux" 2845 2845 VBOX_WITH_GCC_SANITIZER := 1 2846 else if "$(KBUILD_TARGET)" == "win" 2847 VBOX_WITH_VCC_SANITIZER := 1 2846 2848 else 2847 2849 VBOX_WITH_EF_WRAPS := 1 … … 2887 2889 VBOX_GCC_SANITIZER_LDFLAGS += -lasan 2888 2890 endif 2891 endif 2892 2893 # The config for Visual C++ 2019 update 9 and later. 2894 ifdef VBOX_WITH_VCC_SANITIZER 2895 VBOX_VCC_SANITIZER_FLAGS := -fsanitize=address -fno-sanitize-address-vcasan-lib 2896 # experimental: VBOX_VCC_SANITIZER_FLAGS += /fsanitize-address-use-after-return 2897 VBOX_VCC_SANITIZER_LDFLAGS := 2898 else 2899 VBOX_VCC_SANITIZER_FLAGS := 2900 VBOX_VCC_SANITIZER_LDFLAGS := 2889 2901 endif 2890 2902 … … 5793 5805 endif 5794 5806 TEMPLATE_VBOXR3EXE_CXXFLAGS = -Zi -Zl -GR- -EHsc -GF -MD$(VBOX_VCC_CRT_TYPE) -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) \ 5795 -Gy $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_ WARN_ALL) $(VBOX_VCC_WERR)5807 -Gy $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_SANITIZER_FLAGS) $(VBOX_VCC_WARN_ALL) $(VBOX_VCC_WERR) 5796 5808 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC120" 5797 5809 TEMPLATE_VBOXR3EXE_CXXFLAGS += -Gw … … 5813 5825 TEMPLATE_VBOXR3EXE_LDFLAGS = -Ignore:4197 \ 5814 5826 /NOD /INCREMENTAL:NO /MAPINFO:EXPORTS /LargeAddressAware /DynamicBase /NxCompat /Release /Debug /Opt:Ref /Opt:Icf \ 5815 $(VBOX_VCC_LD_GUARD_CF) \5827 $(VBOX_VCC_LD_GUARD_CF) $(VBOX_VCC_SANITIZER_LDFLAGS) \ 5816 5828 /Version:$(VBOX_VERSION_MAJOR)0$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ 5817 5829 /STUB:$(PATH_ROOT)/src/VBox/HostDrivers/Support/win/winstub.com \ … … 5841 5853 $(PATH_TOOL_$(TEMPLATE_VBOXR3EXE_TOOL.win.amd64)_LIB)/msvcprt$(VBOX_VCC_CRT_TYPE).lib \ 5842 5854 $(PATH_TOOL_$(TEMPLATE_VBOXR3EXE_TOOL.win.amd64)_LIB)/oldnames.lib 5855 ifeq ($(KBUILD_TYPE),asan) 5856 TEMPLATE_VBOXR3EXE_LIBS.x86 += \ 5857 $(PATH_TOOL_$(TEMPLATE_VBOXR3EXE_TOOL.win.x86)_LIB)/clang_rt.asan_dynamic-i386.lib \ 5858 $(PATH_TOOL_$(TEMPLATE_VBOXR3EXE_TOOL.win.x86)_LIB)/clang_rt.asan_dynamic_runtime_thunk-i386.lib 5859 TEMPLATE_VBOXR3EXE_LIBS.amd64 += \ 5860 $(PATH_TOOL_$(TEMPLATE_VBOXR3EXE_TOOL.win.amd64)_LIB)/clang_rt.asan_dynamic-x86_64.lib \ 5861 $(PATH_TOOL_$(TEMPLATE_VBOXR3EXE_TOOL.win.amd64)_LIB)/clang_rt.asan_dynamic_runtime_thunk-x86_64.lib 5862 endif 5843 5863 else 5844 5864 TEMPLATE_VBOXR3EXE_LIBS.x86 = \ … … 6141 6161 $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.amd64)_LIB)/libcpmt$(VBOX_VCC_CRT_TYPE).lib \ 6142 6162 $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.amd64)_LIB)/oldnames.lib 6163 ifeq ($(KBUILD_TYPE),asan) 6164 TEMPLATE_VBOXR3STATIC_LIBS.x86 += \ 6165 $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.x86)_LIB)/clang_rt.asan-i386.lib \ 6166 $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.x86)_LIB)/clang_rt.asan_cxx-i386.lib 6167 TEMPLATE_VBOXR3STATIC_LIBS.amd64 += \ 6168 $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.amd64)_LIB)/clang_rt.asan-x86_64.lib \ 6169 $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.amd64)_LIB)/clang_rt.asan_cxx-x86_64.lib 6170 endif 6143 6171 else 6144 6172 TEMPLATE_VBOXR3STATIC_LIBS.x86 = \ … … 6217 6245 TEMPLATE_VBoxR3Static_LIBS += kstat 6218 6246 endif 6247 endif 6248 6249 # 6250 # A DLL capable version of VBoxR3Static 6251 # 6252 TEMPLATE_VBoxR3StaticDll = VBox Static Ring-3 DLL 6253 TEMPLATE_VBoxR3StaticDll_EXTENDS = VBoxR3Static 6254 if "$(KBUILD_TARGET)" == "win" && "$(KBUILD_TYPE)" == "asan" 6255 TEMPLATE_VBoxR3StaticDll_LIBS.x86 = $(patsubst %clang_rt.asan-i386.lib, %clang_rt.asan_dll_thunk-i386.lib, $(filter-out %clang_rt.asan_cxx-i386.lib,$(TEMPLATE_VBoxR3Static_LIBS.x86))) 6256 TEMPLATE_VBoxR3StaticDll_LIBS.amd64 = $(patsubst %clang_rt.asan-x86_64.lib, %clang_rt.asan_dll_thunk-x86_64.lib, $(filter-out %clang_rt.asan_cxx-x86_64.lib,$(TEMPLATE_VBoxR3Static_LIBS.amd64))) 6219 6257 endif 6220 6258 … … 6259 6297 $(PATH_TOOL_$(TEMPLATE_VBoxR3StaticNoCrt_TOOL.win.x86)_LIB)/chkstk.obj 6260 6298 TEMPLATE_VBoxR3StaticNoCrt_SDKS.win.x86 += VBOX_WIN_INT64 6261 TEMPLATE_VBoxR3StaticNoCrt_LDFLAGS = $(filter-out $(VBOX_VCC_LD_GUARD_CF) , $(TEMPLATE_VBoxR3Static_LDFLAGS))6299 TEMPLATE_VBoxR3StaticNoCrt_LDFLAGS = $(filter-out $(VBOX_VCC_LD_GUARD_CF) $(VBOX_VCC_SANITIZER_LDFLAGS), $(TEMPLATE_VBoxR3Static_LDFLAGS)) 6262 6300 TEMPLATE_VBoxR3StaticNoCrt_LDFLAGS.win.x86 = $(filter-out -Include%, $(TEMPLATE_VBoxR3Static_LDFLAGS.win.x86)) 6263 TEMPLATE_VBoxR3StaticNoCrt_CFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) ,$(TEMPLATE_VBoxR3Static_CFLAGS)) /GS- -EHs-6264 TEMPLATE_VBoxR3StaticNoCrt_CXXFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) ,$(TEMPLATE_VBoxR3Static_CXXFLAGS)) /GS- -EHs-6265 TEMPLATE_VBoxR3StaticNoCrt_PCHFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) ,$(TEMPLATE_VBoxR3Static_PCHFLAGS)) /GS- -EHs-6301 TEMPLATE_VBoxR3StaticNoCrt_CFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_SANITIZER_FLAGS),$(TEMPLATE_VBoxR3Static_CFLAGS)) /GS- -EHs- 6302 TEMPLATE_VBoxR3StaticNoCrt_CXXFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_SANITIZER_FLAGS),$(TEMPLATE_VBoxR3Static_CXXFLAGS)) /GS- -EHs- 6303 TEMPLATE_VBoxR3StaticNoCrt_PCHFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_SANITIZER_FLAGS),$(TEMPLATE_VBoxR3Static_PCHFLAGS)) /GS- -EHs- 6266 6304 TEMPLATE_VBoxR3StaticNoCrt_CXXFLAGS.debug = $(filter-out /RTC% -RTC%, $(TEMPLATE_VBoxR3Static_CXXFLAGS.debug)) 6267 6305 else … … 6831 6869 endif 6832 6870 TEMPLATE_VBOXMAINEXE_CXXFLAGS = -Zi -Zl -GR -EHsc -GF -MD$(VBOX_VCC_CRT_TYPE) -Zc:wchar_t- \ 6833 $(VBOX_VCC_OPT) $(VBOX_VCC_FP) $(VBOX_VCC_CC_GUARD_CF) 6871 $(VBOX_VCC_OPT) $(VBOX_VCC_FP) $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_SANITIZER_FLAGS) 6834 6872 # -wd4625: 'DisplaySourceBitmap' : copy constructor could not be generated because a base class copy constructor is inaccessible 6835 6873 # -wd4626: 'DisplaySourceBitmap' : assignment operator could not be generated because a base class assignment operator is inaccessible … … 6857 6895 TEMPLATE_VBOXMAINEXE_LDFLAGS = -Ignore:4197 \ 6858 6896 /NOD /INCREMENTAL:NO /MAPINFO:EXPORTS /LargeAddressAware /DynamicBase /NxCompat /Release /Debug /Opt:Ref /Opt:Icf \ 6859 $(VBOX_VCC_LD_GUARD_CF) \6897 $(VBOX_VCC_LD_GUARD_CF) $(VBOX_VCC_SANITIZER_LDFLAGS) \ 6860 6898 /Version:$(VBOX_VERSION_MAJOR)0$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ 6861 6899 /STUB:$(PATH_ROOT)/src/VBox/HostDrivers/Support/win/winstub.com \ … … 6892 6930 $(PATH_TOOL_$(TEMPLATE_VBOXMAINEXE_TOOL.win.amd64)_LIB)/msvcprt$(VBOX_VCC_CRT_TYPE).lib \ 6893 6931 $(PATH_TOOL_$(TEMPLATE_VBOXMAINEXE_TOOL.win.amd64)_LIB)/oldnames.lib 6932 ifeq ($(KBUILD_TYPE),asan) 6933 TEMPLATE_VBOXMAINEXE_LIBS.x86 += \ 6934 $(PATH_TOOL_$(TEMPLATE_VBOXMAINEXE_TOOL.win.x86)_LIB)/clang_rt.asan_dynamic-i386.lib \ 6935 $(PATH_TOOL_$(TEMPLATE_VBOXMAINEXE_TOOL.win.x86)_LIB)/clang_rt.asan_dynamic_runtime_thunk-i386.lib 6936 TEMPLATE_VBOXMAINEXE_LIBS.amd64 += \ 6937 $(PATH_TOOL_$(TEMPLATE_VBOXMAINEXE_TOOL.win.amd64)_LIB)/clang_rt.asan_dynamic-x86_64.lib \ 6938 $(PATH_TOOL_$(TEMPLATE_VBOXMAINEXE_TOOL.win.amd64)_LIB)/clang_rt.asan_dynamic_runtime_thunk-x86_64.lib 6939 endif 6894 6940 else 6895 6941 TEMPLATE_VBOXMAINEXE_LIBS.x86 = \ … … 7480 7526 QT_DLL _CRT_SECURE_NO_DEPRECATE \ 7481 7527 $(QMAKE_PRL_DEFINES) 7482 TEMPLATE_VBOXQTGUIEXE_CXXFLAGS = -nologo -Zm200 -MD -Zi -EHsc -Zc:wchar_t- $(VBOX_VCC_CC_GUARD_CF) 7528 TEMPLATE_VBOXQTGUIEXE_CXXFLAGS = -nologo -Zm200 -MD -Zi -EHsc -Zc:wchar_t- $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_SANITIZER_FLAGS) 7483 7529 # -wd4481: nonstandard extension used: override specifier 'override' 7484 7530 # -wd4625: 'QRubberBand' : copy constructor could not be generated because a base class copy constructor is inaccessible … … 7523 7569 TEMPLATE_VBOXQTGUIEXE_LDFLAGS = -Ignore:4197 \ 7524 7570 /NOD /INCREMENTAL:NO /MAPINFO:EXPORTS /LargeAddressAware /DynamicBase /NxCompat /Release /Debug /Opt:Ref /Opt:Icf \ 7525 $(VBOX_VCC_LD_GUARD_CF) \7571 $(VBOX_VCC_LD_GUARD_CF) $(VBOX_VCC_SANITIZER_LDFLAGS) \ 7526 7572 /Version:$(VBOX_VERSION_MAJOR)0$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ 7527 7573 /STUB:$(PATH_ROOT)/src/VBox/HostDrivers/Support/win/winstub.com … … 7542 7588 $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/oldnames.lib \ 7543 7589 $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib 7590 ifeq ($(KBUILD_TYPE),asan) 7591 TEMPLATE_VBOXQTGUIEXE_LIBS += \ 7592 $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/clang_rt.asan_dynamic-x86_64.lib \ 7593 $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/clang_rt.asan_dynamic_runtime_thunk-x86_64.lib 7594 endif 7544 7595 else 7545 7596 TEMPLATE_VBOXQTGUIEXE_LIBS = \ … … 8067 8118 $(PATH_TOOL_$(TEMPLATE_VBOXGUESTR3EXE_TOOL.win.amd64)_LIB)/libcpmt$(VBOX_VCC_CRT_TYPE).lib \ 8068 8119 $(PATH_TOOL_$(TEMPLATE_VBOXGUESTR3EXE_TOOL.win.amd64)_LIB)/oldnames.lib 8120 ifeq ($(KBUILD_TYPE),asan) 8121 TEMPLATE_VBOXGUESTR3EXE_LIBS.x86 += \ 8122 $(PATH_TOOL_$(TEMPLATE_VBOXGUESTR3EXE_TOOL.win.x86)_LIB)/clang_rt.asan-i386.lib \ 8123 $(PATH_TOOL_$(TEMPLATE_VBOXGUESTR3EXE_TOOL.win.x86)_LIB)/clang_rt.asan_cxx-i386.lib 8124 TEMPLATE_VBOXGUESTR3EXE_LIBS.amd64 += \ 8125 $(PATH_TOOL_$(TEMPLATE_VBOXGUESTR3EXE_TOOL.win.amd64)_LIB)/clang_rt.asan-x86_64.lib \ 8126 $(PATH_TOOL_$(TEMPLATE_VBOXGUESTR3EXE_TOOL.win.amd64)_LIB)/clang_rt.asan_cxx-x86_64.lib 8127 endif 8069 8128 else 8070 8129 TEMPLATE_VBOXGUESTR3EXE_LIBS.x86 = \ … … 8175 8234 TEMPLATE_VBOXGUESTR3DLL_EXTENDS = VBOXGUESTR3EXE 8176 8235 ## @todo add a INSTFUN that separates dlls and libs. 8177 ifn1of ($(KBUILD_TARGET), darwin os2 win) 8236 ifeq ($(KBUILD_TARGET),win) 8237 ifeq ($(KBUILD_TYPE),asan) 8238 TEMPLATE_VBOXGUESTR3DLL_LIBS.x86 = $(patsubst %clang_rt.asan-i386.lib, %clang_rt.asan_dll_thunk-i386.lib, $(filter-out %clang_rt.asan_cxx-i386.lib,$(TEMPLATE_VBOXGUESTR3EXE_LIBS.x86))) 8239 TEMPLATE_VBOXGUESTR3DLL_LIBS.amd64 = $(patsubst %clang_rt.asan-x86_64.lib, %clang_rt.asan_dll_thunk-x86_64.lib, $(filter-out %clang_rt.asan_cxx-x86_64.lib,$(TEMPLATE_VBOXGUESTR3EXE_LIBS.amd64))) 8240 endif 8241 else ifn1of ($(KBUILD_TARGET), darwin os2 win) 8178 8242 TEMPLATE_VBOXGUESTR3DLL_DEFS = $(TEMPLATE_VBOXGUESTR3EXE_DEFS) PIC 8179 8243 TEMPLATE_VBOXGUESTR3DLL_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fPIC … … 8319 8383 $(PATH_TOOL_$(TEMPLATE_VBoxGuestR3NoCrtExe_TOOL.win.x86)_LIB)/chkstk.obj 8320 8384 TEMPLATE_VBoxGuestR3NoCrtExe_SDKS.win.x86 = VBOX_WIN_INT64 8321 TEMPLATE_VBoxGuestR3NoCrtExe_LDFLAGS = $(filter-out $(VBOX_VCC_LD_GUARD_CF) , $(TEMPLATE_VBoxGuestR3Exe_LDFLAGS))8385 TEMPLATE_VBoxGuestR3NoCrtExe_LDFLAGS = $(filter-out $(VBOX_VCC_LD_GUARD_CF) $(VBOX_VCC_SANITIZER_LDFLAGS), $(TEMPLATE_VBoxGuestR3Exe_LDFLAGS)) 8322 8386 TEMPLATE_VBoxGuestR3NoCrtExe_LDFLAGS.win.x86 = $(filter-out -Include%, $(TEMPLATE_VBoxGuestR3Exe_LDFLAGS.win.x86)) 8323 8387 TEMPLATE_VBoxGuestR3NoCrtExe_LDFLAGS.win = $(TEMPLATE_VBoxGuestR3Exe_LDFLAGS.win) /entry:CustomMainEntrypoint /subsystem:console 8324 TEMPLATE_VBoxGuestR3NoCrtExe_CFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) ,$(TEMPLATE_VBoxGuestR3Exe_CFLAGS)) /GS- -EHs-8325 TEMPLATE_VBoxGuestR3NoCrtExe_CXXFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) ,$(TEMPLATE_VBoxGuestR3Exe_CXXFLAGS)) /GS- -EHs-8326 TEMPLATE_VBoxGuestR3NoCrtExe_PCHFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) ,$(TEMPLATE_VBoxGuestR3Exe_PCHFLAGS)) /GS- -EHs-8388 TEMPLATE_VBoxGuestR3NoCrtExe_CFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_SANITIZER_FLAGS),$(TEMPLATE_VBoxGuestR3Exe_CFLAGS)) /GS- -EHs- 8389 TEMPLATE_VBoxGuestR3NoCrtExe_CXXFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_SANITIZER_FLAGS),$(TEMPLATE_VBoxGuestR3Exe_CXXFLAGS)) /GS- -EHs- 8390 TEMPLATE_VBoxGuestR3NoCrtExe_PCHFLAGS = $(filter-out -EH% -GS $(VBOX_VCC_CC_GUARD_CF) $(VBOX_VCC_SANITIZER_FLAGS),$(TEMPLATE_VBoxGuestR3Exe_PCHFLAGS)) /GS- -EHs- 8327 8391 TEMPLATE_VBoxGuestR3NoCrtExe_CXXFLAGS.debug = $(filter-out /RTC% -RTC%, $(TEMPLATE_VBoxGuestR3Exe_CXXFLAGS.debug)) 8328 8392 else -
trunk/Makefile.kmk
r93115 r93322 142 142 $(addsuffix d.dll,$(basename $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS)))) \ 143 143 ,$(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(redistdll),x86)=>x86/$(qnotdir ,$(redistdll))) 144 endif 145 endif 146 ifeq ($(KBUILD_TYPE),asan) 147 ifeq ($(KBUILD_TARGET_ARCH),amd64) 148 InstallExternalLibs_SOURCES += \ 149 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll) \ 150 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dynamic-x86_64.dll 151 ifeq ($(VBOX_VCC_CRT_TYPE),d) 152 InstallExternalLibs_SOURCES += \ 153 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll) \ 154 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)AMD64_BIN)/clang_rt.asan_dbg_dynamic-x86_64.dll)=>testcase/clang_rt.asan_dbg_dynamic-x86_64.dll 155 endif 156 endif 157 ifeq ($(KBUILD_TARGET_ARCH),x86) 158 InstallExternalLibs_SOURCES += \ 159 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll) \ 160 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll)=>testcase/clang_rt.asan_dynamic-i386.dll 161 ifeq ($(VBOX_VCC_CRT_TYPE),d) 162 InstallExternalLibs_SOURCES += \ 163 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll) \ 164 $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll)=>testcase/clang_rt.asan_dbg_dynamic-i386.dll 165 endif 166 endif 167 ifdef VBOX_WITH_32_ON_64_MAIN_API 168 InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dynamic-i386.dll 169 ifeq ($(VBOX_VCC_CRT_TYPE),d) 170 InstallExternalLibs_SOURCES += $(call VBOX_RE_SIGN_DLL_FN,InstallExternalLibs,$(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_BIN)/clang_rt.asan_dbg_dynamic-i386.dll,x86)=>x86/clang_rt.asan_dbg_dynamic-i386.dll 171 endif 144 172 endif 145 173 endif -
trunk/src/VBox/Additions/WINNT/Graphics/Video/Makefile.kmk
r93115 r93322 128 128 ifdef VBOX_WITH_MESA3D 129 129 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxNine.dll: $$(VBoxNine_1_TARGET) | $$(dir $$@) 130 $(INSTALL) -m 644 $< $(@D)130 $(INSTALL) -m 644 "$<" "$(@D)" 131 131 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxSVGA.dll: $$(VBoxSVGA_1_TARGET) | $$(dir $$@) 132 $(INSTALL) -m 644 $< $(@D)132 $(INSTALL) -m 644 "$<" "$(@D)" 133 133 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxICD.dll: $$(VBoxICD_1_TARGET) | $$(dir $$@) 134 $(INSTALL) -m 644 $< $(@D)134 $(INSTALL) -m 644 "$<" "$(@D)" 135 135 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxGL.dll: $$(VBoxGL_1_TARGET) | $$(dir $$@) 136 $(INSTALL) -m 644 $< $(@D)136 $(INSTALL) -m 644 "$<" "$(@D)" 137 137 138 138 ifeq ($(KBUILD_TARGET_ARCH),amd64) -
trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk
r93115 r93322 325 325 # 326 326 DLLS.win += VBoxNetFltNobj 327 VBoxNetFltNobj_TEMPLATE = VBoxR3Static 327 VBoxNetFltNobj_TEMPLATE = VBoxR3StaticDll 328 328 if defined(VBOX_SIGNING_MODE) 329 329 VBoxNetFltNobj_INSTTYPE = none -
trunk/src/VBox/Installer/win/InstallHelper/Makefile.kmk
r93115 r93322 20 20 21 21 DLLS += VBoxInstallHelper 22 VBoxInstallHelper_TEMPLATE = VBoxR3Static 22 VBoxInstallHelper_TEMPLATE = VBoxR3StaticDll 23 23 VBoxInstallHelper_DEFS = _WIN32_WINNT=0x0501 _UNICODE UNICODE 24 24 VBoxInstallHelper_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV) -
trunk/src/VBox/Installer/win/Makefile.kmk
r93115 r93322 986 986 ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC110",msvcr110.dll msvcp110.dll \ 987 987 ,$(TOOL_$(VBOX_VCC_TOOL)_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL)_REDIST_CPP_DLLS))) \ 988 $(if-expr "$(KBUILD_TYPE)"=="asan",clang_rt.asan_dynamic-x86_64.dll,) \ 988 989 ,' <File Id="file_$(dll)" Name="$(dll)" Source="$$(env.PATH_OUT)\bin\$(dll)" />') \ 989 990 '</Include>' … … 1004 1005 ,$(if-expr "$(VBOX_VCC_TOOL_STEM)"=="VCC110",msvcr110.dll msvcp110.dll \ 1005 1006 ,$(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CRT_DLLS) $(TOOL_$(VBOX_VCC_TOOL_STEM)X86_REDIST_CPP_DLLS))) \ 1007 $(if-expr "$(KBUILD_TYPE)"=="asan",clang_rt.asan_dynamic-i386.dll,) \ 1006 1008 ,' <File Id="file_$(dll)_x86" Name="$(dll)" Source="$$(env.PATH_OUT)\bin\x86\$(dll)" DiskId="$$(var.Property_DiskIdCommon)" />') \ 1007 1009 '</Include>' -
trunk/src/VBox/Installer/win/Stub/Makefile.kmk
r93239 r93322 50 50 -DelayLoad:comctl32.dll 51 51 VBoxStub_POST_CMDS = $(VBOX_CHECK_IMPORTS) --image $(out) ntdll.dll kernel32.dll 52 ifeq ($(KBUILD_TYPE),asan) 53 VBoxStub_POST_CMDS += advapi32.dll 54 endif 52 55 VBoxStub_LNK_DEPS = $(VBOX_CHECK_IMPORTS) 53 56 -
trunk/tools/kBuildUnits/vboximportchecker.kmk
r93275 r93322 31 31 32 32 define def_unit_vboximportchecker_target_pre 33 # Do not apply to ASAN builds as it requires newere DLLs. 34 ifneq ($(KBUILD_TYPE),asan) 33 35 34 36 # Set pass 2 variable (simpler) and act on it. 35 $(target)_2_VBOX_IMPORT_CHECKER := $(evalcall def_fn_prop_get_first_defined,VBOX_IMPORT_CHECKER) 36 ifdef $(target)_2_VBOX_IMPORT_CHECKER 37 $(target)_LNK_ORDERDEPS += $(VBOX_RTLDRCHECKIMPORTS) 38 $(eval $(def_unit_vboximportchecker_internal_expand_twice)) 37 $(target)_2_VBOX_IMPORT_CHECKER := $(evalcall def_fn_prop_get_first_defined,VBOX_IMPORT_CHECKER) 38 ifdef $(target)_2_VBOX_IMPORT_CHECKER 39 $(target)_LNK_ORDERDEPS += $(VBOX_RTLDRCHECKIMPORTS) 40 $(eval $(def_unit_vboximportchecker_internal_expand_twice)) 41 endif 42 39 43 endif 40 44
Note:
See TracChangeset
for help on using the changeset viewer.