Troll? was: Re: goto statement
Fredrik Lundh
fredrik at pythonware.com
Wed Apr 20 13:39:28 EDT 2005
Bill Mill wrote:
> I believe he meant obfuscating bytecode for a commercial product, to
> try and avoid decompilation, which is often a desirable function for
> commercial entities.
there is no shortage of "jump" instructions on the bytecode level, so if he wants
to obfuscate bytecode, all he has to do is to obfuscate the bytecode.
>>> import dis
>>> [op for op in dis.opname if op.startswith("JUMP")]
['JUMP_FORWARD', 'JUMP_IF_FALSE', 'JUMP_IF_TRUE', 'JUMP_ABSOLUTE']
</F>
More information about the Python-list
mailing list