#cpu #sse #avx #instruction-set #command-line-tool #file-path

app bin-cpuflags-x86

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

3 stable releases

1.0.2 Mar 16, 2024
1.0.1 Nov 8, 2023
1.0.0 Nov 7, 2023

#469 in Hardware support

Download history

76 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

~16MB
~331K SLoC