Frida: Difference between revisions
imported>Mic92 No edit summary |
imported>Mic92 improve automation of fhsuserenv |
||
| Line 37: | Line 37: | ||
which | which | ||
git | git | ||
python3 | (python3.withPackages (p: [ p.setuptools ])) | ||
nodejs | nodejs | ||
perl | perl | ||
curl | curl | ||
glibc_multi | glibc_multi | ||
yarn | |||
]; | ]; | ||
profile = '' | |||
export hardeningDisable=all | |||
# initialize sdk | |||
make | |||
# npm does not frida-gum/bindings/gumjs/node_modules -> bug? | |||
(cd frida-gum/bindings/gumjs && yarn install) | |||
# for frida-python egg | |||
export FRIDA_VERSION=$(git describe --tags) | |||
export FRIDA_EXTENSION=$(realpath build/frida-linux-x86_64/${python3.sitePackages}/_frida.so) | |||
''; | |||
}; | }; | ||
in fhs.env | in fhs.env | ||
</syntaxHighlight> | </syntaxHighlight> | ||
| Line 63: | Line 68: | ||
<syntaxHighlight lang=console> | <syntaxHighlight lang=console> | ||
$ cd frida-python/src/ | $ cd frida-python/src/ | ||
$ python setup.py bdist_egg | $ python setup.py bdist_egg | ||