Compare commits
11 Commits
nixos-26.1
...
main
| Author | SHA1 | Date |
|---|---|---|
|
|
f2987537d8 | |
|
|
a971564f5e | |
|
|
c13fb4ac6b | |
|
|
a602e332af | |
|
|
5a5daa2103 | |
|
|
9ba6aac3dc | |
|
|
942bb75eea | |
|
|
4c2db362d6 | |
|
|
85423287a4 | |
|
|
646f57fa10 | |
|
|
aa7fbf7185 |
|
|
@ -537,10 +537,6 @@ libsystemd implementation in native ocaml: <https://git.lain.faith/haskal/system
|
|||
|
||||
the ocaml html docs package from opam
|
||||
|
||||
### [`ocamlPackages.patdiff-bin`](./pkgs/ocaml/patdiff-bin)
|
||||
|
||||
a repackaged version of `ocamlPackages.patdiff` with a reduced closure size
|
||||
|
||||
### [`python312Packages.feedvalidator` or `feedvalidator`](./pkgs/python/feedvalidator)
|
||||
|
||||
the W3C atom/RSS feed validator library, <https://github.com/w3c/feedvalidator>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ def remove_disabled:
|
|||
|
||||
# disabled by dragnpgks
|
||||
| select(.[0] != "nix-plugins")
|
||||
| select(.[0] != "ghidra-extensions" or .[1] != "reva")
|
||||
|
||||
# don't rebuild any nixos tests
|
||||
| select(.[0] != "tests")
|
||||
|
|
@ -24,4 +25,5 @@ def remove_disabled:
|
|||
|
||||
# deps are broken
|
||||
| select(.[0] != "angr-management")
|
||||
| select(.[0] != "mcp-reva")
|
||||
;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
BRANCH="nixos-25.11"
|
||||
BRANCH="nixos-26.11"
|
||||
|
||||
while read oldrev newrev ref; do
|
||||
if [[ "$ref" = "refs/heads/$BRANCH" ]]; then
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1795234589,
|
||||
"narHash": "sha256-f/VVvxf5RsQgWVhUtefoca5ktVg0DA2bnkMOcmSnozo=",
|
||||
"lastModified": 1796087880,
|
||||
"narHash": "sha256-P2MPChVGraSc3Lt8RCUpTwu07reSinLxqmVV/rzq2io=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2786a2a72088ecf32aea5b3ec52099e6a7cff78f",
|
||||
"rev": "c555305170f8bdcc9d420912c04cdf3d6d61d08c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ let
|
|||
|
||||
maybeWarnDuplicate = x: if final.lix-overlay-present > 1 then builtins.trace warning x else x;
|
||||
|
||||
lixPackageSet = prev.lixPackageSets.lix_2_95;
|
||||
lixPackageSet = prev.lixPackageSets.lix_2_96;
|
||||
lixPackageToUse = lixPackageSet.lix;
|
||||
|
||||
# It is not enough to *just* throw whatever the default nix version is at
|
||||
|
|
|
|||
91
overlay.nix
91
overlay.nix
|
|
@ -18,9 +18,7 @@ final: prev: {
|
|||
ghidra_headless = final.ghidra.lib;
|
||||
|
||||
# stuff that tracks upstream
|
||||
ghidra = final.callPackage ./pkgs/reverse-engineering/ghidra/build.nix {
|
||||
protobuf = final.protobuf_21;
|
||||
};
|
||||
ghidra = final.callPackage ./pkgs/reverse-engineering/ghidra/package.nix {};
|
||||
ghidra-extensions = final.lib.recurseIntoAttrs (final.callPackage ./pkgs/reverse-engineering/ghidra/extensions.nix { });
|
||||
# end stuff that tracks upstream
|
||||
|
||||
|
|
@ -33,45 +31,44 @@ final: prev: {
|
|||
|
||||
ocaml-manual = ofinal.callPackage ./pkgs/ocaml/ocaml-manual {};
|
||||
|
||||
patdiff-bin = ofinal.callPackage ./pkgs/ocaml/patdiff-bin {};
|
||||
patdiff-bin = builtins.throw "patdiff-bin has been replaced with patdiff.bin";
|
||||
});
|
||||
|
||||
# XXX: add python314 for 26.11
|
||||
python316 = prev.python316.override {
|
||||
packageOverrides = pfinal: pprev: {
|
||||
pyghidra = pfinal.callPackage ./pkgs/reverse-engineering/ghidra/pyghidra.nix {};
|
||||
};
|
||||
};
|
||||
|
||||
python313 = prev.python313.override {
|
||||
python315 = prev.python315.override {
|
||||
packageOverrides = pfinal: pprev: {
|
||||
pyghidra = pfinal.callPackage ./pkgs/reverse-engineering/ghidra/pyghidra.nix {};
|
||||
};
|
||||
};
|
||||
|
||||
python314 = prev.python314.override {
|
||||
packageOverrides = pfinal: pprev: {
|
||||
feedvalidator = pfinal.callPackage ./pkgs/python/feedvalidator {};
|
||||
megacom = pfinal.callPackage ./pkgs/python/megacom {};
|
||||
|
||||
pyghidra = pfinal.callPackage ./pkgs/reverse-engineering/ghidra/pyghidra.nix {};
|
||||
|
||||
libbs = pfinal.callPackage ./pkgs/reverse-engineering/binsync/libbs.nix {};
|
||||
binsync = pfinal.callPackage ./pkgs/reverse-engineering/binsync/binsync.nix {};
|
||||
binsyncWithGhidra = pfinal.callPackage ./pkgs/reverse-engineering/binsync/binsync.nix { withGhidra = true; };
|
||||
};
|
||||
};
|
||||
|
||||
# add to top level because it has a binary
|
||||
feedvalidator = final.python313Packages.feedvalidator;
|
||||
megacom = final.python313Packages.megacom;
|
||||
feedvalidator = final.python314Packages.feedvalidator;
|
||||
megacom = final.python314Packages.megacom;
|
||||
|
||||
python313 = prev.python313.override {
|
||||
packageOverrides = pfinal: pprev: {
|
||||
pyghidra = pfinal.callPackage ./pkgs/reverse-engineering/ghidra/pyghidra.nix {};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
python312 = prev.python312.override {
|
||||
packageOverrides = pfinal: pprev: {
|
||||
pyghidra = pfinal.callPackage ./pkgs/reverse-engineering/ghidra/pyghidra.nix {};
|
||||
|
||||
libbs = pfinal.callPackage ./pkgs/reverse-engineering/binsync/libbs.nix {};
|
||||
binsync = pfinal.callPackage ./pkgs/reverse-engineering/binsync/binsync.nix {};
|
||||
binsyncWithGhidra = pfinal.callPackage ./pkgs/reverse-engineering/binsync/binsync.nix { withGhidra = true; };
|
||||
};
|
||||
};
|
||||
|
||||
python311 = prev.python311.override {
|
||||
packageOverrides = pfinal: pprev: {
|
||||
pyghidra = pfinal.callPackage ./pkgs/reverse-engineering/ghidra/pyghidra.nix {};
|
||||
|
||||
libbs = pfinal.callPackage ./pkgs/reverse-engineering/binsync/libbs.nix {};
|
||||
binsync = pfinal.callPackage ./pkgs/reverse-engineering/binsync/binsync.nix {};
|
||||
binsyncWithGhidra = pfinal.callPackage ./pkgs/reverse-engineering/binsync/binsync.nix { withGhidra = true; };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -129,31 +126,35 @@ final: prev: {
|
|||
} // (byName self)) |> final.lib.recurseIntoAttrs;
|
||||
|
||||
strawberry = prev.strawberry.overrideAttrs (afinal: aprev: {
|
||||
version = "1.2.30";
|
||||
src = final.fetchFromGitHub {
|
||||
owner = "strawberrymusicplayer";
|
||||
repo = "strawberry";
|
||||
rev = afinal.version;
|
||||
hash = "sha256-/exjOFQtWVBUzDaqSbYR5g4N21sZzsiIgkTZ1Qryu/o=";
|
||||
};
|
||||
|
||||
### XXX: recheck when upstream updates
|
||||
preCheck = ''
|
||||
# defaults to "xcb" otherwise, which requires a display
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
|
||||
# The waveformloader test calls QStandardPaths::setTestModeEnabled(true) which
|
||||
# expects a writable $HOME
|
||||
# https://doc.qt.io/qt-6/qstandardpaths.html#setTestModeEnabled
|
||||
# https://github.com/strawberrymusicplayer/strawberry/blob/dc831c03bd5863f133dd9f57eba75dafb27e5cf8/tests/src/waveformloader_test.cpp#L67
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
# upstream currently matches this version
|
||||
# version = "1.2.31";
|
||||
# src = final.fetchFromGitHub {
|
||||
# owner = "strawberrymusicplayer";
|
||||
# repo = "strawberry";
|
||||
# rev = afinal.version;
|
||||
# hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||
# };
|
||||
|
||||
patches = [
|
||||
./pkgs/strawberry/0001-make-the-minimum-scrobble-length-shorter.patch
|
||||
];
|
||||
});
|
||||
|
||||
# TODO : check upstream to see if it eventually supports 2.96 on its own
|
||||
nix-serve-ng = prev.nix-serve-ng |>
|
||||
(final.haskell.lib.compose.overrideSrc {
|
||||
src = final.fetchFromGitHub {
|
||||
repo = "nix-serve-ng";
|
||||
owner = "aristanetworks";
|
||||
rev = "2c30a4d56da4e24021682b63e72ba92d4c4bf00a";
|
||||
hash = "sha256-ub+W3fQuVK2DV1WukRMBOGUdHIw84akUnujD2Vqbg68=";
|
||||
};
|
||||
version = "1.1.0-unstable-2026-04-30+dragon";
|
||||
}) |>
|
||||
(final.haskell.lib.compose.overrideCabal (drv: {
|
||||
patches = (drv.patches or []) ++ [ ./pkgs/lix/nix-serve-ng/0001-lix-2.96-compat.patch ];
|
||||
}));
|
||||
|
||||
# export derivations modified in "typical" configurations for nixos, so they will be available in
|
||||
# the CI cache
|
||||
nixosDragonPackages = {
|
||||
|
|
|
|||
|
|
@ -15,9 +15,7 @@ struct ExtraBuiltinsSettings : Config {
|
|||
|
||||
static ExtraBuiltinsSettings extraBuiltinsSettings;
|
||||
|
||||
static void prim_extraBuiltins(EvalState & state,
|
||||
Value ** _args, Value & v)
|
||||
{
|
||||
static Value prim_extraBuiltins(EvalState & state, Value ** _args) {
|
||||
static auto extraBuiltinsFile =
|
||||
SourcePath(CanonPath(extraBuiltinsSettings.extraBuiltinsFile.to_string()));
|
||||
|
||||
|
|
@ -44,10 +42,11 @@ static void prim_extraBuiltins(EvalState & state,
|
|||
// });
|
||||
|
||||
Value arg = Value(NewValueAs::attrs, bindings.finish());
|
||||
v = Value(NewValueAs::app, state.ctx.mem, fun, arg);
|
||||
Value v = Value(NewValueAs::app, state.ctx.mem, fun, arg);
|
||||
state.forceValue(v, noPos);
|
||||
return v;
|
||||
} catch (SysError &) {
|
||||
v.mkNull();
|
||||
return Value::VNULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
From 4c145e3d42f909f0ea7f0663c535e94ca14b377e Mon Sep 17 00:00:00 2001
|
||||
From: xenia <xenia@awoo.systems>
|
||||
Date: Wed, 25 Nov 2026 23:02:22 -0500
|
||||
Subject: [PATCH] lix 2.96 compat
|
||||
|
||||
---
|
||||
cbits/nix.cpp | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cbits/nix.cpp b/cbits/nix.cpp
|
||||
index 346ba99..5a4bd0d 100644
|
||||
--- a/cbits/nix.cpp
|
||||
+++ b/cbits/nix.cpp
|
||||
@@ -192,8 +192,10 @@ void queryPathInfo
|
||||
copyString(validPathInfo->narHash.to_string(nix::HashFormat::Nix32, true), &output->narHash);
|
||||
#elif ! defined(LIX_MAJOR) || LIX_MAJOR <= 2 && LIX_MINOR < 95
|
||||
copyString(validPathInfo->narHash.to_string(nix::Base::Base32, true), &output->narHash);
|
||||
-#else
|
||||
+#elif ! defined(LIX_MAJOR) || LIX_MAJOR <= 2 && LIX_MINOR < 96
|
||||
copyString(validPathInfo->narHash.to_string(nix::HashFormat::Base32, true), &output->narHash);
|
||||
+#else
|
||||
+ copyString(validPathInfo->narHash.to_base32(), &output->narHash);
|
||||
#endif
|
||||
|
||||
output->narSize = validPathInfo->narSize;
|
||||
--
|
||||
2.54.0
|
||||
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
src = fetchurl {
|
||||
url = "http://caml.inria.fr/distrib/ocaml-${version}/ocaml-${version}-refman-html.tar.gz";
|
||||
hash = "sha256-LuZMeSB/8HLyWRXWftaXJiupYTg6ZiALVTxx20YuSv8=";
|
||||
hash = "sha256-wgLRZopoBWelrafnrWvEqX5wEIIHevVMKzfJ+NUIj2E=";
|
||||
};
|
||||
|
||||
buildPhase = "";
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
runCommand,
|
||||
patdiff,
|
||||
}: runCommand "patdiff-bin-${patdiff.version}" {
|
||||
nativeBuildInputs = [];
|
||||
strictDeps = true;
|
||||
meta.mainProgram = "patdiff";
|
||||
} ''
|
||||
mkdir -p $out
|
||||
cp -r ${patdiff}/bin $out
|
||||
cp -r ${patdiff}/share $out
|
||||
''
|
||||
|
|
@ -45,7 +45,7 @@ let feedvalidator_src = stdenvNoCC.mkDerivation {
|
|||
};
|
||||
in buildPythonPackage rec {
|
||||
pname = "feedvalidator";
|
||||
version = "git";
|
||||
version = "0.0.1+git";
|
||||
pyproject = true;
|
||||
|
||||
src = feedvalidator_src;
|
||||
|
|
|
|||
|
|
@ -13,6 +13,15 @@
|
|||
("brag-lib" . #hash((license . "MIT")))
|
||||
("fancy-app" . #hash((license . "MIT")))
|
||||
("rebellion" . #hash((license . "Apache-2.0")))
|
||||
("pretty-expressive" . #hash((license . "(Apache-2.0 OR MIT)")))
|
||||
("pretty-expressive-lib" . #hash((license . "(Apache-2.0 OR MIT)")))
|
||||
("pretty-expressive" .
|
||||
#hash(
|
||||
(license . "(Apache-2.0 OR MIT)")
|
||||
(readme-url . "https://github.com/sorawee/pretty-expressive/tree/HEAD/README.md")
|
||||
(source . "https://github.com/sorawee/pretty-expressive.git?path=pretty-expressive")
|
||||
(checksum . "27e7be8016b38252a19f3620bc37539100b02503")))
|
||||
("pretty-expressive-lib" .
|
||||
#hash((license . "(Apache-2.0 OR MIT)")
|
||||
(readme-url . "https://github.com/sorawee/pretty-expressive/tree/HEAD/README.md")
|
||||
(source . "https://github.com/sorawee/pretty-expressive.git?path=pretty-expressive-lib")
|
||||
(checksum . "27e7be8016b38252a19f3620bc37539100b02503")))
|
||||
)
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
(github "renatoathaydes" "ansi-color" "20363d90fcef9219580ec0d6a78eea834df39d21" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(git "https://gitlab.com/mbutterick/br-parser-tools.git" "95b7c69cf9d660a51abf4742378b9adb7100d25a" "br-parser-tools-lib")
|
||||
|
|
@ -0,0 +1 @@
|
|||
(git "https://gitlab.com/mbutterick/brag.git" "30cbf95e6a717e71fb8bda6b15a7253aed36115a" "brag-lib")
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "97jaz" "cldr-bcp47" "823fc1a530f1a0ec4de59f5454c1a17f20c5a5d6" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "97jaz" "cldr-core" "c9b80777c422c3b104bb85052d74a2dc1535a3c3" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "97jaz" "cldr-dates-modern" "c36282917247f6a069e553535f4619007cd7b6e5" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "97jaz" "cldr-localenames-modern" "f9f3e8d9245764a309542816acf40fe147b473a3" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "97jaz" "cldr-numbers-modern" "625428099b3f8cd264955a283dddc176a6080ba1" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "samth" "fancy-app" "f451852164ee67e3e122f25b4bce45001a557045" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "sorawee" "fmt" "4e1ed68e596e656960b44a8244bb33eb4e65ec64" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "97jaz" "gregor" "f56215db229ef2e33670f55d08c0330d8f85de23" "gregor-lib")
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "jackfirth" "guard" "c86ee57d3fc13eed689102b733702ed1162da681" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "jbclements" "memoize" "c9691ed9ba2604de223b6ba3dd08d17f740bc8cd" "memoize-lib")
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "Bogdanp" "racket-north" "9edfeb5f77f315f3a6516c070216542f80a98316" "north")
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "sorawee" "pretty-expressive" "27e7be8016b38252a19f3620bc37539100b02503" "pretty-expressive-lib")
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "sorawee" "pretty-expressive" "27e7be8016b38252a19f3620bc37539100b02503" "pretty-expressive")
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "jackfirth" "rebellion" "8f3fc46740918205c0a293ad58dd9a8094ef3f51" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "jackfirth" "resyntax" "40f3497321f8590eb6a0b7c7984a9116323b7ebf" #f)
|
||||
|
|
@ -0,0 +1 @@
|
|||
(github "97jaz" "tzinfo" "2f812283d9c90040aecb3c7e2ed2edf93a3720de" #f)
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
racket/list
|
||||
racket/match
|
||||
racket/port
|
||||
;racket/pretty
|
||||
racket/runtime-path
|
||||
racket/sandbox
|
||||
racket/sequence
|
||||
|
|
@ -244,6 +245,12 @@
|
|||
(call-with-custodian-shutdown
|
||||
thk)))
|
||||
|
||||
(define (subprocess/path/piped/stderr . args)
|
||||
(define-values [proc stdout stdin stderr]
|
||||
(apply subprocess #f #f #f "/usr/bin/env" args))
|
||||
(thread (λ () (copy-port stderr (current-error-port))))
|
||||
(values proc stdout stdin))
|
||||
|
||||
(define (subprocess/path/piped . args)
|
||||
(define-values [proc stdout stdin stderr]
|
||||
(apply subprocess #f #f 'stdout "/usr/bin/env" args))
|
||||
|
|
@ -258,18 +265,20 @@
|
|||
(call-with-subprocess-env
|
||||
(lambda ()
|
||||
(define-values [proc stdout stdin]
|
||||
(subprocess/path/piped
|
||||
(subprocess/path/piped/stderr
|
||||
"nix"
|
||||
"--extra-experimental-features"
|
||||
"nix-command flakes pipe-operator repl-automation"
|
||||
"--repl-overlays" ""
|
||||
"repl" "--impure" "."))
|
||||
|
||||
(sync (regexp-match-evt #px"^[^\x05]+\x05" stdout))
|
||||
(sync (regexp-match-evt #px"^[^\x05]*\x05" stdout))
|
||||
|
||||
(parameterize ([current-nix-repl (nix-repl proc stdout stdin)])
|
||||
(thk)))))
|
||||
|
||||
(define (nix-eval line)
|
||||
(displayln (format "TX: ~a" line))
|
||||
(match-define (nix-repl _ stdout stdin) (current-nix-repl))
|
||||
(write-string line stdin)
|
||||
(newline stdin)
|
||||
|
|
@ -278,7 +287,7 @@
|
|||
(string-trim
|
||||
(bytes->string/utf-8
|
||||
(second
|
||||
(sync (regexp-match-evt #px"^([^\x05]+)\x05" stdout))))))
|
||||
(sync (regexp-match-evt #px"^([^\x05]*)\x05" stdout))))))
|
||||
|
||||
|
||||
(define (nix-format file*)
|
||||
|
|
@ -354,14 +363,17 @@
|
|||
(for ([dependency (in-list dependencies)])
|
||||
(racket2nix dependency force? base-dir acc))
|
||||
|
||||
(define broken? (not (hash-ref (hash-ref details 'search-terms) ':build-success:)))
|
||||
(define broken? (not (hash-ref (hash-ref details 'search-terms (hash)) ':build-success: #t)))
|
||||
|
||||
(define source (hash-ref details 'source))
|
||||
(define checksum (hash-ref details 'checksum))
|
||||
(define git-shorthash (substring checksum 0 7))
|
||||
(define source-desc (normalize-source source checksum))
|
||||
|
||||
(define readme (hash-ref details 'readme-url))
|
||||
(define source-rktd (build-path pkg-dir "source.rktd"))
|
||||
|
||||
(unless (and (file-exists? source-rktd) (equal? source-desc (file->value source-rktd)))
|
||||
(define readme (hash-ref details 'readme-url #f))
|
||||
|
||||
(define modules* (hash-ref details 'modules))
|
||||
(define modules (map module-name modules*))
|
||||
|
|
@ -401,11 +413,13 @@
|
|||
(or path 'same))]
|
||||
[(list 'archive url)
|
||||
(values
|
||||
`(app
|
||||
`((src
|
||||
(app
|
||||
fetchzip
|
||||
(attrs
|
||||
(url ,url)
|
||||
(hash ,nix-hash)))
|
||||
(hash ,nix-hash)
|
||||
(stripRoot #f)))))
|
||||
'same)]))
|
||||
|
||||
(define nix-version (format "~a+~a" version git-shorthash))
|
||||
|
|
@ -438,6 +452,8 @@
|
|||
(passthru ,nix-passthru)
|
||||
(meta ,nix-meta))))
|
||||
|
||||
; (pretty-write nix-spec*)
|
||||
|
||||
(define nix-spec (callpackageify nix-spec*))
|
||||
|
||||
(define default-nix (build-path pkg-dir "default.nix"))
|
||||
|
|
@ -464,8 +480,8 @@
|
|||
(nix-eval
|
||||
(format "drv = with legacyPackages.${builtins.currentSystem}; instrumentedFetch (racketPackages.~a.src)" pkg-name)))
|
||||
|
||||
(unless (equal? drv-def-out "Added drv.")
|
||||
(error "failed to eval package def" drv-def-out))
|
||||
; (unless (equal? drv-def-out "Added drv.")
|
||||
; (error "failed to eval package def" drv-def-out))
|
||||
|
||||
(define build-output (nix-eval ":b drv"))
|
||||
(define build-log (nix-eval ":log drv"))
|
||||
|
|
@ -482,8 +498,8 @@
|
|||
(nix-eval
|
||||
(format "drv = with legacyPackages.${builtins.currentSystem}; instrumentedFetch (racketPackages.~a.src)" pkg-name)))
|
||||
|
||||
(unless (equal? drv-def-out-r "Added drv.")
|
||||
(error "failed to eval package def" drv-def-out-r))
|
||||
; (unless (equal? drv-def-out-r "Added drv.")
|
||||
; (error "failed to eval package def" drv-def-out-r))
|
||||
|
||||
(define out-path (nix-eval ":p drv.outPath"))
|
||||
(define build-log-2 (nix-eval ":b drv"))
|
||||
|
|
@ -507,8 +523,8 @@
|
|||
(define drv-def-out-final
|
||||
(nix-eval
|
||||
(format "drv = with legacyPackages.${builtins.currentSystem}; racketPackages.~a" pkg-name)))
|
||||
(unless (equal? drv-def-out-final "Added drv.")
|
||||
(error "failed to eval package def" drv-def-out-final))
|
||||
; (unless (equal? drv-def-out-final "Added drv.")
|
||||
; (error "failed to eval package def" drv-def-out-final))
|
||||
(define out-path-final (nix-eval ":p drv.outPath"))
|
||||
(define build-output-final
|
||||
(nix-eval ":b drv"))
|
||||
|
|
@ -516,10 +532,15 @@
|
|||
(unless (directory-exists? out-path-final)
|
||||
(error "failed to do final build" out-path-final build-output-final))
|
||||
|
||||
(void)))
|
||||
;; write source marker to allow skipping this next time
|
||||
(with-output-to-file source-rktd
|
||||
(lambda ()
|
||||
(write source-desc))
|
||||
#:exists 'replace)
|
||||
|
||||
(void))))
|
||||
|
||||
(hash-set! acc pkg-name 'installed)
|
||||
|
||||
(void)))
|
||||
|
||||
(module+ main
|
||||
|
|
|
|||
|
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
callPackage,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
setuptools,
|
||||
|
||||
libbs,
|
||||
sortedcontainers,
|
||||
toml,
|
||||
gitpython,
|
||||
filelock,
|
||||
ply,
|
||||
prompt-toolkit,
|
||||
tqdm,
|
||||
wordfreq,
|
||||
pyside6,
|
||||
flask,
|
||||
requests,
|
||||
|
||||
pytest-qt,
|
||||
pytestCheckHook,
|
||||
|
||||
withGhidra ? false,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "binsync";
|
||||
version = "5.15.0+dev";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "binsync";
|
||||
repo = "binsync";
|
||||
rev = "667ba599b79766339820f57dab8f8ce01b05808b";
|
||||
hash = "sha256-v8hxcoMFe8DJovJD1FAC8NIov7EGVn4L8isWg4sxxik=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
(libbs.override { inherit withGhidra; })
|
||||
sortedcontainers
|
||||
toml
|
||||
gitpython
|
||||
filelock
|
||||
ply
|
||||
prompt-toolkit
|
||||
tqdm
|
||||
wordfreq
|
||||
flask
|
||||
requests
|
||||
] ++ lib.optionals withGhidra [ pyside6 ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
] ++ lib.optionals withGhidra [ pytest-qt pyside6 ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Test tries to import angr-management
|
||||
"tests/test_angr_gui.py"
|
||||
# uses GUI stuff
|
||||
"tests/test_auxiliary_server.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "binsync" ];
|
||||
|
||||
meta = {
|
||||
description = "Reversing plugin for cross-decompiler collaboration, built on git";
|
||||
homepage = "https://github.com/binsync/binsync";
|
||||
changelog = "https://github.com/binsync/binsync/releases/tag/${src.tag}";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ scoder12 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,99 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
callPackage,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
setuptools,
|
||||
|
||||
toml,
|
||||
ply,
|
||||
# pycparser,
|
||||
prompt-toolkit,
|
||||
tqdm,
|
||||
psutil,
|
||||
pyghidra,
|
||||
platformdirs,
|
||||
filelock,
|
||||
networkx,
|
||||
|
||||
pytestCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
|
||||
ghidra_headless,
|
||||
|
||||
withGhidra ? false,
|
||||
}:
|
||||
|
||||
let
|
||||
# Binary files from https://github.com/binsync/bs-artifacts (only used for testing and only here)
|
||||
binaries = fetchFromGitHub {
|
||||
owner = "binsync";
|
||||
repo = "bs-artifacts";
|
||||
rev = "0d300eb679b9a07bbdcf8b77a9f4917d48133c6c";
|
||||
hash = "sha256-P7+BTJgdC9W8cC/7xQduFYllF+0ds1dSlm59/BFvZ2g=";
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "libbs";
|
||||
version = "3.7.0+dev";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "binsync";
|
||||
repo = "libbs";
|
||||
rev = "55f9b2fc441a4e8aaf3ff4bdc2ee51eddef46ef4";
|
||||
hash = "sha256-Z1OAgJjNA7WJDjy4KEuVFyWgq3WjwhpFzf8dAYe8c1E=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
toml
|
||||
ply
|
||||
# pycparser
|
||||
(callPackage ./pycparser_3.nix {})
|
||||
setuptools
|
||||
prompt-toolkit
|
||||
tqdm
|
||||
psutil
|
||||
platformdirs
|
||||
filelock
|
||||
networkx
|
||||
] ++ lib.optionals withGhidra [ pyghidra ];
|
||||
|
||||
pythonRemoveDeps = lib.optionals (!withGhidra) [ "pyghidra" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
] ++ (lib.optionals withGhidra [ ghidra_headless ]);
|
||||
|
||||
# Place test binaries in place
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
mkdir -p $HOME/bs-artifacts/binaries
|
||||
cp -r ${binaries}/binaries/. $HOME/bs-artifacts/binaries/.
|
||||
export TEST_BINARIES_DIR=$HOME/bs-artifacts/binaries
|
||||
'' + lib.optionalString withGhidra ''
|
||||
export PATH="${lib.makeBinPath [ ghidra_headless.jdkPackage ]}:$PATH"
|
||||
export NIX_GHIDRAHOME="${ghidra_headless}/lib/ghidra/Ghidra"
|
||||
export GHIDRA_INSTALL_DIR="${ghidra_headless}/lib/ghidra"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "libbs" ];
|
||||
|
||||
disabledTests = [
|
||||
"test_change_watcher_plugin_cli"
|
||||
"TestHeadlessInterfaces"
|
||||
"TestNewLibbsFeatures"
|
||||
] ++ lib.optionals (!withGhidra) [ "TestClientServer" ];
|
||||
|
||||
meta = {
|
||||
description = "Library for writing plugins in any decompiler: includes API lifting, common data formatting, and GUI abstraction";
|
||||
homepage = "https://github.com/binsync/libbs";
|
||||
changelog = "https://github.com/binsync/libbs/releases/tag/${src.tag}";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ scoder12 ];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
setuptools,
|
||||
unittestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycparser";
|
||||
version = "3.00";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eliben";
|
||||
repo = "pycparser";
|
||||
tag = "release_v${version}";
|
||||
hash = "sha256-6eKc+p3xLyRPo3oCWP/dbMpHlkBXLy8XiGR0gTEHI2E=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "pycparser" ];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
unittestFlagsArray = [
|
||||
"-s"
|
||||
"tests"
|
||||
];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
rev-prefix = "release_v";
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/eliben/pycparser/releases/tag/${src.tag}";
|
||||
description = "C parser in Python";
|
||||
homepage = "https://github.com/eliben/pycparser";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.dotlambda ];
|
||||
};
|
||||
}
|
||||
|
|
@ -14,7 +14,7 @@ index 2db94ed67e..925f394cf0 100644
|
|||
|
||||
+buildscript {
|
||||
+ dependencies {
|
||||
+ classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.18'
|
||||
+ classpath 'com.google.protobuf:protobuf-gradle-plugin:0.10.0'
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
|
|
@ -38,7 +38,7 @@ index 4fa3b9a539..2663aeaeb0 100644
|
|||
|
||||
+buildscript {
|
||||
+ dependencies {
|
||||
+ classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.18'
|
||||
+ classpath 'com.google.protobuf:protobuf-gradle-plugin:0.10.0'
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
|
|
@ -81,10 +81,10 @@ index 159eb7dd7b..ef4add1ad8 100644
|
|||
else {
|
||||
diff --git a/gradle/hasProtobuf.gradle b/gradle/hasProtobuf.gradle
|
||||
deleted file mode 100644
|
||||
index a8c176bcbe..0000000000
|
||||
index 537c51fb65..0000000000
|
||||
--- a/gradle/hasProtobuf.gradle
|
||||
+++ /dev/null
|
||||
@@ -1,100 +0,0 @@
|
||||
@@ -1,103 +0,0 @@
|
||||
-/* ###
|
||||
- * IP: GHIDRA
|
||||
- *
|
||||
|
|
@ -140,6 +140,9 @@ index a8c176bcbe..0000000000
|
|||
- protocArtifact "com.google.protobuf:protoc:${version}:osx-aarch_64@exe"
|
||||
- }
|
||||
- }
|
||||
- if (isCurrentOpenBSD()) {
|
||||
- protocArtifact files('/usr/local/bin/protoc')
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-/*protobuf {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
diff --git a/Ghidra/RuntimeScripts/Common/support/buildExtension.gradle b/Ghidra/RuntimeScripts/Common/support/buildExtension.gradle
|
||||
index bc194f219..94b00fabd 100644
|
||||
--- a/Ghidra/RuntimeScripts/Common/support/buildExtension.gradle
|
||||
+++ b/Ghidra/RuntimeScripts/Common/support/buildExtension.gradle
|
||||
@@ -82,7 +82,7 @@ dependencies {
|
||||
helpPath fileTree(dir: ghidraDir + '/Features/Base', include: "**/Base.jar")
|
||||
diff --git a/Ghidra/RuntimeScripts/support/buildExtension.gradle b/Ghidra/RuntimeScripts/support/buildExtension.gradle
|
||||
index a01ac955b5..ebca8510b9 100644
|
||||
--- a/Ghidra/RuntimeScripts/support/buildExtension.gradle
|
||||
+++ b/Ghidra/RuntimeScripts/support/buildExtension.gradle
|
||||
@@ -71,7 +71,7 @@ dependencies {
|
||||
api fileTree(dir: ghidraDir + '/Processors', include: "**/*.jar")
|
||||
}
|
||||
|
||||
-def ZIP_NAME_PREFIX = "${DISTRO_PREFIX}_${RELEASE_NAME}_${getCurrentDate()}"
|
||||
|
|
@ -12,7 +12,7 @@ index bc194f219..94b00fabd 100644
|
|||
|
||||
def pathInZip = "${project.name}"
|
||||
diff --git a/gradle/root/distribution.gradle b/gradle/root/distribution.gradle
|
||||
index f44c8267b..f6231c417 100644
|
||||
index 19fc78a075..283561d674 100644
|
||||
--- a/gradle/root/distribution.gradle
|
||||
+++ b/gradle/root/distribution.gradle
|
||||
@@ -32,7 +32,7 @@ apply from: "$rootProject.projectDir/gradle/support/sbom.gradle"
|
||||
|
|
@ -24,3 +24,4 @@ index f44c8267b..f6231c417 100644
|
|||
ext.ZIP_DIR_PREFIX = "${rootProject.DISTRO_PREFIX}"
|
||||
ext.ALL_REPOS = [rootProject.file('.').getName()]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,20 @@
|
|||
diff --git a/Ghidra/Framework/Help/src/main/java/help/JavaHelpSetBuilder.java b/Ghidra/Framework/Help/src/main/java/help/JavaHelpSetBuilder.java
|
||||
--- a/Ghidra/Framework/Help/src/main/java/help/JavaHelpSetBuilder.java
|
||||
+++ b/Ghidra/Framework/Help/src/main/java/help/JavaHelpSetBuilder.java
|
||||
@@ -145 +145 @@
|
||||
- writer.write("<!-- HelpSet auto-generated on " + (new Date()).toString() + " -->");
|
||||
+ writer.write("<!-- HelpSet auto-generated -->");
|
||||
diff --git a/Ghidra/Framework/Help/src/main/java/help/JavaHelpFilesBuilder.java b/Ghidra/Framework/Help/src/main/java/help/JavaHelpFilesBuilder.java
|
||||
--- a/Ghidra/Framework/Help/src/main/java/help/JavaHelpFilesBuilder.java
|
||||
+++ b/Ghidra/Framework/Help/src/main/java/help/JavaHelpFilesBuilder.java
|
||||
@@ -19 +19,0 @@
|
||||
-import java.util.Date;
|
||||
@@ -125 +124 @@
|
||||
- out.println("<!-- Auto-generated on " + (new Date()).toString() + " : Do Not Edit -->");
|
||||
+ out.println("<!-- Auto-generated : Do Not Edit -->");
|
||||
diff --git a/Ghidra/Framework/Help/src/main/java/help/OverlayHelpTree.java b/Ghidra/Framework/Help/src/main/java/help/OverlayHelpTree.java
|
||||
--- a/Ghidra/Framework/Help/src/main/java/help/OverlayHelpTree.java
|
||||
+++ b/Ghidra/Framework/Help/src/main/java/help/OverlayHelpTree.java
|
||||
@@ -141 +141 @@
|
||||
- writer.println("<!-- Auto-generated on " + (new Date()).toString() + " -->");
|
||||
+ writer.println("<!-- Auto-generated -->");
|
||||
|
|
@ -2,12 +2,14 @@
|
|||
lib,
|
||||
stdenv,
|
||||
unzip,
|
||||
jdk,
|
||||
gradle,
|
||||
jdk25,
|
||||
gradle_9,
|
||||
ghidra,
|
||||
}:
|
||||
|
||||
let
|
||||
jdk = jdk25;
|
||||
gradle = gradle_9;
|
||||
metaCommon =
|
||||
oldMeta:
|
||||
oldMeta
|
||||
|
|
@ -32,6 +34,12 @@ let
|
|||
...
|
||||
}@args:
|
||||
{
|
||||
# Needed to run gradle on darwin
|
||||
__darwinAllowLocalNetworking = true;
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
JAVA_TOOL_OPTIONS = "-Djava.net.preferIPv4Stack=true";
|
||||
};
|
||||
|
||||
nativeBuildInputs = nativeBuildInputs ++ [
|
||||
unzip
|
||||
jdk
|
||||
|
|
@ -46,9 +54,6 @@ let
|
|||
${args.preBuild or ""}
|
||||
'';
|
||||
|
||||
# Needed to run gradle on darwin
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
gradleBuildTask = args.gradleBuildTask or "buildExtension";
|
||||
gradleFlags = args.gradleFlags or [ ] ++ [ "-PGHIDRA_INSTALL_DIR=${ghidra.lib}/lib/ghidra" ];
|
||||
|
||||
|
|
|
|||
|
|
@ -34,6 +34,9 @@
|
|||
"35/a0/638186a75026a02286041e4a0449b1dff799a3914dc1c0716ef9b9367b73/jpype1-1.5.2-cp311-cp311-macosx_10_9_universal2": {
|
||||
"whl": "sha256-yfarjdKEwW4mF6aX1Uw9AwSwgCCjc4btlhA6EpORotk="
|
||||
},
|
||||
"49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any": {
|
||||
"whl": "sha256-SByqSBN06BPBsXatoU6X8fZ6RTnOnP6z81DXjWNwwug="
|
||||
},
|
||||
"51/8f/9bb81dd5bb77d22243d33c8397f09377056d5c687aa6d4042bea7fbf8364/pywin32-311-cp311-cp311-win_amd64": {
|
||||
"whl": "sha256-POgLNLIrF8y9k3pueOciXYDFL1q5lA/gUGoaFvPatQM="
|
||||
},
|
||||
|
|
@ -138,45 +141,45 @@
|
|||
}
|
||||
},
|
||||
"https://ftp.postgresql.org": {
|
||||
"pub/source/v15.13/postgresql-15.13": {
|
||||
"tar.gz": "sha256-r9wisKblvse2VyN1a5DUTqkR5hsvewHE3FUkq4E7TYk="
|
||||
"pub/source/v15.18/postgresql-15.18": {
|
||||
"tar.gz": "sha256-0ypTNRbtxojru5auIhtgW+JxLt2U10KLQqSvVkQlCUM="
|
||||
}
|
||||
},
|
||||
"https://github.com": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/Debugger/dbgmodel": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/Debugger/dbgmodel": {
|
||||
"tlb": "sha256-jPXzouuBFgqjSQVqXKTCxyaxtumL8wl81BNRRxYzQ8c="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vs2012_x64": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vs2012_x64": {
|
||||
"fidb": "sha256-1OmKs/eQuDF5MhhDC7oNiySl+/TaZbDB/6jLDPvrDNw="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vs2012_x86": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vs2012_x86": {
|
||||
"fidb": "sha256-pJDtfi7SHlh0Wf6urOcDa37eTOhOcuEN/YxXQ0ppGLY="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vs2015_x64": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vs2015_x64": {
|
||||
"fidb": "sha256-4E6eQPnstgHIX02E7Zv2a0U2O+HR6CwWLkyZArjLUI8="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vs2015_x86": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vs2015_x86": {
|
||||
"fidb": "sha256-tm7mlmU+LtNlkZ3qrviFEDEgx5LiLnmvcNEgnX4dhkQ="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vs2017_x64": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vs2017_x64": {
|
||||
"fidb": "sha256-1fpfaXKYF0+lPSR9NZnmoSiEYFrRgce5VOI4DsHwvYk="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vs2017_x86": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vs2017_x86": {
|
||||
"fidb": "sha256-04nLjXb/SlnKNfiRuFIccq1fDfluJTlzotIahhSkzIE="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vs2019_x64": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vs2019_x64": {
|
||||
"fidb": "sha256-FQAHeW/DakBpZgrWJEmq2q890Rs4ZKXvIeeYMcnOkRg="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vs2019_x86": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vs2019_x86": {
|
||||
"fidb": "sha256-62MKNvqlhqNx63NNwLvY0TzK72l/PbWHJZY1jz3SQyo="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vsOlder_x64": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vsOlder_x64": {
|
||||
"fidb": "sha256-jDtR9GYM0n4aDWEKnz8tX7yDOmasnuQ5PuLySB6FWGY="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/FunctionID/vsOlder_x86": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/FunctionID/vsOlder_x86": {
|
||||
"fidb": "sha256-mGBca2uSFKlF2ETkHIWGDVRkmkW8p4c+9pkcDpNyB4c="
|
||||
},
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.1.2/lib/java-sarif-2.1-modified": {
|
||||
"NationalSecurityAgency/ghidra-data/raw/Ghidra_12.2/lib/java-sarif-2.1-modified": {
|
||||
"jar": "sha256-f3NlZklHVtJxql5LGvbIncUNB0qxxjdKR9+CImQiawE="
|
||||
},
|
||||
"Z3Prover/z3/releases/download/z3-4.13.0/z3-4.13.0-arm64-osx-11.0": {
|
||||
|
|
@ -209,14 +212,14 @@
|
|||
"jar": "sha256-FWvnNhmcmQMh2f93CQsZlinPyYZeLWwT980pG7FkGBc=",
|
||||
"pom": "sha256-F84MMunPlTZ4+CCuXyrZLu85bYQPZn/JnyOtwK0l0yg="
|
||||
},
|
||||
"com/fasterxml#oss-parent/68": {
|
||||
"pom": "sha256-Jer9ltriQra1pxCPVbLBQBW4KNqlq+I0KJ/W53Shzlc="
|
||||
"com/fasterxml#oss-parent/69": {
|
||||
"pom": "sha256-OFbVhKqhyOM86UxnJE9x9vcFOKJZ/+jngXYbn6qth18="
|
||||
},
|
||||
"com/fasterxml/jackson#jackson-bom/2.19.1": {
|
||||
"pom": "sha256-um1o7qs6HME6d6it4hl/+aMqoc/+rHKEfUm63YLhuc4="
|
||||
"com/fasterxml/jackson#jackson-bom/2.19.2": {
|
||||
"pom": "sha256-IgBr5w/QGAmemcbCesCYIyDzoPPCzgU8VXA1eaXuowM="
|
||||
},
|
||||
"com/fasterxml/jackson#jackson-parent/2.19.2": {
|
||||
"pom": "sha256-Y5orY90F2k44EIEwOYXKrfu3rZ+FsdIyBjj2sR8gg2U="
|
||||
"com/fasterxml/jackson#jackson-parent/2.19.3": {
|
||||
"pom": "sha256-I9GGyNjNBgFdAixxDHFUI9Zg1J4pc7FYcLApzCYBhoI="
|
||||
},
|
||||
"com/formdev#flatlaf/3.5.4": {
|
||||
"jar": "sha256-PDS2rrLxcKlUxDWGR+tDtotEeiw1H/MRBy9xV6XU4v4=",
|
||||
|
|
@ -245,12 +248,24 @@
|
|||
"com/google/code/gson#gson-parent/2.13.2": {
|
||||
"pom": "sha256-g6tSip1Q/XauuK1vcns+6ct2ZYYlV3TtFsqMTHbZ2s0="
|
||||
},
|
||||
"com/google/code/gson#gson-parent/2.15.0": {
|
||||
"pom": "sha256-M3Zkswrem2bjc7bvyhq6dCHB+P9jZDuKqLbQXY7+jos="
|
||||
},
|
||||
"com/google/code/gson#gson/2.13.2": {
|
||||
"jar": "sha256-3QzhtVo+0ggMtw+cZVhQzahsIGhiMQAJ3LXlyVJlpeA=",
|
||||
"pom": "sha256-OqBqp8D5rwkpYaQtCVeOQyS+FGNIoO5u1HhX98Jne3Y="
|
||||
},
|
||||
"com/google/code/gson#gson/2.15.0": {
|
||||
"pom": "sha256-QmvJaKTlIYZaWN0XpgOJ/tYZWhw1fj64vLfK4xOHvK4="
|
||||
},
|
||||
"com/google/code/gson/gson/maven-metadata": {
|
||||
"xml": {
|
||||
"groupId": "com.google.code.gson",
|
||||
"lastUpdated": "20261024012745",
|
||||
"release": "2.15.0"
|
||||
}
|
||||
},
|
||||
"com/google/errorprone#error_prone_annotations/2.2.0": {
|
||||
"jar": "sha256-br0iyhudjsBtQd6NZOBZaYHZYHtCA1+e03T53icaSBo=",
|
||||
"pom": "sha256-XgJY6huk5RoTN0JoC8IkSPerIUvkBz6GGfZF7xvkLdU="
|
||||
},
|
||||
"com/google/errorprone#error_prone_annotations/2.21.1": {
|
||||
|
|
@ -263,6 +278,9 @@
|
|||
"jar": "sha256-pW54K1tQgRrCBAc6NVoh2RWiEH/OE+xxEzGtA29mD8w=",
|
||||
"pom": "sha256-oVHfHi4LSGGNiwahgHSKKbOrs5sbI5b2och5pydIjG4="
|
||||
},
|
||||
"com/google/errorprone#error_prone_annotations/2.50.0": {
|
||||
"pom": "sha256-caBoDSdzJLq0a+xLAPbxEcG3lKkx0NjNp5vLkkaYL5I="
|
||||
},
|
||||
"com/google/errorprone#error_prone_parent/2.2.0": {
|
||||
"pom": "sha256-xGCQLd9ezmiDLGsnHOUqCSiwXPOmrIGo9UjHPL1UETg="
|
||||
},
|
||||
|
|
@ -275,9 +293,12 @@
|
|||
"com/google/errorprone#error_prone_parent/2.41.0": {
|
||||
"pom": "sha256-xTg4jXYKXByY3PBvbtPP5fEaZRgn21y9LtgojHlcrUI="
|
||||
},
|
||||
"com/google/gradle#osdetector-gradle-plugin/1.7.0": {
|
||||
"jar": "sha256-29oheMFO1rk6GEsay/ONchBwAiUmaMERz0EeyjfkHKY=",
|
||||
"pom": "sha256-6BYywu6apI5+zwVHUSwcOGVgwNRqlY7lBVD3693xNRc="
|
||||
"com/google/errorprone#error_prone_parent/2.50.0": {
|
||||
"pom": "sha256-q/RaAZ2xJbUP9VE07Cr5SuNRl2EDit8KYLm9e0uLYlQ="
|
||||
},
|
||||
"com/google/gradle#osdetector-gradle-plugin/1.7.3": {
|
||||
"jar": "sha256-a0aS+ROiGx+2Axae54uo8+SrKvnXYq+cqIt5EmwcCtE=",
|
||||
"pom": "sha256-hGDJUBJ8o1mHZhYeOLT/jWO01p+4MQoW4As1E1ABDBE="
|
||||
},
|
||||
"com/google/guava#failureaccess/1.0.1": {
|
||||
"jar": "sha256-oXHuTHNN0tqDfksWvp30Zhr6typBra8x64Tf2vk2yiY=",
|
||||
|
|
@ -289,9 +310,6 @@
|
|||
"com/google/guava#guava-parent/26.0-android": {
|
||||
"pom": "sha256-+GmKtGypls6InBr8jKTyXrisawNNyJjUWDdCNgAWzAQ="
|
||||
},
|
||||
"com/google/guava#guava-parent/27.0.1-jre": {
|
||||
"pom": "sha256-MX6IKRJi4M8oBelWwYhQ8dRWXIXC4REvXZ0Iqxcy5pY="
|
||||
},
|
||||
"com/google/guava#guava-parent/27.1-android": {
|
||||
"pom": "sha256-1oF79aZ2AKOTpoA9UfR8159KXth1cqg3K++S4nNRgXI="
|
||||
},
|
||||
|
|
@ -301,10 +319,6 @@
|
|||
"com/google/guava#guava/19.0": {
|
||||
"pom": "sha256-rdwGTafxB3/fTckOWqqIfNeQhQ0bdP4ubiXV94VRrGM="
|
||||
},
|
||||
"com/google/guava#guava/27.0.1-jre": {
|
||||
"jar": "sha256-4cgU/QRJKifDjgMX6r6qGz6VDsgBAjnkAP6QrWyRB7Q=",
|
||||
"pom": "sha256-ao3QQfI6a7FKhuRA/MuZNTe2InE1eg2sCjyw/zkVjzY="
|
||||
},
|
||||
"com/google/guava#guava/27.1-android": {
|
||||
"pom": "sha256-KUYNJundBml2Ak+RJoMlzxHzkScNiPi1MewGQqNbwNw="
|
||||
},
|
||||
|
|
@ -318,7 +332,6 @@
|
|||
"pom": "sha256-GNSx2yYVPU5VB5zh92ux/gXNuGLvmVSojLzE/zi4Z5s="
|
||||
},
|
||||
"com/google/j2objc#j2objc-annotations/1.1": {
|
||||
"jar": "sha256-KZSn63jycQvT07+2ObLJTiGc7awNTQhNUW54wW3d7PY=",
|
||||
"pom": "sha256-8MmMVx6Tp8tN0Y3w+jCPCWPnoGIKwtQkTmHnCdA61r4="
|
||||
},
|
||||
"com/google/j2objc#j2objc-annotations/2.8": {
|
||||
|
|
@ -334,9 +347,9 @@
|
|||
"com/google/protobuf#protobuf-bom/4.31.0": {
|
||||
"pom": "sha256-Y9iGmhie8C2+3XxnN+FsGYa0aYOufQyNG+8s92sz2Ac="
|
||||
},
|
||||
"com/google/protobuf#protobuf-gradle-plugin/0.8.18": {
|
||||
"jar": "sha256-RP2JrzepsvHdQcCUqbtzPAe/f8eg4jhooQuvbjUfpeA=",
|
||||
"pom": "sha256-Gwqekab09LYqWmB4wibudwqo3FdnueRzwvwY8KOImAQ="
|
||||
"com/google/protobuf#protobuf-gradle-plugin/0.10.0": {
|
||||
"jar": "sha256-QhN92PXZUggB6eVAWLa9ZeSjOiM7q7PyQcxIz3OHDyc=",
|
||||
"pom": "sha256-eXblGp381DjApRGWcEj1n5xLCgr35LX3sDV5uJEWz1w="
|
||||
},
|
||||
"com/google/protobuf#protobuf-java/3.25.5": {
|
||||
"pom": "sha256-51IDIVeno5vpvjeGaEB1RSpGzVhrKGWr0z5wdWikyK8="
|
||||
|
|
@ -377,18 +390,10 @@
|
|||
"com/oracle/labs/olcut#olcut/5.3.1": {
|
||||
"pom": "sha256-FozfcdoCOr6j5szCfuIaY4wzGJs1yTvYllDpSm1goao="
|
||||
},
|
||||
"commons-beanutils#commons-beanutils/1.9.4": {
|
||||
"jar": "sha256-fZOMgXiQKARcCMBl6UvnX8KAUnYg1b1itRnVg4UyNoo=",
|
||||
"pom": "sha256-w1zKe2HUZ42VeMvAuQG4cXtTmr+SVEQdp4uP5g3gZNA="
|
||||
},
|
||||
"commons-codec#commons-codec/1.18.0": {
|
||||
"jar": "sha256-ugBfMEzvkqPe3iSjitWsm4r8zw2PdYOdbBM4Y0z39uQ=",
|
||||
"pom": "sha256-dLkW2ksDhMYZ5t1MGN7+iqQ4f3lSBSU8+0u7L0WM3c4="
|
||||
},
|
||||
"commons-collections#commons-collections/3.2.2": {
|
||||
"jar": "sha256-7urpF5FxRKaKdB1MDf9mqlxcX9hVk/8he87T/Iyng7g=",
|
||||
"pom": "sha256-1dgfzCiMDYxxHDAgB8raSqmiJu0aES1LqmTLHWMiFws="
|
||||
},
|
||||
"commons-io#commons-io/2.19.0": {
|
||||
"jar": "sha256-gkJokZtLYvn0DwjFQ4HeWZOwePWGZ+My0XNIrgGdcrk=",
|
||||
"pom": "sha256-VCt6UC7WGVDRuDEStRsWF9NAfjpN9atWqY12Dg+MWVA="
|
||||
|
|
@ -400,10 +405,6 @@
|
|||
"commons-io#commons-io/2.8.0": {
|
||||
"pom": "sha256-18hkGjfW5282+56B/BQg4moJ1j+jLwD3R2TeBnyoNH0="
|
||||
},
|
||||
"commons-lang#commons-lang/2.6": {
|
||||
"jar": "sha256-UPEbCfh3wpTVbyRGP0fSj5Kc9QRPZIZhwPDPuumi9Jw=",
|
||||
"pom": "sha256-7Xa4iRwwtWYonHQ2Vvik1DWYaYJDjUDFZ8YmIzJH5xE="
|
||||
},
|
||||
"commons-logging#commons-logging/1.2": {
|
||||
"jar": "sha256-2t3qHqC+D1aXirMAa4rJKDSv7vvZt+TmMW/KV98PpjY=",
|
||||
"pom": "sha256-yRq1qlcNhvb9B8wVjsa8LFAIBAKXLukXn+JBAHOfuyA="
|
||||
|
|
@ -470,9 +471,9 @@
|
|||
"jar": "sha256-jklbY0Rp1k+4rPo0laBly6zIoP/1XOHjEAe+TBbcV9M=",
|
||||
"pom": "sha256-Vptpd+5GA8llwcRsMFj6bpaSkbAWDraWTdCSzYnq3ZQ="
|
||||
},
|
||||
"kr/motd/maven#os-maven-plugin/1.7.0": {
|
||||
"jar": "sha256-lDBTUBpCnlPRxNYhUu7BJfo2Yg4NxmtzkKiVCXz96s4=",
|
||||
"pom": "sha256-xPVqjuqlJp76BdsB4xMJBf9b24frKuPnZhVOmuoYO6Y="
|
||||
"kr/motd/maven#os-maven-plugin/1.7.1": {
|
||||
"jar": "sha256-9Hru+Ggh5SsrGHWJeL0EXwPXIikuMudHCCEixiKJUuA=",
|
||||
"pom": "sha256-S3WABEIrljPdMY8p54Tx0YC9ilkgzVCvGTCGH21qVHY="
|
||||
},
|
||||
"msv#isorelax/20050913": {
|
||||
"jar": "sha256-NCcVJDHPf5Z/kuaeXKwWFHxdj7S05ainL1KReI78/4w=",
|
||||
|
|
@ -506,6 +507,10 @@
|
|||
"jar": "sha256-dGHpJGw7BRkWRaf5TBBGgMwxhlu02RIIKsAv93Egz0s=",
|
||||
"pom": "sha256-EHm33r9dRb/PyG6euBCvHRhqN11glaDpHKKM2a8pwtA="
|
||||
},
|
||||
"net/lingala/zip4j#zip4j/2.11.6": {
|
||||
"jar": "sha256-Xx6x6dZ8/uIAppXkB5dRtJ5zoiaxVBk+E/fGAu++cvs=",
|
||||
"pom": "sha256-n+QZ9LS/JuiYDAz8q9sk/5E6Oki0+dcC7pvx/unWQQs="
|
||||
},
|
||||
"net/sf/jung#jung-algorithms/2.1.1": {
|
||||
"jar": "sha256-7ROOL2srLxOvYaE/F4i85vHeiFjELucKfUHmKDk3owo=",
|
||||
"pom": "sha256-INw/C+7taPkCw/AtO6qJ8eI0xNSWeyIS15HBjw/a6Qs="
|
||||
|
|
@ -525,14 +530,6 @@
|
|||
"jar": "sha256-kzuibCMIw79FZsOCiXm2itdCJyRXFxLlrw3odr3/oq4=",
|
||||
"pom": "sha256-ayUROtpk+JgoOQmGsyWE0nNsBE+7iVz1Bo6BQWo9l+w="
|
||||
},
|
||||
"net/sf/sevenzipjbinding#sevenzipjbinding-all-platforms/16.02-2.01": {
|
||||
"jar": "sha256-cvq1Op0x4W1lP+H0AAEdAqf2vGqR6GNLXPrVzhXUZ7s=",
|
||||
"pom": "sha256-u3FCxepITF/phCbcFezhuYu/3UZTRWqI2idCHXJnAmU="
|
||||
},
|
||||
"net/sf/sevenzipjbinding#sevenzipjbinding/16.02-2.01": {
|
||||
"jar": "sha256-Ezyj9pyMc12Jl8CUd1BPSKny5h6ntwSzcUqQZrHvuI4=",
|
||||
"pom": "sha256-pdF4WGwNvc4V3cKlKBaE04ek8jW10bklWzls7TaWhcE="
|
||||
},
|
||||
"org/antlr#ST4/4.0.8": {
|
||||
"jar": "sha256-WMqrxAyfdLC1mT/YaOD2SlDAdZCU5qJRqq+tmO38ejs=",
|
||||
"pom": "sha256-PAiQ3scRdOs7o9QEyp40GQH/awQhgIsAcTsNuxMGwXw="
|
||||
|
|
@ -551,12 +548,6 @@
|
|||
"org/apache#apache/13": {
|
||||
"pom": "sha256-/1E9sDYf1BI3vvR4SWi8FarkeNTsCpSW+BEHLMrzhB0="
|
||||
},
|
||||
"org/apache#apache/16": {
|
||||
"pom": "sha256-n4X/L9fWyzCXqkf7QZ7n8OvoaRCfmKup9Oyj9J50pA4="
|
||||
},
|
||||
"org/apache#apache/19": {
|
||||
"pom": "sha256-kfejMJbqabrCy69tAf65NMrAAsSNjIz6nCQLQPHsId8="
|
||||
},
|
||||
"org/apache#apache/21": {
|
||||
"pom": "sha256-rxDBCNoBTxfK+se1KytLWjocGCZfoq+XoyXZFDU3s4A="
|
||||
},
|
||||
|
|
@ -575,17 +566,16 @@
|
|||
"org/apache#apache/35": {
|
||||
"pom": "sha256-6il9zRFBNui46LYwIw1Sp2wvxp9sXbJdZysYVwAHKLg="
|
||||
},
|
||||
"org/apache#apache/7": {
|
||||
"pom": "sha256-E5fOHbQzrcnyI9vwdJbRM2gUSHUfSuKeWPaOePtLbCU="
|
||||
},
|
||||
"org/apache/commons#commons-collections4/4.1": {
|
||||
"jar": "sha256-sf6LWWi1fYRlQlNX7S2dxpVQRRi+0t9bVlxLjmjByKU=",
|
||||
"pom": "sha256-wK1C6RA1N5YNmnTaWOzCTdGjehPR5MSPCWm+k+QBg2k="
|
||||
"org/apache#apache/39": {
|
||||
"pom": "sha256-cXUu1MJDWh2Dhf4KTTMPOdBO/sifDRul0VmNOfc5ekQ="
|
||||
},
|
||||
"org/apache/commons#commons-collections4/4.4": {
|
||||
"jar": "sha256-Hfi5QwtcjtFD14FeQD4z71NxskAKrb6b2giDdi4IRtE=",
|
||||
"pom": "sha256-JxvWc4Oa9G5zr/lX4pGNS/lvWsT2xs9NW+k/0fEnHE0="
|
||||
},
|
||||
"org/apache/commons#commons-collections4/4.6.0": {
|
||||
"jar": "sha256-Tg0IlrrFNWzq0ne6wCg/CYE+FEF+PoTgyGtXO1TSGKM=",
|
||||
"pom": "sha256-lOV3LqPHuoD3w0WmlQzHpAFUY/CKKnvoLozoWEw5eMM="
|
||||
},
|
||||
"org/apache/commons#commons-compress/1.27.1": {
|
||||
"jar": "sha256-KT2A9UtTa3QJXc1+o88KKbv8NAJRkoEzJJX0Qg03DRY=",
|
||||
"pom": "sha256-34zBqDh9TOhCNjtyCf3G0135djg5/T/KtVig+D+dhBw="
|
||||
|
|
@ -604,21 +594,12 @@
|
|||
"org/apache/commons#commons-lang3/3.9": {
|
||||
"pom": "sha256-pAIkKbmEJbQwGBkVchJ5pS9hDzRki9rEh9TKy76N/rU="
|
||||
},
|
||||
"org/apache/commons#commons-parent/17": {
|
||||
"pom": "sha256-lucYuvU0h07mLOTULeJl8t2s2IORpUDgMNWdmPp8RAg="
|
||||
"org/apache/commons#commons-parent/103": {
|
||||
"pom": "sha256-B0B4FfPBRBoHjhbl3eLer2UqPb378uujtWPVYSEHlL8="
|
||||
},
|
||||
"org/apache/commons#commons-parent/34": {
|
||||
"pom": "sha256-Oi5p0G1kHR87KTEm3J4uTqZWO/jDbIfgq2+kKS0Et5w="
|
||||
},
|
||||
"org/apache/commons#commons-parent/38": {
|
||||
"pom": "sha256-VY2WF0Xrrcxdw5HP3n1HQIbUyq7iTdPm35Me2fa1tJU="
|
||||
},
|
||||
"org/apache/commons#commons-parent/39": {
|
||||
"pom": "sha256-h80n4aAqXD622FBZzphpa7G0TCuLZQ8FZ8ht9g+mHac="
|
||||
},
|
||||
"org/apache/commons#commons-parent/47": {
|
||||
"pom": "sha256-io7LVwVTv58f+uIRqNTKnuYwwXr+WSkzaPunvZtC/Lc="
|
||||
},
|
||||
"org/apache/commons#commons-parent/48": {
|
||||
"pom": "sha256-Hh996TcKe3kB8Sjx2s0UIr504/R/lViw954EwGN8oLQ="
|
||||
},
|
||||
|
|
@ -672,51 +653,51 @@
|
|||
"module": "sha256-1sIlTINHuEzahMr3SRShh8Lzd+QoTo2Ls/kBUhgQqos=",
|
||||
"pom": "sha256-qkTrUr/f5h0ns+RQ0rNI2I3qo0N6tNnUmoQJU0j59vs="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j-api/2.25.4": {
|
||||
"jar": "sha256-xLZCp/BHJ1IV3hF+DjhH6yx3EdhKCqdDPns8CW2vNB0=",
|
||||
"module": "sha256-vtG2eRoxTiT5fbBjv2vQXTp/12wUUNbHtF/bvXpPWP8=",
|
||||
"pom": "sha256-lDpD2hQw2+tQGr0Ily8oPqifOx2/xCUuwwWVQ7Tga1U="
|
||||
"org/apache/logging/log4j#log4j-api/2.26.1": {
|
||||
"jar": "sha256-8YEKRwTMzgGdArugKdwCpPKsDJl/ZHtGXn1AnBkn+CI=",
|
||||
"module": "sha256-Xtk/b7UzS/fuUpQ9GmVLw6Hz8Qdlri/Uu9OHMzvmZ4o=",
|
||||
"pom": "sha256-yKuGj5xTIjO9EvMRzqkKP23mXqB6eqRww+K7+Dtcefs="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j-bom/2.25.4": {
|
||||
"pom": "sha256-cxPTOftjKoYQ4RQLMpD8JNY3Q7mqYl4qC9Wd7UCjrlQ="
|
||||
"org/apache/logging/log4j#log4j-bom/2.26.1": {
|
||||
"pom": "sha256-RBWtGJ3QTbVJWKQ+I7N8w5eh7e6eiIIUuL1H++gZBy4="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j-core/2.25.4": {
|
||||
"jar": "sha256-EP7iwEhdVPpE7nXTFPYpVQj3uTIoGHPbYakbiAcyAOY=",
|
||||
"module": "sha256-McWBtzkL0vhIHod3dcIYkk6nMPERwdgS1bWA2W+ceU8=",
|
||||
"pom": "sha256-NMBz/HSWba+kTMW/123l42aOokDyhLq4R45BfuA6Vqo="
|
||||
"org/apache/logging/log4j#log4j-core/2.26.1": {
|
||||
"jar": "sha256-LsjDv1ptfIm+hiARai/Jc/fdoa0CYa05PE1HJu39Pcs=",
|
||||
"module": "sha256-A7/Yrb4wasRgAeyd5mj45dJPZlnyEvxk5iobZypaL2o=",
|
||||
"pom": "sha256-Gj/ZpEZ8OrmxJ+cUG+8Sm2JCj+Ey9/klw69/Uk3XqLU="
|
||||
},
|
||||
"org/apache/logging/log4j#log4j/2.25.4": {
|
||||
"pom": "sha256-+K6JBKKONPoEw103QGGdroNjJAG6HjE7r9fM9aMADew="
|
||||
"org/apache/logging/log4j#log4j/2.26.1": {
|
||||
"pom": "sha256-6kcFcl/ZS/XevikR1Op68giYYD9oNU5kskYaDySeRF0="
|
||||
},
|
||||
"org/bouncycastle#bcpkix-jdk18on/1.84": {
|
||||
"jar": "sha256-yH8W7Z5exhvJQVHp82RqxE5QzUSBIc6ENn+kt+x+wbs=",
|
||||
"pom": "sha256-wSge1er48+QFVX56UgXLbzzfdT+E3psagVx16965mSo="
|
||||
"org/bouncycastle#bcpkix-jdk18on/1.86": {
|
||||
"jar": "sha256-jYtBpLFJva6NMx8FmleIcJVNHj/yn4Jpqes+4Zp+Tvc=",
|
||||
"pom": "sha256-RJiYRPsXs56wjqvq+B4f0WrFDJlNXAIRn4kSIMOsWHg="
|
||||
},
|
||||
"org/bouncycastle#bcprov-jdk18on/1.84": {
|
||||
"jar": "sha256-ZNbFphIfzZJxUt0YLL7Tmv4P2mQalw2bzAycsYWLJzE=",
|
||||
"pom": "sha256-znq7SpG6XSpz/fF6PfR2LjYFoDksx5g+8vGuFs04TMM="
|
||||
"org/bouncycastle#bcprov-jdk18on/1.86": {
|
||||
"jar": "sha256-KvGQswDLsLNeJIzPX0oGtgcgMK6z2nqY7HOr5bTLNx8=",
|
||||
"pom": "sha256-lwtwy3WhhGObb7m6PEZaympOGl8//01lzoV0sv157zg="
|
||||
},
|
||||
"org/bouncycastle#bcutil-jdk18on/1.84": {
|
||||
"jar": "sha256-s3ThaWNCH7nPsBzCDXrY/S+LgYjj7vDsColl4kX3YZo=",
|
||||
"pom": "sha256-Cwy4GmXuFzfVEoY1Cp5WSJM2uPmQgZj+vQSUJD7qKXg="
|
||||
"org/bouncycastle#bcutil-jdk18on/1.86": {
|
||||
"jar": "sha256-HCaOFfeFqvseRnDY1uX4VvaUdelsFi2tzR/5s1DpE58=",
|
||||
"pom": "sha256-Igmz5dHrK7PFk7gkwbjxQrBd6o6d90ALDzPyuRoHQfo="
|
||||
},
|
||||
"org/checkerframework#checker-compat-qual/2.5.2": {
|
||||
"pom": "sha256-da9ztewybj29yUayH9RoAtXafGEsO/Hlh1N0yY1+pP0="
|
||||
},
|
||||
"org/checkerframework#checker-qual/2.5.2": {
|
||||
"jar": "sha256-ZLAmkci51OdwD47i50Lc5+osboHmYrdSLJ7jv1aMBAo=",
|
||||
"pom": "sha256-3EzUOKNkYtATwjOMjiBtECoyKgDzNynolV7iGYWcnt4="
|
||||
},
|
||||
"org/checkerframework#checker-qual/3.37.0": {
|
||||
"jar": "sha256-5M4TdswnNeHd4iC2KtCRP1EpdwTarRVaM/OGvF2w2fc=",
|
||||
"module": "sha256-clinadyqJrmBVNIp2FzHLls2ZrC8tjfS2vFuxJiVZjg=",
|
||||
"pom": "sha256-AjkvvUziGQH5RWFUcrHU1NNZGzqr3wExBfXJLsMstPA="
|
||||
},
|
||||
"org/checkerframework#checker-qual/3.55.1": {
|
||||
"jar": "sha256-hXZYyL3L/3lJSajZki+I1j7jdRwgPHzX0h6pf550Uog=",
|
||||
"module": "sha256-OQabiu7c3Ed/S0W9Ho41IAe3uZCk4XgU7Vn7MRLYFQM=",
|
||||
"pom": "sha256-Yn2SqpL9TWu4wrVry7OFQ0F/SdOLWmL720rv9VHnt2A="
|
||||
},
|
||||
"org/codehaus#codehaus-parent/3": {
|
||||
"pom": "sha256-UOslOs0LbuBI9DLZ/Do7NiZO+z2h/6f7B/bE1LeoyjE="
|
||||
},
|
||||
"org/codehaus/mojo#animal-sniffer-annotations/1.17": {
|
||||
"jar": "sha256-kmVPST7P7FIILnY1Tw6/h2SNw9XOwuPDzblHwBZ0elM=",
|
||||
"pom": "sha256-6VarXS60j6uuEjANDNLTKU1KKkGrwgaMI8tNYK12y+U="
|
||||
},
|
||||
"org/codehaus/mojo#animal-sniffer-annotations/1.9": {
|
||||
|
|
@ -757,6 +738,22 @@
|
|||
"org/eclipse/ee4j#project/1.0.7": {
|
||||
"pom": "sha256-IFwDmkLLrjVW776wSkg+s6PPlVC9db+EJg3I8oIY8QU="
|
||||
},
|
||||
"org/eclipse/lsp4j#org.eclipse.lsp4j.debug/1.0.0": {
|
||||
"jar": "sha256-f05UO3vkaskppY5JxcWvFNnwVYpFjyHTlkiy42qYXew=",
|
||||
"pom": "sha256-bVIJ9HBprHsIm9AFwq6dGc+k4jOWsu0X2KFG2xrnG+E="
|
||||
},
|
||||
"org/eclipse/lsp4j#org.eclipse.lsp4j.jsonrpc.debug/1.0.0": {
|
||||
"jar": "sha256-BWtPcpv9lgRi0q1TPjl1/5dtZ7N6X45dZZpgVCyKq40=",
|
||||
"pom": "sha256-9TbO2IrZtpcnJq8rTCo+AJEWVB3kIHYT0UaF3w+RoUo="
|
||||
},
|
||||
"org/eclipse/lsp4j#org.eclipse.lsp4j.jsonrpc/1.0.0": {
|
||||
"jar": "sha256-lkf+sFJL92PIeOEquHimhBArgczLP3f+7L7HCdVPm7s=",
|
||||
"pom": "sha256-wJiSNnT2N6Fh8VZNaBBCpDQUBYGTUnewLU21JrI/hWs="
|
||||
},
|
||||
"org/eclipse/lsp4j#org.eclipse.lsp4j/1.0.0": {
|
||||
"jar": "sha256-zNeIk/rMa/zDWdVsugXT1bhetB5MQNS0IVykXbX0Ftk=",
|
||||
"pom": "sha256-jmyWjEXZJS5iGf2Vojo4JKYSCCgIJ4ehCFYtAsQXivA="
|
||||
},
|
||||
"org/fusesource#fusesource-pom/1.12": {
|
||||
"pom": "sha256-xA2WDarc73sBwbHGZXr7rE//teUxaPj8sLKLhOb9zKE="
|
||||
},
|
||||
|
|
@ -857,14 +854,14 @@
|
|||
"module": "sha256-qaTye+lOmbnVcBYtJGqA9obSd9XTGutUgQR89R2vRuQ=",
|
||||
"pom": "sha256-GdS3R7IEgFMltjNFUylvmGViJ3pKwcteWTpeTE9eQRU="
|
||||
},
|
||||
"org/junit#junit-bom/5.13.2": {
|
||||
"module": "sha256-7WfhUiFASsQrXlmBAu33Yt1qlS3JUAHpwMTudKBOgoM=",
|
||||
"pom": "sha256-Q7EQT7P9TvS3KpdR1B4Jwp8AHIvgD/OXIjjcFppzS0k="
|
||||
},
|
||||
"org/junit#junit-bom/5.13.4": {
|
||||
"module": "sha256-6Vkoj94bGwUNm8CC/HhniRKNpdKFMJFGj8pQQQS99AA=",
|
||||
"pom": "sha256-16CKmbJQLwu2jNTh+YTwv2kySqogi9D3M2bAP8NUikI="
|
||||
},
|
||||
"org/junit#junit-bom/5.14.3": {
|
||||
"module": "sha256-8lxAv6Usi3tCXVdqiPMQ9kMmFtYrpYkyA/on37yfAl4=",
|
||||
"pom": "sha256-CKAoVuSHyTV/mynjh0X4roBYSBEectFarQNSM48WMuE="
|
||||
},
|
||||
"org/junit#junit-bom/5.7.1": {
|
||||
"module": "sha256-mFTjiU1kskhSB+AEa8oHs9QtFp54L0+oyc4imnj67gQ=",
|
||||
"pom": "sha256-C5sUo9YhBvr+jGinF7h7h60YaFiZRRt1PAT6QbaFd4Q="
|
||||
|
|
@ -946,9 +943,9 @@
|
|||
"jar": "sha256-A9madK0e5ccTNO9nQ39O9P40iMqnyW2GRavHPI4gF9Q=",
|
||||
"pom": "sha256-z4Ye8edF1XFUr3muFN80DtU0Hl3NAVfO/NLrfxqgXFc="
|
||||
},
|
||||
"org/postgresql#postgresql/42.7.11": {
|
||||
"jar": "sha256-GYGzHTmTxYcCeDwc3fEKNOSMH0E9cP8ctt7woUNIRkc=",
|
||||
"pom": "sha256-RDynyNg1qdOWYwhwZmhFpwx6io1Or1xS4hB2/KjYNZ4="
|
||||
"org/postgresql#postgresql/42.7.13": {
|
||||
"jar": "sha256-bg5MwtjK6QIIT4orGHKLBzpv2dH4fJ2L/48pjBgYW5M=",
|
||||
"pom": "sha256-OVdBfsruNCUhthMQ/cIb03/Li7o/dUfs6beP0DzVPyY="
|
||||
},
|
||||
"org/python#jython-standalone/2.7.4": {
|
||||
"jar": "sha256-H7oXae/8yLGfXhBDa8gnShWM6YhVnyV5J8JMc7sTfzw=",
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
}:
|
||||
buildGhidraExtension (finalAttrs: {
|
||||
pname = "findcrypt";
|
||||
version = "3.1.9";
|
||||
version = "3.1.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "antoniovazquezblanco";
|
||||
repo = "GhidraFindcrypt";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-NpJx9F21wYvrgELwKjE4bqRAE3lvLwqXbvuCB0HmPgk=";
|
||||
hash = "sha256-3bg/2UkSS2wCcC9GRDBKfAUNn9jcQIcNHxKsIyFGZQo=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -5,22 +5,22 @@
|
|||
}:
|
||||
maven.buildMavenPackage (finalAttrs: {
|
||||
pname = "binary-file-toolkit";
|
||||
version = "0.5.1";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boricj";
|
||||
repo = "binary-file-toolkit";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-HMzRh/Q06Ik33mEkmh5U6qLiWk7ZCEstYq3Ll/pFhXM=";
|
||||
hash = "sha256-dhWBnieXVsFyBoaCBzQIVo7iLWrO6l5y0v1KK1xC/es=";
|
||||
};
|
||||
|
||||
mvnHash = "sha256-UrvPqh5zxhTQ6MJNJ7CSAA6dg5DX+Jdx6/wKr4/1brs=";
|
||||
mvnHash = "sha256-kMOrmkzLfe/V/boTkFKHcsom3A9GHWk5cuQ/AQ3f760=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/
|
||||
cp dist/* $out/
|
||||
mkdir -p "$out/"
|
||||
cp bft-*/target/*.jar "$out/"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
callPackage,
|
||||
lib,
|
||||
stdenv,
|
||||
buildGhidraExtension,
|
||||
gradle,
|
||||
fetchFromGitHub,
|
||||
|
|
@ -9,13 +10,13 @@
|
|||
}:
|
||||
buildGhidraExtension (finalAttrs: {
|
||||
pname = "ghidra-delinker-extension";
|
||||
version = "0.8.0";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boricj";
|
||||
repo = "ghidra-delinker-extension";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-Wqxi/xF+HMG9wQUiHwilKX8PkdtHtGaNrXZyPMjT4iE=";
|
||||
hash = "sha256-7C8hVqYx8Q10SqMoZWicqi5SVNP1BQh33ENxaigDjzM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
@ -37,6 +38,18 @@ buildGhidraExtension (finalAttrs: {
|
|||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
# Work around a Nix darwin sandbox regression: the default profile only
|
||||
# allows outbound connections to `(remote ip "localhost:*")`, which on
|
||||
# some hosts resolves to ::1 only, so connect() to 127.0.0.1 is denied
|
||||
# (and literal IPs like "127.0.0.1:*" are rejected by the sandbox
|
||||
# compiler). The Gradle client needs to connect to its daemon, which
|
||||
# binds to 127.0.0.1. Restore the interface-based loopback allowance
|
||||
# that Nix used before.
|
||||
sandboxProfile = lib.optionalString stdenv.buildPlatform.isDarwin ''
|
||||
(allow network* (local ip))
|
||||
'';
|
||||
|
||||
|
||||
mitmCache = gradle.fetchDeps {
|
||||
pkg = finalAttrs.finalPackage;
|
||||
data = ./deps.json;
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
}:
|
||||
buildGhidraExtension (finalAttrs: {
|
||||
pname = "ghidra-firmware-utils";
|
||||
version = "2026.01.14";
|
||||
version = "2026.08.31";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "al3xtjames";
|
||||
repo = "ghidra-firmware-utils";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-FEjcqsisMvmNCQikon/3EEkLEtgKmGRBl/WwZebP+/A=";
|
||||
hash = "sha256-M2GC2LHitZ9kJ5lOMb8koi4sxXGwXn119KXNb9BYArA=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/gprofng/src/collector_module.h b/gprofng/src/collector_module.h
|
||||
index b64d69c45ab..859a6dd1f7d 100644
|
||||
--- a/gprofng/src/collector_module.h
|
||||
+++ b/gprofng/src/collector_module.h
|
||||
@@ -119,7 +119,7 @@ typedef struct CollectorUtilFuncs
|
||||
extern CollectorUtilFuncs __collector_util_funcs;
|
||||
extern int __collector_dlsym_guard;
|
||||
|
||||
-#define CALL_UTIL(x) __collector_util_funcs.x
|
||||
+#define CALL_UTIL(x) (__collector_util_funcs.x)
|
||||
|
||||
/*
|
||||
|
|
@ -28,7 +28,19 @@ buildGhidraExtension {
|
|||
src = "${ghidra.lib}/lib/ghidra/Extensions/Ghidra/${ghidra.distroPrefix}_GnuDisassembler.zip";
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${binutils-src} binutils-${binutils-version}.tar.bz2
|
||||
mkdir binutils-patched
|
||||
tar -xjf ${binutils-src} -C binutils-patched
|
||||
|
||||
patch -p1 \
|
||||
-d binutils-patched/binutils-${binutils-version} \
|
||||
< ${./0005-gprofng-protect-against-standard-library-macros.patch}
|
||||
|
||||
tar -cjf binutils-${binutils-version}.tar.bz2 \
|
||||
-C binutils-patched \
|
||||
binutils-${binutils-version}
|
||||
|
||||
rm -rf binutils-patched
|
||||
|
||||
substituteInPlace build.gradle \
|
||||
--replace-fail 'ext.binutils = "binutils-2.41"' 'ext.binutils = "binutils-${binutils-version}"'
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -25,13 +25,13 @@ let
|
|||
|
||||
self = buildGhidraExtension (finalAttrs: {
|
||||
pname = "kaiju";
|
||||
version = "260608";
|
||||
version = "261023";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CERTCC";
|
||||
repo = "kaiju";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-T8Ta8lQob7w0iPsVbZix795AjVwdo2U8yuvgCUBi5fw=";
|
||||
hash = "sha256-kxMZxRwvEoR+VocERv2Fl9DzeJVmQi9CX+tFP5HNaWc=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
|||
|
|
@ -122,6 +122,11 @@
|
|||
"module": "sha256-HehRQa+fWBU+JFdQaaE3X7vt169dhEy+MoeWU0nLofc=",
|
||||
"pom": "sha256-LflCCmsk5fTzFCNeAc2cO49kYoXbL26C2G7gbvevTiQ="
|
||||
},
|
||||
"org/junit/platform#junit-platform-launcher/1.9.2": {
|
||||
"jar": "sha256-7vE56wnJjpzdNYts5MbN1ZswxqiAluNpwzupbmft8OQ=",
|
||||
"module": "sha256-t30YqS/F8EVCknmbaqWUgiUgfyVJs85/EVHM9ea2hoY=",
|
||||
"pom": "sha256-zpFImYqO8d5n5aj0QHnAPhdS6rUqI6H3bgeoFH8sGY4="
|
||||
},
|
||||
"org/junit/vintage#junit-vintage-engine/5.9.2": {
|
||||
"jar": "sha256-QeFt0yyPRiu8AysrefI5RBkbMuw5jQWFi6212r/9BhI=",
|
||||
"module": "sha256-jMz93WRdDOdyFmeJhOtqEruXJQk0SVgOepIxTIxj0qQ=",
|
||||
|
|
@ -134,30 +139,30 @@
|
|||
"org/sonatype/oss#oss-parent/7": {
|
||||
"pom": "sha256-tR+IZ8kranIkmVV/w6H96ne9+e9XRyL+kM5DailVlFQ="
|
||||
},
|
||||
"systems/manifold#manifold-core-parent/2023.1.28": {
|
||||
"pom": "sha256-ahN15Fn/32/sBPQOta1Tp+cScHjqREz7iUUTtPCfdJA="
|
||||
"systems/manifold#manifold-core-parent/2026.1.16": {
|
||||
"pom": "sha256-iyDhGR1l2YWetm5Znigz1/RgOd9pvxX1hwIXYGR0bUg="
|
||||
},
|
||||
"systems/manifold#manifold-deps-parent/2023.1.28": {
|
||||
"pom": "sha256-DE+CPr0aN18k0zh2D7G5WreDvyrnO5Wd0wDt88AJbkY="
|
||||
"systems/manifold#manifold-deps-parent/2026.1.16": {
|
||||
"pom": "sha256-OkoI8b9a3HOPT3qZZfoKgGe2xtuwbJqrhP+4qSwd0vE="
|
||||
},
|
||||
"systems/manifold#manifold-parent/2023.1.28": {
|
||||
"pom": "sha256-J0ChX+GyGJ9xJMda85n+tR1IfdE6Ij0hhtaHYSOtU6w="
|
||||
"systems/manifold#manifold-parent/2026.1.16": {
|
||||
"pom": "sha256-VUQ9YU2lKJ5mjEQuq4vMJUQc59N7wxTwVKf7sPrMjsk="
|
||||
},
|
||||
"systems/manifold#manifold-preprocessor/2023.1.28": {
|
||||
"jar": "sha256-vRIrrVT6SX3zuMVcfSwhL9nHE0oqfrtMNXuKzli2UB8=",
|
||||
"pom": "sha256-Ov7/Z6wWQo+0mSc5K9t4Yw0aehDcnQEBDSpy9fnGMiU="
|
||||
"systems/manifold#manifold-preprocessor/2026.1.16": {
|
||||
"jar": "sha256-fslf7udbAK8UjzUfO1VZg2plgC2GICQ932pa7icQK+s=",
|
||||
"pom": "sha256-uFauVgjCce60DGAHKTCmuK356NeULxQKB8X9vh4zRKw="
|
||||
},
|
||||
"systems/manifold#manifold-rt/2023.1.28": {
|
||||
"jar": "sha256-4cn28jDYci2C2tUEizvJkdv6LRe/BrLwypEC6N0sGl0=",
|
||||
"pom": "sha256-SAJid1Td0/ltrFi7w2YDNDlWhggDxFB+jynCG/rYaok="
|
||||
"systems/manifold#manifold-rt/2026.1.16": {
|
||||
"jar": "sha256-BP1aGu29IQhznuOLoe6SAh0lGCiiozwqEMo23SpG2UI=",
|
||||
"pom": "sha256-E1Gr+LibY+TSWWtaqKpkOQlfqjqtQlSWK42DftglnTk="
|
||||
},
|
||||
"systems/manifold#manifold-util/2023.1.28": {
|
||||
"jar": "sha256-WjY+1jmh4gvUHjvEbreQqoIB54HBfoNoOIILZs3IT80=",
|
||||
"pom": "sha256-CF4FlMbIuKBRMfa1OjcnIQ7EVgulP739XXFkui2/JR0="
|
||||
"systems/manifold#manifold-util/2026.1.16": {
|
||||
"jar": "sha256-KlVZys5Aliy3XgwKoWqj12xoes/RDY55owEy/i0eXz4=",
|
||||
"pom": "sha256-M/Gc26eqUYg9oMgAYAaKoSG1R7EV4YU54p+R/tczSxM="
|
||||
},
|
||||
"systems/manifold#manifold/2023.1.28": {
|
||||
"jar": "sha256-kPQeNEgFGZkZPz3zejWHU9+npn6RYRpMgOftt+bksRw=",
|
||||
"pom": "sha256-R2kHxQVkoYLTSSIm/jJhjeRx4uObTuHlTSWVp+jBkpw="
|
||||
"systems/manifold#manifold/2026.1.16": {
|
||||
"jar": "sha256-bsQ7eBoWGiAKh/ejNHxwdDouTX8ebhQjQBcU48utbfg=",
|
||||
"pom": "sha256-R/Z2rmbnC4YHYB5OHr5KkK1HKKQ1Zv6z1xHP5oITfc0="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
}:
|
||||
buildGhidraExtension (finalAttrs: {
|
||||
pname = "lightkeeper";
|
||||
version = "1.4.1";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WorksButNotTested";
|
||||
repo = "lightkeeper";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-UBzGs9PKkGjWDL+12mMXMfNm/vqiKlzs16rWRBnCiTw=";
|
||||
hash = "sha256-iwQA31FUr9pVnqyG29k455024R5uPfIMmN7EY3XfzOU=";
|
||||
};
|
||||
preConfigure = ''
|
||||
cd lightkeeper
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ buildGhidraExtension (finalAttrs: {
|
|||
owner = "nneonneo";
|
||||
repo = "ghidra-wasm-plugin";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-2JNenzUac/OpjQ+fN1MkP8E2KIT1Ifn+C/18buSpqrE=";
|
||||
hash = "sha256-7/5TR273Sqqr03lE7qpOJUnwTzdr3BzKk+6GhhdOfo8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ant ];
|
||||
|
|
@ -36,6 +36,6 @@ buildGhidraExtension (finalAttrs: {
|
|||
changelog = "https://github.com/nneonneo/ghidra-wasm-plugin/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.BonusPlay ];
|
||||
broken = true; # Until updated to support 12.1.2
|
||||
broken = true; # Until updated to support 12.1.4
|
||||
};
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,25 +3,28 @@
|
|||
fetchFromGitHub,
|
||||
lib,
|
||||
callPackage,
|
||||
gradle,
|
||||
gradle_9,
|
||||
makeBinaryWrapper,
|
||||
openjdk21,
|
||||
openjdk25,
|
||||
unzip,
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
desktopToDarwinBundle,
|
||||
xcbuild,
|
||||
protobuf,
|
||||
protobuf_21,
|
||||
ghidra-extensions,
|
||||
python3,
|
||||
python3Packages,
|
||||
writeShellApplication,
|
||||
nix-update,
|
||||
}:
|
||||
|
||||
let
|
||||
gradle = gradle_9;
|
||||
openjdk = openjdk25;
|
||||
pname = "ghidra";
|
||||
version = "12.1.2";
|
||||
|
||||
isMacArm64 = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
|
||||
version = "12.2";
|
||||
protobuf = protobuf_21;
|
||||
|
||||
releaseName = "NIX";
|
||||
distroPrefix = "ghidra_${version}_${releaseName}";
|
||||
|
|
@ -29,17 +32,17 @@ let
|
|||
owner = "NationalSecurityAgency";
|
||||
repo = "Ghidra";
|
||||
rev = "Ghidra_${version}_build";
|
||||
hash = "sha256-7/5TR273Sqqr03lE7qpOJUnwTzdr3BzKk+6GhhdOfo8=";
|
||||
hash = "sha256-cShsTAyn96ChXr776ViQ8ij7ddx53F/YXuu4XVdbHW4=";
|
||||
# populate values that require us to use git. By doing this in postFetch we
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
postFetch = ''
|
||||
cd "$out"
|
||||
git rev-parse HEAD > $out/COMMIT
|
||||
# 1970-Jan-01
|
||||
date -u -d "@$(git log -1 --pretty=%ct)" "+%Y-%b-%d" > $out/SOURCE_DATE_EPOCH
|
||||
# 19700101
|
||||
date -u -d "@$(git log -1 --pretty=%ct)" "+%Y%m%d" > $out/SOURCE_DATE_EPOCH_SHORT
|
||||
# Git commit date, e.g. 2026-Sep-11
|
||||
date -u -d "@$(git log -1 --pretty=%ct)" "+%Y-%b-%d" > $out/COMMIT_DATE
|
||||
# Git commit date, e.g. 20260911
|
||||
date -u -d "@$(git log -1 --pretty=%ct)" "+%Y%m%d" > $out/COMMIT_DATE_SHORT
|
||||
find "$out" -name .git -print0 | xargs -0 rm -rf
|
||||
'';
|
||||
};
|
||||
|
|
@ -53,6 +56,9 @@ let
|
|||
|
||||
# Remove build dates from output filenames for easier reference
|
||||
./0003-Remove-build-datestamp.patch
|
||||
|
||||
# Remove timestamps from generated JavaHelp files
|
||||
./0004-Remove-help-timestamps.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
|
@ -60,8 +66,8 @@ let
|
|||
sed -i -e 's/application\.release\.name=.*/application.release.name=${releaseName}/' Ghidra/application.properties
|
||||
|
||||
# Set build date and git revision
|
||||
echo "application.build.date=$(cat SOURCE_DATE_EPOCH)" >> Ghidra/application.properties
|
||||
echo "application.build.date.short=$(cat SOURCE_DATE_EPOCH_SHORT)" >> Ghidra/application.properties
|
||||
echo "application.build.date=$(cat COMMIT_DATE)" >> Ghidra/application.properties
|
||||
echo "application.build.date.short=$(cat COMMIT_DATE_SHORT)" >> Ghidra/application.properties
|
||||
echo "application.revision.ghidra=$(cat COMMIT)" >> Ghidra/application.properties
|
||||
|
||||
# Tells ghidra to use our own protoc binary instead of the prebuilt one.
|
||||
|
|
@ -124,14 +130,21 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
# fallback to ipv4 during build on darwin to ensure match with sandbox
|
||||
# profile rule
|
||||
# https://github.com/anthropics/sandbox-runtime/blob/bcad38810efcc2b7342bbc6ec26d15b7bbbabcfb/src/sandbox/macos-sandbox-utils.ts#L1098-L1115
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
JAVA_TOOL_OPTIONS = "-Djava.net.preferIPv4Stack=true";
|
||||
};
|
||||
|
||||
mitmCache = gradle.fetchDeps {
|
||||
inherit pname;
|
||||
data = ./deps.json;
|
||||
};
|
||||
|
||||
gradleFlags =
|
||||
[ "-Dorg.gradle.java.home=${openjdk21}" ]
|
||||
++ lib.optionals isMacArm64 [
|
||||
[ "-Dorg.gradle.java.home=${openjdk}" ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# For some reason I haven't been able to figure out yet, ghidra builds for
|
||||
# arm64 seems to build the x64 binaries of the decompiler. These fail to
|
||||
# build due to trying to link the x64 object files with arm64 stdc++
|
||||
|
|
@ -146,6 +159,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
];
|
||||
|
||||
preBuild = ''
|
||||
export LANG=C.UTF-8
|
||||
export LC_ALL=C.UTF-8
|
||||
export JAVA_TOOL_OPTIONS="-Duser.home=$NIX_BUILD_TOP/home"
|
||||
gradle -I gradle/support/fetchDependencies.gradle
|
||||
'';
|
||||
|
|
@ -184,6 +199,9 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
"-Djava.system.class.loader=ghidra.GhidraClassLoader"
|
||||
"-Xshare:off"
|
||||
"-XX:+UseCompactObjectHeaders"
|
||||
"-XX:-UseBASE64Intrinsics"
|
||||
"-sun-misc-unsafe-memory-access=allow"
|
||||
|
||||
"-Dfile.encoding=UTF8"
|
||||
"-Dpython.console.encoding=UTF-8"
|
||||
|
|
@ -218,16 +236,16 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
mkdir -p "$out/bin"
|
||||
|
||||
APPNAME=Ghidra
|
||||
makeWrapper "${openjdk21}/bin/java" "$out/bin/ghidra" \
|
||||
makeWrapper "${openjdk}/bin/java" "$out/bin/ghidra" \
|
||||
--set-default NIX_GHIDRAHOME "$lib/lib/ghidra/Ghidra" \
|
||||
--prefix PATH : ${lib.makeBinPath [ openjdk21 ]} \
|
||||
--prefix PATH : ${lib.makeBinPath [ openjdk ]} \
|
||||
--add-flags "${lib.strings.concatStringsSep " " javaArgs}" \
|
||||
--add-flags "ghidra.Ghidra ghidra.GhidraRun"
|
||||
|
||||
APPNAME=Ghidra-Headless
|
||||
makeWrapper "${openjdk21}/bin/java" "$out/bin/ghidra-analyzeHeadless" \
|
||||
makeWrapper "${openjdk}/bin/java" "$out/bin/ghidra-analyzeHeadless" \
|
||||
--set-default NIX_GHIDRAHOME "$lib/lib/ghidra/Ghidra" \
|
||||
--prefix PATH : ${lib.makeBinPath [ openjdk21 ]} \
|
||||
--prefix PATH : ${lib.makeBinPath [ openjdk ]} \
|
||||
--add-flags "${lib.strings.concatStringsSep " " javaArgs}" \
|
||||
--add-flags "-Xmx2G -XX:ParallelGCThreads=2 -XX:CICompilerCount=2" \
|
||||
--add-flags "ghidra.Ghidra ghidra.app.util.headless.AnalyzeHeadless"
|
||||
|
|
@ -242,8 +260,16 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
withExtensions = callPackage ./with-extensions.nix { ghidra = finalAttrs.finalPackage; };
|
||||
|
||||
jdkPackage = openjdk21;
|
||||
jdkPackage = openjdk;
|
||||
ghidraLib = finalAttrs.finalPackage.lib;
|
||||
updateScript = lib.getExe (writeShellApplication {
|
||||
name = "ghidra-update";
|
||||
runtimeInputs = [ nix-update ];
|
||||
text = ''
|
||||
nix-update --version-regex 'Ghidra_(.*)_build' ghidra
|
||||
eval "$(nix-build --no-out-link -A ghidra.mitmCache.updateScript)"
|
||||
'';
|
||||
});
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
@ -266,6 +292,5 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
roblabla
|
||||
vringar
|
||||
];
|
||||
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64;
|
||||
};
|
||||
})
|
||||
|
|
@ -5,17 +5,18 @@
|
|||
setuptools,
|
||||
|
||||
jpype1,
|
||||
typing-extensions,
|
||||
ghidra,
|
||||
|
||||
withBin ? false,
|
||||
}: buildPythonPackage {
|
||||
pname = "pyghidra";
|
||||
version = "3.1.0";
|
||||
version = "3.2.0";
|
||||
|
||||
src = "${ghidra.ghidraLib.src}/Ghidra/Features/PyGhidra/src/main/py";
|
||||
|
||||
patches = [
|
||||
./0004-PyGhidra-restore-wmclass.patch
|
||||
./0005-PyGhidra-restore-wmclass.patch
|
||||
];
|
||||
|
||||
pyproject = true;
|
||||
|
|
@ -23,6 +24,7 @@
|
|||
|
||||
dependencies = [
|
||||
jpype1
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "jpype1" ];
|
||||
|
|
|
|||
Loading…
Reference in New Issue