For the complete documentation index, see llms.txt. This page is also available as Markdown.

DSCLocateString

Description

Search the cache's bytes for a string literal. Choosing the action opens a small query prompt: enter a substring — the field keeps a history of past queries — and confirm. The Options group, collapsed by default, controls case-insensitive matching, the search scope (per-image vs entire files) and what is scanned (code sections, .symbols sidecar, other adjacent files).

Available from the DSC Index context menu, under Locate.

Locate > String
The "Locate > String" entry in the DSC Index context menu
DSC strings query prompt
The query prompt, with the Options group expanded

Confirming runs the search and opens the DSC strings panel with the matches. The panel keeps the same query field and Options, so you can refine the search in place — edit the text and press Enter, or click the Search button.

Result tree

Hits are grouped by their containing image (or file, when scoped to entire files); unlike the DSC Index, this tree exposes one extra level of grouping — the section the literal lives in (__cstring, __oslogstring, etc.) — useful when filtering log strings out of regular ones.

Each leaf shows the matched literal in context: not just the matched substring, but a few neighbouring bytes on either side, so the hit can be read as part of a broader literal at a glance (e.g. searching nil completion shows up as %{public}@nil completion handler). The leaf also carries its address; double-clicking jumps to the address — and triggers an on-demand load of the owning image if it isn't loaded yet.

DSC strings panel
The DSC strings search panel

See DSC Workflow.

Last updated

Was this helpful?