comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier write-only <gautier_niouzes@hotmail.com>
Subject: Re: Reverse engineering Ada's compiled code
Date: Fri, 15 Mar 2013 08:35:30 -0700 (PDT)
Date: 2013-03-15T08:35:30-07:00	[thread overview]
Message-ID: <380dd34d-3a26-4cc2-a05d-66eddca3c4e3@r8g2000vbj.googlegroups.com> (raw)
In-Reply-To: 90bf1e05-3a48-498b-96f4-b16569c40618@googlegroups.com

On 15 mar, 14:14, Dufr <duf...@gmail.com> wrote:

> As a side question: are there any particular measures that one can take to make it harder for someone to reverse engineer Ada's compiled code?

Hi!
Probably the easiest step is to switch code optimization on, and debug
symbols off.
With GNAT, with -O2 you are certainly on the safe side.
If you switch on cross-unit inlining (-gnatn) and perhaps also set
loop unrolling, peeling, and unswitching (-funroll-loops -fpeel-loops -
funswitch-loops), it should make reverse engineering very hard.

In case you need debug symbols, there is an Ada identifier obfuscator
IIRC.
_________________________
Gautier's Ada programming
http://sf.net/users/gdemont/



  reply	other threads:[~2013-03-15 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 13:14 Reverse engineering Ada's compiled code Dufr
2013-03-15 15:35 ` Gautier write-only [this message]
2013-03-15 15:47 ` tmoran
2013-03-16  1:28   ` wilson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox