Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Import Binary Module

Enterprise Architect enables you to reverse-engineer certain types of binary modules.

Access     Right-click on a package within the Project Browser | Code Engineering | Import Binary Module  or
Tools | Source Code Engineering | Import Binary Module




See also


Currently the permitted types are as follows:

Java Archive (.jar)
.Net PE file (.exe, .dll) - Native Windows DLL and EXE files are not supported, only PE files containing .NET assembly data
Intermediate Language file (.il)


Enterprise Architect creates the necessary packages and diagrams during the import process; selecting the Do not import private members checkbox excludes private members from libraries from being imported into the model.

When importing .Net files, you can import via reflection or via disassembly, or let Enterprise Architect decide the best method - this might result in both types being used.

The reflection-based importer relies on a .Net program, and requires the .Net runtime environment to be installed.

The disassembler-based importer relies on a native Windows program called Ildasm.exe, which is a tool provided with the MS .Net SDK; the SDK can be downloaded from the Microsoft website.

A choice of import methods is available because some files are not compatible with reflection (such as mscorlib.dll) and can only be opened using the disassembler; however, the reflection-based importer is generally much faster.

You can also configure:

Whether to Synchronize or Overwrite existing Classes when found; if a model Class is found matching the one in the file:
Synchronize updates the model Class to include the details from the one in the file, which preserves information not represented in the file, such as the location of Classes in diagrams
Overwrite deletes the model Class and generates a new one from the file, which deletes and does not replace the additional information
Whether to create a diagram for each package
What is shown on diagrams created by the import



Learning Center topics

(Alt+F1) | Enterprise Architect | Software Engineering | Import Code | Import Compiled Java Libraries
(Alt+F1) | Enterprise Architect | Software Engineering | Import Code | Import from .Net Assemblies