diff --git a/CHANGELOG.md b/CHANGELOG.md index da9482f0..beaa48ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/capa/features/common.py b/capa/features/common.py index c4b7df8e..cb938f29 100644 --- a/capa/features/common.py +++ b/capa/features/common.py @@ -409,9 +409,10 @@ class Bytes(Feature): # 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):