Skip to content

Commit

Permalink
updated rule to detect .NET single file deployment bundles (exe)
Browse files Browse the repository at this point in the history
  • Loading branch information
sara-rn committed Nov 17, 2023
1 parent 1b8b2db commit 5f74439
Showing 1 changed file with 19 additions and 0 deletions.
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"

0 comments on commit 5f74439

Please sign in to comment.