> For the complete documentation index, see [llms.txt](https://docs.hex-rays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hex-rays.com/ida-9.5/ida-actions/dscloaddepsexternal.md).

# DSCLoadDepsExternal

## Description

Pick a Mach-O file on disk and load all the cache images it depends on. Useful when reverse-engineering a third-party binary that was originally linked against the system frameworks: rather than guessing which dylibs to bring in, point IDA at the binary and let it match.

Available from the DSC Index context menu, under **Load**.

<figure><img src="https://492083732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFP6ibt8r6WPBHTqekG9u%2Fuploads%2Fgit-blob-11c17ca21aeec5026e4ccec3030224c90f91e550%2Fdsc_load_deps_external_menu.png?alt=media" alt="Load > From external Mach-O..."><figcaption><p>The "Load > From external Mach-O..." entry in the DSC Index context menu</p></figcaption></figure>

### Workflow

1. **Pick the Mach-O.** A file-chooser opens; select the off-cache Mach-O (an executable, dylib or framework binary).
2. **Match against the cache.** IDA parses the file's `LC_LOAD_DYLIB` (and friends) load commands, then resolves each listed install-name to an image in the current DSC. Mismatches (CPU architecture, platform, paths the cache doesn't know about) are flagged.
3. **Pick what to load.** The [dependencies picker dialog](/ida-9.5/ida-actions/dscloaddeps.md#the-dependencies-picker-dialog) is presented, pre-populated with the matched images. Tweak the dependency depth and uncheck individual entries as needed.

<figure><img src="https://492083732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFP6ibt8r6WPBHTqekG9u%2Fuploads%2Fgit-blob-e0feabff6414128ba263b1f097ab3df597458614%2Fdsc_load_deps_external.png?alt=media" alt="Load deps from external Mach-O"><figcaption><p>The picker dialog, here populated from the load commands of an (admittedly simple) test program</p></figcaption></figure>

See [DSC Workflow](/ida-9.5/core/disassembler/concepts/dsc-workflow.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hex-rays.com/ida-9.5/ida-actions/dscloaddepsexternal.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
