core/x86/instr.c
/* Returns true iff instr's opcode is NOT OP_INVALID.
 * Not to be confused with an invalid opcode, which can be OP_INVALID or
 * OP_UNDECODED.  OP_INVALID means an instruction with no valid fields:
 * raw bits (may exist but do not correspond to a valid instr), opcode,
 * eflags, or operands.  It could be an uninitialized
 * instruction or the result of decoding an invalid sequence of bytes.
 */
Returns true iff instr's opcode is NOT OP_INVALID.
Not to be confused with an invalid opcode, which can be OP_INVALID or
OP_UNDECODED.  OP_INVALID means an instruction with no valid fields:
raw bits (may exist but do not correspond to a valid instr), opcode,
eflags, or operands.  It could be an uninitialized
instruction or the result of decoding an invalid sequence of bytes.
Returns true iff instr ' s opcode is NOT OP_INVALID . Not to be confused with an invalid opcode which can be OP_INVALID or OP_UNDECODED . OP_INVALID means an instruction with no valid fields : raw bits ( may exist but do not correspond to a valid instr ) opcode eflags or operands . It could be an uninitialized instruction or the result of decoding an invalid sequence of bytes .
bool 
instr_valid(instr_t *instr)
{
    return (instr->opcode != OP_INVALID);
}
bool instr_valid ( instr_t * instr ) { return ( instr -> opcode != OP_INVALID ) ; }
Returns true iff instr's opcode is NOT OP_INVALID.
Returns true iff instr ' s opcode is NOT OP_INVALID .