Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyobfuscate can't handle function parameters in lambdas #3

Open
astrand opened this issue Aug 24, 2012 · 0 comments
Open

pyobfuscate can't handle function parameters in lambdas #3

astrand opened this issue Aug 24, 2012 · 0 comments

Comments

@astrand
Copy link
Owner

astrand commented Aug 24, 2012

Moved from http://bugzilla.lysator.liu.se/show_bug.cgi?id=1583:

As seen by the below example, pyobfuscate incorrectly obfuscates function
parameters when they are used in lambdas.

cat ~/slask/pyobf_lambda.py
def foo(bar):
lambda x: x.startswith(bar)

pyobfuscate ~/slask/pyobf_lambda.py
def oo000 ( bar ) :
lambda ii : ii . startswith ( oOOo )

------- Comment #1 From Erik Forsberg 2005-10-14 12:57:32 [reply] -------

I've implemented a test case in the test suite for this bug, but the actual bug
remains to be solved. I'll leave that to Mr Åstrand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant