aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ifuzz/decode.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/ifuzz: reorganize files to allow other architecturesAlexey Kardashevskiy2020-11-201-222/+0
| | | | | | | | | | | | | | | | | | At the moment ifuzz only generates x86 instructions. In order to support instruction fuzzing for others (ARM, POWERPC), some separation of the common and arch layers is needed. This adds 2 packages: 1. "x86" where x86 instruction generator goes to 2. "ifuzzimpl which contains some common code. The goal was to keep changes to the rand.go to the minimum. The next patch will use this when adding PPC64. This should cause no behavioural change. Signed-off-by: Alexey Kardashevskiy <aik@linux.ibm.com>
* .golangci.yml: enable funlen checkerDmitry Vyukov2020-06-051-1/+1
| | | | Checks for too long functions (based on lines and statements).
* .golangci.yml: enable gocognit checkerDmitry Vyukov2020-06-051-1/+1
| | | | | Finds too complex functions. Similar to gocyclo, but uses somewhat different metric.
* .golangci.yml: enable nestif checkerDmitry Vyukov2020-06-051-1/+1
| | | | Prevents functions with too many nested if's.
* gometalinter: enable cyclomatic complexity checkingDmitry Vyukov2018-05-041-0/+1
| | | | | | Refactor some functions to be simpler. Update #538
* gometalinter: enable line length checkingDmitry Vyukov2018-05-041-4/+13
| | | | | | | 120 columns looks like a reasonable limit and requires few changes to existing code. Update #538
* pkg/ifuzz: move from ifuzzDmitry Vyukov2017-06-031-0/+212