Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Perl Decompile

by CountZero (Bishop)
on Sep 21, 2004 at 19:37 UTC ( #392747=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl Decompile
in thread Perl Decompile

Pray, tell me Aristotle why would a compiled binary save the source text (encoded or not)? It seems to me that it would just eat up space, unless they use the source text as input to an embedded Perl-system. But that would be cheating wouldn't it?

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re^4: Perl Decompile
by Elian (Parson) on Sep 21, 2004 at 20:26 UTC
    That's what they do. The source is decrypted on the fly and fed to an embedded perl interpreter.
Re^4: Perl Decompile
by EvilSuggestions (Acolyte) on Sep 21, 2004 at 22:13 UTC
    Why? Well, this is Perl we're talking about, where apparently we want to parse anything we please, anytime we please. Using your source at runtime may bring to mind evil Obfuscated Perl contest entries, but it's sometimes very useful, and is in fact how modules like Pod::Usage work.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2021-12-02 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (18 votes). Check out past polls.

    Notices?