Unverified Commit 1f4aff3f authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

ghidra: add findcrypt extension (#343256)

parents c70c6cb9 a8fe9a45
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2944,6 +2944,14 @@
    githubId = 3229981;
    name = "Duncan Fairbanks";
  };
  BonusPlay = {
    name = "Bonus";
    email = "nixos@bonusplay.pl";
    matrix = "@bonus:bonusplay.pl";
    github = "BonusPlay";
    githubId = 8405359;
    keys = [ { fingerprint = "8279 6487 A4CA 2A28 E8B3  3CD6 C7F9 9743 6A20 4683"; } ];
  };
  booklearner = {
    name = "booklearner";
    email = "booklearner@proton.me";
+2 −0
Original line number Diff line number Diff line
@@ -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 {
+28 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}