aboutsummaryrefslogtreecommitdiffstats
path: root/ifuzz/decode.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/ifuzz: move from ifuzzDmitry Vyukov2017-06-031-212/+0
|
* ifuzz: fix 2-byte vex decodingPeter Waller2017-03-171-0/+1
| | | | | | | | | | | | | | | | | | The intel documentation states, in section: 2.3.6 "Instruction Operand Encoding and VEX.vvvv, ModR/M" The following: "VEX.m-mmmm is only available on the 3-byte VEX. The 2-byte VEX implies a leading 0Fh opcode byte." This lead the decode function to reject the following as an unknown instruction: "c5 f9 6e c1 vmovd %ecx,%xmm0" With this fix, it correctly decodes it as a 4 byte instruction.
* ifuzz: add package for generation/mutation of machine codeDmitry Vyukov2017-01-091-0/+211
Add ifuzz package that can generate/mutate machine code. It is based on Intel XED and for now supports only x86 code (all of real, protected 16/32 and long modes). This considerably increases KVM coverage.