Skip to main content

DESC_GET_DISASSEMBLY

Constant DESC_GET_DISASSEMBLY 

Source
pub const DESC_GET_DISASSEMBLY: &str = "\
List the disassembled instructions of one function in the attached program. `target` is EITHER a \
symbol name OR a canonical address, resolved the same way as inspect_function's `function` parameter. \
If `target` names multiple functions you get an AMBIGUOUS_SYMBOL error enumerating each candidate's \
address — re-call with the disambiguating address. Each instruction has address, bytes (lowercase hex), \
mnemonic, operands, and comment when an EOL comment is present. The reply's `total` is the EXACT \
instruction count of the function's body. Paginated: pass offset and limit (default 200); page until \
has_more is false.";