list_strings
Extract user-visible strings from .NET assemblies using field-default or ldstr mode. Walks type field values or IL ldstr operands to obtain strings from the #US heap.
Instructions
Extract user-visible strings from the .NET #US heap.
Two modes:
"field-default"(default): walks every type'sconst stringfield-default values. Best for the pure-.NET path where most strings live in static readonly fields."ldstr"(v2.8.1, A11): walks every method body's IL stream and captures everyldstroperand. Best for the Mono path (CD's MonoLauncher is the canonical example) where most useful strings live inldstroperands, not field-defaults.
The C# CLI subcommand is list-strings for field-default
and list-ldstr for ldstr (both implemented in
:mod:Re.Dotnet.Cli.Ops.MetadataOps). On encrypted /
obfuscated #US heaps the CLI returns count: 0 silently —
that's a legitimate "heap unreadable" signal, not a regression.
Args:
path: path to a .dll / .exe .NET assembly
mode: "field-default" (default) or "ldstr"
limit: maximum strings to return (default 500)
Returns::
{"path": "...", "mode": "...", "count": N, "truncated": bool,
"strings": [{"fqn": "...", "kind": "...", "il_offset": N,
"string": "..."}, ...]}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| mode | No | field-default | |
| limit | No |