The c compiler is experimental the last I knew. In 5.6.1 I found it would work fine for simple programs, but for complex (read "real world") stuff I could never get the results to execute.
Jim ----- Original Message ----- From: "Daniel R. Allen" <[EMAIL PROTECTED]> To: "Greg London" <[EMAIL PROTECTED]> Cc: "mongers of perl" <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 2:21 PM Subject: Re: [Boston.pm] obfuscator Any source filters like Acme::Bleach are by definition reversable, so anybody can run perl -MO=Deparse on the original file and get something that looks much more like normal code including whitespace and indentation. Activestate includes a bytecode module: http://aspn.activestate.com/ASPN/Reference/Products/ActivePerl/lib/ByteLoade r.html and it apparently sort-of works: http://aspn.activestate.com/ASPN/Reference/Products/ActivePerl/lib/Pod/perlc ompile.html And you can use perlcc to compile your perl to c. Though I've never had need of it myself... Good luck, -Daniel $_='[EMAIL PROTECTED] 519-575-3733 /Prescient Code Solutions/ coder.com ';s/-/ /g;s/([.@])/ $1/g;@y=(42*1476312054+7*3,14120504e4,-42*330261-33, 42*5436+3,42*2886+10,42*434987+5);s/(.)/ord(uc($1))/ge;for(@x=split/32/; @y; map{print chr} split /(..)/, shift(@x) + shift(@y)) {perlmonk.da.ru} On Thu, 14 Feb 2002, Greg London wrote: > Anyone know of a perl program that > takes a perl program and obfuscates it > into a difficult to understand perl program? > > stuff like changing my easy to understand > identifiers into randomly generated identifiers. > strip out indentation, comments, and whitespace. > etc. > > It would be a "One-way" obfuscation. > So, it would be impossible to generate the > original script from the mangled version. > > I believe Acme::Bleach is a two-way translation, > isn't it? but I'm looking for something like that. > > Oh, and the mangled script has to run on > ActiveState perl without having to load > additional modules. I'll download the > obfuscator module myself and create the mangled > script, but I dont want customers to have to > download something to run the mangled script. > > yes, this is for a non-open-source program > that is targeted to run on Microsoft Windows. > > yes, I have crossed over to the dark side. > > No flames or sermons, please. > > Greg "fire extinguisher at the ready" London >
