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,2fef6432c43f4d74 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Sun, 20 Jan 2008 18:09:34 +0100 From: Gautier User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada source code obfuscator References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.76.162.116 X-Original-NNTP-Posting-Host: 83.76.162.116 Message-ID: <47938035$1_5@news.bluewin.ch> X-Trace: news.bluewin.ch 1200848949 83.76.162.116 (20 Jan 2008 18:09:09 +0100) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news1.google.com comp.lang.ada:19482 Date: 2008-01-20T18:09:34+01:00 List-Id: I'm afraid you may have misunderstood Oliver's need. His Ada compiler seems to produce memory-leaking code on a very specific situation, which involves proprietary code, and he wants to report this bug with source code so that the compiler maintainers can reproduce this problem. It is not about distributing source code to customers. And if his compiler was Green-Hills or IBM, the situation would be exactly the same: Green-Hills or IBM would say: "Are you sure it is a bug of ours ? Could you please send an example of sources which shows this problem ?". The obfuscation needed here consists in replacing each identifier like "Send_money", "Launch_missile" or "The_solution_to_all_problems",... by I29684, I29685, I29686,... G. anon wrote: > Ada was designed not to allow "obfuscation" of its code. > > The only way to protect your proprietary code is to use a close source > version of Ada like Green-Hill, IBM Ada compiler which is based on > Ada 95 spec. Compile the program and only distribute the binary version. > > For Adacores GNAT version compilers, unless you are using GNAT PRO, > you must supply the source code with the binary. See the FAQ page at > Adacore. It states that all code create by the GNU/GPL version of GNAT > must be license under the GPL. Which means that the source must be > made available to the users of the code. > > In , okellogg writes: >> Does anyone know of a free obfuscator for Ada source code? >> >> (I hit a memory thrashing bug in FSF gcc-4.[1-3] that requires a large >> amount of proprietary code to reproduce. As soon as I remove stuff >>from the test case the memory hog goes away. I'd like to post a bug >> report to GCC bugzilla but would need to obfuscate the source code.) >> >> Thanks, >> >> Oliver ______________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/index.htm Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm