[/PLAIN]
In the United States even if an artifact or process is protected by
trade secrets, reverse-engineering the artifact or process is often lawful as long as it has been legitimately obtained.
[29]
Reverse engineering of
computer software in the US often falls under both
contract law as a
breach of contract as well as any other relevant laws. This is because most
EULA's (end user license agreement) specifically prohibit it, and U.S. courts have ruled that if such terms are present, they override the copyright law which expressly permits it (see
Bowers v. Baystate Technologies[30][31]).
Sec. 103(f) of the
DMCA (http://www4.law.cornell.edu/uscode/html/uscode17/usc_sec_17_00001201----000-.html ) says that a person who is in legal possession of a program, is permitted to reverse-engineer and circumvent its protection if this is necessary in order to achieve "interoperability" - a term broadly covering other devices and programs being able to interact with it, make use of it, and to use and transfer data to and from it, in useful ways.
...
European UnionEdit
EU Directive 2009/24, on the legal protection of computer programs, governs reverse engineering in the
European Union. The directive states:
[
(15) The unauthorised reproduction, translation, adaptation or transformation of the form of the code in which a copy of a computer program has been made available constitutes an infringement of the exclusive rights of the author