起初尽管保护Python源码免受逆向工程的影响似乎是一项徒劳无功的任务,但是所有代码的cythonizing都会带来合理的安全性(二进制文件非常难以拆解,但是还可以通过程序的猴子补丁程序来完成)。 这种安全性是有代价的 - Cython的主要用途是编写可以轻松与Python代码连接的编译扩展。 因此,对复杂模块/包结构的支持是相当有限的,...
Air-gapped Python: Setting up Python without a net(work) Mar 12, 20257 mins how-to How to boost Python program performance with Zig Mar 5, 20255 mins Show me more news Gleam 1.10 improves compiler, JavaScript codegen By Paul Krill
Python modules are trivially easy to decompile and inspect, but compiled binaries are not. When distributing a Python application to end users, if you want to protect some of its modules from casual snooping, you can do so by compiling them with Cython. Note, though, that such obfuscation is...
cpio-2.11-0001-Protect-gets-with-HAVE_RAW_DECL_GETS-in-stdio.in.h.patch cpio-2.11-0002-Fix-invalid-redefinition-of-stat.patch cppunit-toolfile.spec cppunit.spec cub-toolfile.spec cub.spec cuda-api-wrappers-toolfile.spec cuda-api-wrappers.spec cuda-gdb-wrapper-toolfile.spec cuda...
通过遵循本指南,你应该能够利用复杂软件包/模块结构对Python代码库进行cythonize,从而让恶意黑客难以对其进行逆向工程并窃取你的编程成果。 英文原文:https://bucharjan.cz/blog/using-cython-to-protect-a-python-codebase.html 文章来源:Python部落