Skip to main content

instr_is_encoding_possible

Function instr_is_encoding_possible 

Source
pub unsafe extern "C" fn instr_is_encoding_possible(
    instr: *mut instr_t,
) -> bool_
Expand description

Returns true iff \p instr can be encoded as

  • a valid IA-32 instruction on X86
  • a valid Armv8-a instruction on AArch64 (Note: The AArch64 encoder/decoder is not complete yet, so DynamoRIO may fail to encode some valid Armv8-a instructions)
  • a valid Armv7 instruction on ARM