From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,70b7e7406a4c38ae X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.85.231 with SMTP id k7mr1380911paz.38.1343574266705; Sun, 29 Jul 2012 08:04:26 -0700 (PDT) Path: c10ni48523pbw.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Oliver Kellogg Newsgroups: comp.lang.ada Subject: Re: Ada source code obfuscator update Date: Sun, 29 Jul 2012 07:57:30 -0700 (PDT) Organization: http://groups.google.com Message-ID: <95da991a-6cbe-4a5e-93d5-f3507f34b2c4@googlegroups.com> References: <27cdad49-e85c-40f4-bc05-ab2f4ab30a36@googlegroups.com> NNTP-Posting-Host: 91.33.222.209 Mime-Version: 1.0 X-Trace: posting.google.com 1343574266 6245 127.0.0.1 (29 Jul 2012 15:04:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 29 Jul 2012 15:04:26 +0000 (UTC) In-Reply-To: <27cdad49-e85c-40f4-bc05-ab2f4ab30a36@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.33.222.209; posting-account=a23u_AkAAAB-Xz81hSqodYsmJRrMwioK User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-29T07:57:30-07:00 List-Id: After the release of version 0.6, a number of bugs were found and fixed so I decided to release version 0.7, see http://www.okellogg.de/x.html This version was successfully used on a system consisting of 180,000 lines of Ada code. Changes wrt version 0.6 are: - Extend @do_not_mangle and add a note about its incompleteness. - In sub mangled_name, add the name component onto $result unmangled if no mangling was performed on it. - Rename sub pkg_mname to unit_mname and rename @packages to @units. - At sub nexttoken, add optional arg $join_compound_name (default: false; this is set true on processing unit names.) - New sub skip_to_first_of permits skipping to any of multiple given tokens; skipping ends on encountering the first of the given tokens. - In main program: - fix iteration over @lex by replacing the "for" loop incrementing $lndx by a "while" loop employing sub nexttoken - fix bug in processing of task and protected declarations (the comparison against 'body' was broken) - detect keyword "use" so that "use type" is out of the way (otherwise the type declaration circuitry is erroneously triggered.) - In sub wregex, change search pattern to exclude preceding ' (tic) to avoid substituting attributes. - In sub unit_mname and main program, change unit prefix to "U". -- Oliver