fix(cli): accept exact native names through explicit selectors
This commit is contained in:
@@ -83,6 +83,18 @@ complete observation.
|
||||
partial coverage. Other providers retain the
|
||||
existing symbol-based inventory with its narrower coverage.
|
||||
|
||||
## Exact CLI selectors
|
||||
|
||||
`function`, `instructions` and `decompile` accept `--procedure=<name-or-address>`;
|
||||
`xrefs` accepts `--address=<name-or-address>`. `search` accepts `--pattern=<text>`
|
||||
and `trace` accepts `--query=<text>`. These alternatives preserve names and text
|
||||
that begin with a dash, including Objective-C names such as
|
||||
`rea function ./app '--procedure=-[REAWidget delegate]' --provider hopper --format json`.
|
||||
Use the equals form when the value resembles a CLI flag, for example
|
||||
`rea trace ./app --query=--help --provider hopper --format json`.
|
||||
The existing positional forms remain available. Missing selectors and conflicting
|
||||
positional/named values fail before analysis starts; identical selections agree.
|
||||
|
||||
## Native instruction, call and type primitives
|
||||
|
||||
Ghidra supplies three exact-object operations:
|
||||
|
||||
@@ -214,6 +214,9 @@ Objective-C fixture is present, the lane also verifies native UTF-16 string obje
|
||||
and their inferred encodings against their actual bytes. Native terminal calls
|
||||
are checked across reference, instruction, assembly, block-range and procedure-length
|
||||
projections; block endpoints are normalized using actual native membership.
|
||||
Exact Objective-C names also exercise named CLI selectors for function, instruction,
|
||||
decompilation, reference and search operations. A literal `--help` trace query proves
|
||||
that selector data is preserved independently of global CLI flags.
|
||||
Unmapped annotation destinations and
|
||||
oversized later batch names fail before any earlier edit is applied.
|
||||
The Linux demo lane remains a separate `verify:hopper:linux` command.
|
||||
|
||||
Reference in New Issue
Block a user