File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ # binaryninja shellcode compiler (scc) for nixos.
2
+ { pkgs ? import <nixpkgs> { system = builtins . currentSystem ; } ,
3
+ lib ? pkgs . lib ,
4
+ buildFHSEnv ? pkgs . buildFHSEnv ,
5
+ writeScript ? pkgs . writeScript
6
+ } :
7
+
8
+ buildFHSEnv {
9
+ name = "scc" ;
10
+ targetPkgs = pkgs : with pkgs ; [
11
+ dbus
12
+ fontconfig
13
+ freetype
14
+ libGL
15
+ libxkbcommon
16
+ python38
17
+ xorg . libX11
18
+ xorg . libxcb
19
+ xorg . xcbutilimage
20
+ xorg . xcbutilkeysyms
21
+ xorg . xcbutilrenderutil
22
+ xorg . xcbutilwm
23
+ wayland
24
+ zlib
25
+ ] ;
26
+ runScript = writeScript "scc.sh" ''
27
+ set -e
28
+ exec "/opt/binaryninja/plugins/scc" # change this path if your location is not located in /opt/binaryninja
29
+ '' ;
30
+ meta = {
31
+ description = "scc - shellcode compiler" ;
32
+ platforms = [ "x86_64-linux" ] ;
33
+ } ;
34
+ }
You can’t perform that action at this time.
0 commit comments