## Selecting library files for analysis

##### Before you start

Before you can add import libraries for analysis, the analysis type and the current SDK must be selected first. For instructions, see Selecting the analysis type, baseline profile and current SDK.

Important: Library files (.lib and .dso) have specific toolchain requirements for file creation. See GCCE and RVCT toolchain.

Note: Library files are handled differently in EXE and DLL projects. See File handling in project and folder analysis for more information.

To select library files, follow these steps:

1. To specify the root directory for the files, you can either:
   - Analyse files from the default build target (default).
   - Analyse files from the selected build target directory.
   - Select the third option and click Browse to choose library and dll files from local file system paths.
2. To specify which libraries are analysed, you can either:
   - Analyse all the files that are available in the specified directory.
   - Select the second option and click Add Files to choose a specific .dso file in a separate dialog.

   The tool analyses corresponding dll files, either from the urel folder of selected build target or from the provided local directories.

3. Select the compiler tool set that is used to read exports from import libraries in the release. Normally, the default value (CSL Arm Toolchain) should be used but this can be changed if needed.
4. Click Next to configuring report file options.

##### Related concepts

- Header and library files in preserving compatibility