Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Think about Loose Coupling
 
PerlMonks  

Re^4: Here is a commercial obfuscator

by diotalevi (Canon)
on Mar 14, 2003 at 18:32 UTC ( #243144=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Here is a commercial obfuscator
in thread Here is a commercial obfuscator

Well... since the method name belongs to the LWP package I can't very well go changing that unless I perform the same steps on LWP as well. Anyhow, the patch as written renames pad and stash accesses. It does introduce bugs where otherwise correct accesses to %ENV would now fail. If the obfuscator were actually correct it'd need to have special cases to avoid changing things that shouldn't be. I figure that's best implemented by adding support for a list of expressions that may not be altered. Anyhow, since I don't need an obfuscation filter I'm not going to alter B::Obfuscate to add that support. Changing string constants is somewhat problematic but not irresolvable given the framework provided by B::Deparse.

I'll leave it to someone else to extend the new module.


Seeking Green geeks in Minnesota


Comment on Re^4: Here is a commercial obfuscator
Re: Re^4: Here is a commercial obfuscator
by Anonymous Monk on Mar 16, 2003 at 09:10 UTC
    In that particular line, method name shouldn't be obfuscated of course. It was meant that your patch doesn't even try to obfuscate method names.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243144]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2014-04-17 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls