tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ghidra-extensions.ret-sync: fix for ghidra 11.2
John Chadwick
1 year ago
05071d58
55367b38
+11
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
ghidra
extensions
ret-sync
default.nix
+11
-1
pkgs/tools/security/ghidra/extensions/ret-sync/default.nix
···
1
{
2
lib,
3
fetchFromGitHub,
0
4
buildGhidraExtension,
5
ghidra,
6
}:
···
14
rev = "0617c75746ddde7fe2bdbbf880175af8ad27553e";
15
hash = "sha256-+G5ccdHnFL0sHpueuIYwLRU9FhzN658CYqQCHCBwxV4=";
16
};
17
-
0
0
0
0
0
0
0
0
0
18
preConfigure = ''
19
cd ext_ghidra
20
'';
···
1
{
2
lib,
3
fetchFromGitHub,
4
+
fetchpatch,
5
buildGhidraExtension,
6
ghidra,
7
}:
···
15
rev = "0617c75746ddde7fe2bdbbf880175af8ad27553e";
16
hash = "sha256-+G5ccdHnFL0sHpueuIYwLRU9FhzN658CYqQCHCBwxV4=";
17
};
18
+
patches = [
19
+
# This patch is needed to get the extension compiling with Ghidra 11.2.
20
+
# Once it's fixed upstream, the src can be updated and this can be removed.
21
+
(fetchpatch {
22
+
# https://github.com/bootleg/ret-sync/pull/126
23
+
name = "ghidra-11.2-fix.patch";
24
+
url = "https://github.com/bootleg/ret-sync/commit/d81d953c24b4369b499e90ba64c1c9f78513a008.patch";
25
+
hash = "sha256-t/voPcBfsZtfdYnskgBAPfqMTBw1LRTT0aXyyb5qtr8=";
26
+
})
27
+
];
28
preConfigure = ''
29
cd ext_ghidra
30
'';