Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^8: How to print out package code ?

by Martin90 (Sexton)
on Mar 19, 2013 at 00:13 UTC ( [id://1024177]=note: print w/replies, xml ) Need Help??


in reply to Re^7: How to print out package code ?
in thread How to print out package code ?

No it is not from CPAN it's customized module which contain obfuscated code like "ufboisbfljsbf" and before is used in script first is decoded by .so files. I need to do changes in subroutines from this module. Any debugging fails at the moment when module is loading. Have you got good advice ? At least I want to get subroutines code from this module.

Replies are listed 'Best First'.
Re^9: How to print out package code ?
by LanX (Saint) on Mar 19, 2013 at 01:24 UTC
Re^9: How to print out package code ?
by Anonymous Monk on Mar 19, 2013 at 07:03 UTC

    No it is not from CPAN it's customized module which contain obfuscated code like "ufboisbfljsbf" and before is used in script first is decoded by .so file

    I know it sounds kinda obvious, but I would contact support

Re^9: How to print out package code ?
by Martin90 (Sexton) on Mar 19, 2013 at 11:03 UTC
    $deparse->coderef2text(\&sub) Returns only ";" it's all because these subs are encoded, all pure perl code works good with this method. Any ideas how to get subroutines code ? :(

      If the subroutine is not actual Perl code but (say) C code which lives in a dynamically loaded extension (.so file), then you will need a C decompiler, not a Perl decompiler.

      The best decompiler I know is IDA Pro, but I assume that if this is a bought software package, it will be much easier to get the source code from your vendor.

        Ok, thanks for help ;]

      Any ideas how to get subroutines code ?

      Ask the developer

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found