pub unsafe extern "C" fn ZydisFormatterTokenizeOperand(
    formatter: *const ZydisFormatter,
    instruction: *const ZydisDecodedInstruction,
    operand: *const ZydisDecodedOperand,
    buffer: *mut c_void,
    length: ZyanUSize,
    runtime_address: ZyanU64,
    token: *mut *const ZydisFormatterToken_,
    user_data: *mut c_void
) -> ZyanStatus
Expand description

Tokenizes the given operand and writes it into the output buffer.

@param formatter A pointer to the ZydisFormatter instance. @param instruction A pointer to the ZydisDecodedInstruction struct. @param operand A pointer to the ZydisDecodedOperand struct of the operand to format. @param buffer A pointer to the output buffer. @param length The length of the output buffer (in bytes). @param runtime_address The runtime address of the instruction or ZYDIS_RUNTIME_ADDRESS_NONE to print relative addresses. @param token Receives a pointer to the first token in the output buffer. @param user_data A pointer to user-defined data which can be used in custom formatter callbacks. Can be ZYAN_NULL.

@return A zyan status code.

Use ZydisFormatterTokenizeInstruction to tokenize a complete instruction.