P is for Practical | |
PerlMonks |
Re: Perl Decompileby Aristotle (Chancellor) |
on Sep 20, 2004 at 20:59 UTC ( [id://392496]=note: print w/replies, xml ) | Need Help?? |
This greatly depends on what they compiled it with. Was it one of Perl's own compiler backends? If so, was it B::C or B::CC? Did they use something else like PerlApp or Perl2Exe? I believe the latter two embed the source in the executable more or less verbatim. These would be relatively easy to reverse. A B::C binary contains a prebuilt optree that is run using an embedded interpreter; this might be possible to salvage with some debugger wizardry and B::Deparse. If they used B::CC you're probably out of luck. Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|