ghidra: add findcrypt extension

This commit is contained in:
Bonus 2024-09-20 14:40:47 +02:00
parent 91e208ae02
commit a8fe9a45ae
No known key found for this signature in database
GPG Key ID: 8F9A363420FDFFE0
2 changed files with 30 additions and 0 deletions

View File

@ -11,6 +11,8 @@ lib.makeScope newScope (self: {
buildGhidraScripts
;
findcrypt = self.callPackage ./extensions/findcrypt { };
ghidraninja-ghidra-scripts = self.callPackage ./extensions/ghidraninja-ghidra-scripts { };
ghidra-delinker-extension = self.callPackage ./extensions/ghidra-delinker-extension {

View File

@ -0,0 +1,28 @@
{
lib,
fetchFromGitHub,
buildGhidraExtension,
}:
let
version = "3.0.1";
in
buildGhidraExtension {
pname = "findcrypt";
inherit version;
src = fetchFromGitHub {
owner = "antoniovazquezblanco";
repo = "GhidraFindcrypt";
rev = "v${version}";
hash = "sha256-/KA95NdoQFvR6XSGCHkX+ySKfftK84hJ8zjAvt0+O0o=";
};
meta = {
description = "Ghidra analysis plugin to locate cryptographic constants";
homepage = "https://github.com/antoniovazquezblanco/GhidraFindcrypt";
downloadPage = "https://github.com/antoniovazquezblanco/GhidraFindcrypt/releases/tag/v${version}";
changelog = "https://github.com/antoniovazquezblanco/GhidraFindcrypt/releases/tag/v${version}";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.BonusPlay ];
};
}