ptxed: check instructions
Add a new option --check that performs some checks.
If --insn-decoder is specified, we check that:
- XED can decode each instruction
- an instruction's class matches XED's categorization
If --block-decoder is specified, we check that:
- XED can decode each instruction
- we reach the block's end IP
- the last instruction's class (if available) matches XED's categorization
The --check option can be combined with --quiet to only print error messages.
Change-Id: I2730384f9257469cb7401eeff4e4a717ecadd5dc
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
1 file changed