2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2021-01-05 17:05:55 +00:00
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "elfx86exts";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "unstable-2023-04-20";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pkgw";
|
|
|
|
repo = pname;
|
2023-04-29 16:46:19 +00:00
|
|
|
rev = "26bf98cf1fc773196e594c48bfe808d7151076f6";
|
|
|
|
hash = "sha256-xNmaKGbMN92CPIQQRbdmeePk5Wt9XcIsB/2vbk5NJzg=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
cargoHash = "sha256-NH7QK8a+ndhZGlLa3gWlnQdBQil1pi2AAi5TtFgkVf0=";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-05 17:05:55 +00:00
|
|
|
description = "Decode x86 binaries and print out which instruction set extensions they use.";
|
|
|
|
longDescription = ''
|
|
|
|
Disassemble a binary containing x86 instructions and print out which extensions it uses.
|
|
|
|
Despite the utterly misleading name, this tool supports ELF and MachO binaries, and
|
|
|
|
perhaps PE-format ones as well. (It used to be more limited.)
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/pkgw/elfx86exts";
|
|
|
|
maintainers = with maintainers; [ rmcgibbo ];
|
|
|
|
license = with licenses; [ mit ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "elfx86exts";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
}
|