I want to decompile bytecode with deparse, then I failed. I am doing the following test: (perl 5.8.9)
1) create a file called t.pl with one line
print 1;
2) compile to get the plc file
$ perl -MO=Bytecode,-H,-ot.plc t.pl
3) try decompiling
$ perl -MO=Deparse t.plc use ByteLoader 0.06; t.plc syntax OK
4) use the compressed module $ perl -MO = Concise, -exec t.plc
1 <0> enter 2 <;> nextstate(main 174 y.pl:1) v 3 <0> pushmark s 4 <$> const(IV 1) s 5 <@> print vK 6 <@> leave[1 ref] vKP/REFC y.plc syntax OK with this method, we can got some valuable info, but it is hard to read.
I can not get the source code. I searched the Internet, it seems that the Deparse module can filter out the created perlcc -B file.
Any idea? Thanks
means:
http://ask.slashdot.org/story/05/11/11/0129250/protecting-perl-code
source share