#cpu #sse #avx #instruction-set #cli-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

#290 in Hardware support

Download history 2/week @ 2024-02-13 16/week @ 2024-02-20 3/week @ 2024-02-27 107/week @ 2024-03-12 19/week @ 2024-03-19 5/week @ 2024-03-26 48/week @ 2024-04-02

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
~332K SLoC