#avx #x86-64 #instruction-set #cpu

app bin-cpuflags-x86

A small CLI tool to detect CPU flags (instruction sets) of X86 binaries

4 stable releases

Uses new Rust 2024

1.0.3 Mar 14, 2025
1.0.2 Mar 16, 2024
1.0.1 Nov 8, 2023
1.0.0 Nov 7, 2023

#106 in Hardware support

Download history 3/week @ 2025-03-01 50/week @ 2025-03-08 82/week @ 2025-03-15 5/week @ 2025-03-22

137 downloads per month

MIT license

15KB
429 lines

bin-cpuflags-x86

A small CLI tool to detect CPU flags (instruction sets) of X86 binaries.

Usage

$ bin-cpuflags-x86 [<option>...] <file>
Option Description
-d, --details Enable detailed report about instructions used (slower).
-v, --verbose Enable more verbose output.
-q, --quiet Print only the result data.
-h, --help Display help message and exit.
-- Stop reading any options and treat the next argument as a file path.

Download

You can download prebuilt binaries from releases page.

Building from the source

Rust 1.85 or up is required.

Install Rust compiler and run:

$ cargo build --release

Packages

crates.io

AUR

Dependencies

~15MB
~322K SLoC