mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
features: formatting of OS constants
This commit is contained in:
@@ -282,9 +282,7 @@ OS_WINDOWS = "windows"
|
||||
OS_LINUX = "linux"
|
||||
OS_MACOS = "macos"
|
||||
VALID_OS = {os.value for os in capa.features.extractors.elf.OS}
|
||||
VALID_OS.add(OS_WINDOWS)
|
||||
VALID_OS.add(OS_LINUX)
|
||||
VALID_OS.add(OS_MACOS)
|
||||
VALID_OS.update({OS_WINDOWS, OS_LINUX, OS_MACOS})
|
||||
|
||||
|
||||
class OS(Feature):
|
||||
|
||||
Reference in New Issue
Block a user