Files
capa/capa
devs6186 f526357def main: suggest --os flag when ELF OS detection fails (#2869)
* main: suggest --os flag when OS detection fails for ELF files

When capa cannot detect the target OS of an ELF file, it exits with an
error. Some ELF files lack the standard metadata capa uses for OS
detection (GNU ABI tag, OSABI field, library dependencies, etc.) even
though they do target a valid OS (e.g. a stripped Linux binary using
only raw syscalls).

Add a hint to the unsupported-OS error message telling users they can
specify the OS explicitly with the --os flag, matching the workaround
recommended in the issue.

Fixes #2577
2026-02-20 14:28:43 +01:00
..
2025-12-18 17:55:49 -07:00
2025-11-20 08:37:49 -07:00
2025-01-15 08:52:42 -07:00
2025-01-15 08:52:42 -07:00
2025-01-15 08:52:42 -07:00
2025-11-20 08:37:49 -07:00