#avx #cpu #instruction-set #sse

app bin-cpuflags-x86

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

2 stable releases

1.0.1 Nov 8, 2023
1.0.0 Nov 7, 2023

#4 in #macho

25 downloads per month

MIT license

12KB
287 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

Install Rust compiler and run:

$ cargo build --release

Packages

crates.io

AUR

Dependencies

~15MB
~321K SLoC