mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
build: remove *tests* and all coverage/DIA DLLs from binskim (#41108)
This thing files about 900 bugs a month on us. Before: ``` Done. 11,036 files scanned. ``` After: ``` Done. 4,753 files scanned. ```
This commit is contained in:
3
.github/actions/spell-check/expect.txt
vendored
3
.github/actions/spell-check/expect.txt
vendored
@@ -115,6 +115,7 @@ bigbar
|
|||||||
bigobj
|
bigobj
|
||||||
binlog
|
binlog
|
||||||
binres
|
binres
|
||||||
|
binskim
|
||||||
BITMAPFILEHEADER
|
BITMAPFILEHEADER
|
||||||
bitmapimage
|
bitmapimage
|
||||||
BITMAPINFO
|
BITMAPINFO
|
||||||
@@ -255,6 +256,7 @@ Corpor
|
|||||||
cotaskmem
|
cotaskmem
|
||||||
COULDNOT
|
COULDNOT
|
||||||
countof
|
countof
|
||||||
|
covrun
|
||||||
cpcontrols
|
cpcontrols
|
||||||
cph
|
cph
|
||||||
cplusplus
|
cplusplus
|
||||||
@@ -969,6 +971,7 @@ msc
|
|||||||
mscorlib
|
mscorlib
|
||||||
msctls
|
msctls
|
||||||
msdata
|
msdata
|
||||||
|
msdia
|
||||||
MSDL
|
MSDL
|
||||||
MSGFLT
|
MSGFLT
|
||||||
MSHCTX
|
MSHCTX
|
||||||
|
|||||||
@@ -64,6 +64,10 @@ extends:
|
|||||||
tsa:
|
tsa:
|
||||||
enabled: true
|
enabled: true
|
||||||
configFile: '$(Build.SourcesDirectory)\.pipelines\tsa.json'
|
configFile: '$(Build.SourcesDirectory)\.pipelines\tsa.json'
|
||||||
|
binskim:
|
||||||
|
enabled: true
|
||||||
|
# Exclude every dll/exe in tests/*, as well as all msdia*, covrun* and vcruntime*
|
||||||
|
analyzeTargetGlob: +:file|$(Build.ArtifactStagingDirectory)/**/*.dll;+:file|$(Build.ArtifactStagingDirectory)/**/*.exe;-:file:regex|tests.*\.(dll|exe)$;-:file:regex|(covrun.*)\.dll$;-:file:regex|(msdia.*)\.dll$;-:file:regex|(vcruntime.*)\.dll$
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: Build
|
- stage: Build
|
||||||
|
|||||||
Reference in New Issue
Block a user