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,db4d7e52353eb035 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.98.102 with SMTP id eh6mr1303421wib.7.1363397313857; Fri, 15 Mar 2013 18:28:33 -0700 (PDT) Path: g1ni68340wig.0!nntp.google.com!goblin1!goblin.stu.neva.ru!news2.arglkargh.de!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: wilson Newsgroups: comp.lang.ada Subject: Re: Reverse engineering Ada's compiled code Date: Fri, 15 Mar 2013 21:28:36 -0400 Organization: Aioe.org NNTP Server Message-ID: References: <90bf1e05-3a48-498b-96f4-b16569c40618@googlegroups.com> NNTP-Posting-Host: b0vZrMJpXI+vvI99LSnsUA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.12 (Win32) X-Antivirus-Status: Clean X-Notice: Filtered by postfilter v. 0.8.2 X-Antivirus: avast! (VPS 130315-1, 03/15/2013), Outbound message Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: 8bit Date: 2013-03-15T21:28:36-04:00 List-Id: On Fri, 15 Mar 2013 11:47:46 -0400, wrote: >> I have quite an unusual question to ask: how difficult would it be to >> reverse engineer Ada's compiled code? I am sure this question must have > J.S. Donnelly, "A Decompiler for the Countess Computer," Navy > Electronics Laboratory Technical Memorandum 427, Sept. 1960 > It decompiled to Neliac, an Algol 58 derived language, and was intended > to take lots of the machine coded programs of the time and turn them into > Neliac, which could then be understood, modified, and compiled to other > targets. Decompilation is a pattern recognition problem and its > difficulty depends on how complex and varied are the patterns to be > recognized. If you just have a modest amount of machine code, manual > decompilation would be easier. > Assisting on that project as a work-study student was my introduction > to > programming. A very good introduction to both the high-level and the > machine level language. Long ago as a graduate assistant, I wrote a program to translate !BM 7074 programs from machine language to assembler language. This is perhaps a third of the way to what you are asking. It was a fairly easy program to write, so I assume that going the rest of the way to a higher level language would not be too difficult. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/