Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Perl Decompile

by Aristotle (Chancellor)
on Sep 20, 2004 at 20:59 UTC ( #392496=note: print w/replies, xml ) Need Help??

in reply to Perl Decompile

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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2021-12-04 08:37 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (30 votes). Check out past polls.