混淆python解释器

时间:2014-10-13 09:29:53

标签: python segmentation-fault obfuscation interpreter

我正在创建一个python应用程序,我使用py2app打包。我也试图像dropbox那样混淆pyc。通过加扰include \ opcode.h中的操作码。我正在尝试使用以下命令安装新的python:

./configure
make
make test
sudo make install

但是,当我运行第二个命令(make)时,我遇到了分段错误:

/opt/local/bin/ranlib: file: libpython3.4m.a(dynamic_annotations.o) has no symbols
/opt/local/bin/ranlib: file: libpython3.4m.a(pymath.o) has no symbols
ranlib libpython3.4m.a
ranlib: file: libpython3.4m.a(dynamic_annotations.o) has no symbols
ranlib: file: libpython3.4m.a(pymath.o) has no symbols
CoreFoundation     
CoreFoundation     
./python.exe -E -S -m sysconfig --generate-posix-vars
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
make: *** [pybuilddir.txt] Segmentation fault: 11

我也尝试对lib / opcode.py进行相应的更改,但我仍然遇到了seg错误。我做错了什么?

0 个答案:

没有答案