go-ethereum/core/vm
Martin Holst Swende a907d7e81a
all: more linters (#24783)
This enables the following linters

- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- exportloopref
- gosec

WIth a few exceptions.

- We use a deprecated protobuf in trezor. I didn't want to mess with that, since I cannot meaningfully test any changes there.
- The deprecated TypeMux is used in a few places still, so the warning for it is silenced for now.
- Using string type in context.WithValue is apparently wrong, one should use a custom type, to prevent collisions between different places in the hierarchy of callers. That should be fixed at some point, but may require some attention.
- The warnings for using weak random generator are squashed, since we use a lot of random without need for cryptographic guarantees.
2022-06-13 16:24:45 +02:00
..
runtime all: more linters (#24783) 2022-06-13 16:24:45 +02:00
testdata
analysis_test.go core/vm: reverse bit order in bytes of code bitmap (#24120) 2021-12-17 10:32:00 +01:00
analysis.go core/vm: optimize jumpdest analysis (#23500) 2022-06-03 10:40:14 +02:00
common.go
contract.go
contracts_test.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
contracts.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
doc.go
eips.go core/vm: implement EIP-3855: PUSH0 instruction (#24039) 2022-05-06 14:36:45 +02:00
errors.go
evm.go core/evm: RANDOM opcode (EIP-4399) (#24141) 2022-01-10 09:44:21 +02:00
gas_table_test.go
gas_table.go core/vm: Rename SHA3 instruction to KECCAK256 (#23976) 2021-11-30 10:34:34 +01:00
gas.go
instructions_test.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
instructions.go core/vm: clean up some dead functions (#24851) 2022-05-11 08:03:35 +03:00
interface.go
interpreter_test.go core/vm: move interpreter interruption check to jump instructions (#24026) 2021-12-03 11:10:26 +01:00
interpreter.go core/vm: for tracing, do not report post-op memory 2022-05-12 21:20:40 +02:00
jump_table.go core/evm: RANDOM opcode (EIP-4399) (#24141) 2022-01-10 09:44:21 +02:00
logger.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
memory_table.go core/vm: Rename SHA3 instruction to KECCAK256 (#23976) 2021-11-30 10:34:34 +01:00
memory.go core/vm: optimize Memory.Set32 (#24847) 2022-05-11 11:00:29 +02:00
opcodes.go core/vm: separate opcode group for 0x20 range (#24850) 2022-05-11 08:04:16 +03:00
operations_acl.go core/vm: fix sstore gas comment type (#24583) 2022-03-29 11:21:11 +03:00
stack_table.go
stack.go core/vm: clean up some dead functions (#24851) 2022-05-11 08:03:35 +03:00