Skip to main content

instr_is_nop

Function instr_is_nop 

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

Returns true if \p instr is one of a class of common nops. currently checks:

  • nop
  • nop reg/mem
  • xchg reg, reg
  • mov reg, reg
  • lea reg, (reg)