Skip to content

Commit

Permalink
Emit "dotnet" as format to ResultDocument when processing .NET files (#…
Browse files Browse the repository at this point in the history
…2024)

* Refactor format in `capa/features/extractors/dotnetfile.py`

Signed-off-by: samadpls <[email protected]>

* updated chanalog.md with the changes

Signed-off-by: samadpls <[email protected]>

* Refractor CHANGELOG.md

Co-authored-by: Mike Hunhoff <[email protected]>

---------

Signed-off-by: samadpls <[email protected]>
Co-authored-by: Mike Hunhoff <[email protected]>
  • Loading branch information
samadpls and mike-hunhoff authored Mar 20, 2024
1 parent cbadab8 commit 7bc298d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Change Log

## master (unreleased)
- Emit "dotnet" as format to ResultDocument when processing .NET files #2024 @samadpls

### New Features

Expand Down
2 changes: 1 addition & 1 deletion capa/features/extractors/dotnetfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@


def extract_file_format(**kwargs) -> Iterator[Tuple[Format, Address]]:
yield Format(FORMAT_PE), NO_ADDRESS
yield Format(FORMAT_DOTNET), NO_ADDRESS
yield Format(FORMAT_PE), NO_ADDRESS


def extract_file_import_names(pe: dnfile.dnPE, **kwargs) -> Iterator[Tuple[Import, Address]]:
Expand Down

0 comments on commit 7bc298d

Please sign in to comment.