comp.lang.ada
 help / color / mirror / Atom feed
* Protection for Ada Binary Libraries
@ 1988-02-19 10:14 Edward Berard
  1988-02-20 16:04 ` offer
  1988-02-23 13:47 ` Arny B. Engelson
  0 siblings, 2 replies; 5+ messages in thread
From: Edward Berard @ 1988-02-19 10:14 UTC (permalink / raw)


I find myself dealing with increasing numbers of clients who are
considering the use of Ada technology for commercial (non-weapons
systems, and often non-government) applications. Often questions arise
which would never even be considered in the embedded real-time arena.
What follows is one of those questions.

Suppose one is developing an Ada product which is to be used by Ada
software engineers. Part of this product involves a library of Ada
packages. The developer wishes to make the package specifications
available to his or her clients, but wishes to protect the bodies of
these same packages. The mechanism the developer chooses is to create
a "binary" Ada library using the library mechanisms provided by Ada
development system vendors. (For example, on the DEC VAX the developer
will use DEC's Ada library mechanism, and on a Sun Workstation the
developer will supply several libraries, e.g., one for the TeleSoft
compiler, one for the Verdix compiler, one for the Alsys compiler, and
one for the Tartan Labs compiler.)

Everything appears to be in order until the developer discovers that
by using the symbolic debugger supplied in some of these environments,
a client can have access to all the source code for the bodies to the
packages. Before I advise this client on what I feel is the obvious
answer, I need to make sure that what I am saying is accurate.
Specifically, I need answers to the following questions:

   1. When compiling Ada source code into a library, do most, if not
      all, Ada compilers have some mechanism (e.g., a /NO DEBUG
      switch) which will prevent the source (and even close
      approximations of the original source) from being placed in the
      library?

   2. Assuming one can prevent the original Ada source code from
      becoming part of the library, are there any obvious (or subtle)
      disadvantages to this with some Ada compilers?

   3. Are there other commonly accepted mechanisms for protecting
      source code in Ada libraries?

   4. Given that a developer wishes to make binary libraries of Ada
      packages available to potential clients, are there better
      mechanisms than tying the libraries to specific Ada development
      system?

				-- Ed Berard
				   eberard@ajpo.sei.cmu.edu
				   (301) 695-6960

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1988-03-03 20:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1988-02-19 10:14 Protection for Ada Binary Libraries Edward Berard
1988-02-20 16:04 ` offer
1988-03-03 20:59   ` Barnacle Wes
1988-02-23 13:47 ` Arny B. Engelson
1988-02-25  3:39   ` Ada Bozo

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