Skip to content

Commit

Permalink
features: add aarch64 arch (#2144)
Browse files Browse the repository at this point in the history
* features: add aarch64 arch
  • Loading branch information
williballenthin committed Jun 11, 2024
1 parent 76a4a58 commit 07ae308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- render maec/* fields #843 @s-ff
- replace Halo spinner with Rich #2086 @s-ff
- optimize rule matching #2080 @williballenthin
- add aarch64 as a valid architecture #2144 mehunhoff@google.com @williballenthin

### Breaking Changes

Expand Down
3 changes: 2 additions & 1 deletion capa/features/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,10 @@ def get_value_str(self):
# other candidates here: https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#machine-types
ARCH_I386 = "i386"
ARCH_AMD64 = "amd64"
ARCH_AARCH64 = "aarch64"
# dotnet
ARCH_ANY = "any"
VALID_ARCH = (ARCH_I386, ARCH_AMD64, ARCH_ANY)
VALID_ARCH = (ARCH_I386, ARCH_AMD64, ARCH_AARCH64, ARCH_ANY)


class Arch(Feature):
Expand Down

0 comments on commit 07ae308

Please sign in to comment.