-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated rule to detect .NET single file deployment bundles (exe)
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
executable/installer/dotnet/bundled-with-dotnet-single-file-deployment.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
rule: | ||
meta: | ||
name: bundled with .NET single-file deployment | ||
namespace: executable/installer/dotnet | ||
authors: | ||
- [email protected] | ||
scope: file | ||
references: | ||
- https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli | ||
- https://github.com/dotnet/runtime/blob/84de9b678613675e0444b265905c82d33dae33a8/src/installer/managed/Microsoft.NET.HostModel/AppHost/HostWriter.cs | ||
examples: | ||
- 0da87fccbf7687a6c7ab38087dea8b8f32c2b1fb6546101485b7167d18d9c406 | ||
features: | ||
- or: | ||
- and: | ||
- match: contains PDB path | ||
- string: "singlefilehost.pdb" | ||
description: symbol file for the native executable when PublishSingleFile is true | ||
- string: "Detected Single-File app bundle" |