prysm-pulse/shared
Radosław Kapka aaa3abf630
Shadowed Predeclared Indentifier analyzer (#7215)
* wip

* working for some ast nodes

* works for all but assignment

* works for all but mixed assignments

* change test name

* plug in the analyzer

* remove `copy` from predeclared list

* rename few shadowing names

* rename `len` to `length`

* add one more test case

* rename `panic` to `panicResult`

* replace `panic` with `panicResult` in error message

* remove test case not covered by the tool

* add `byte` to predeclared list

* additional test cases

* rename `copy` to `copyHandler`

* exclude functions with receivers

* revert to good names

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-09-14 12:49:15 +02:00
..
aggregation Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
asyncutil Improves asyncutils/Debounce (#7189) 2020-09-08 14:49:28 +00:00
attestationutil Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
benchutil Applies assertion funcs to shared tests (part 1) (#6626) 2020-07-18 16:31:42 +00:00
blockutil Applies assertion funcs to shared tests (part 1) (#6626) 2020-07-18 16:31:42 +00:00
bls Fixes docs.go -> doc.go file name (#7128) 2020-08-27 20:28:54 +00:00
bytesutil First take of applying assertion funcs to shared tests (#6666) 2020-08-25 10:18:29 +00:00
cmd Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
debug Only build with cgosymbolizer when explicitly requested (#6151) 2020-06-05 22:21:43 +00:00
depositutil Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
event Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
featureconfig Invert enable-finalized-deposits-cache (#7214) 2020-09-11 09:49:24 +00:00
fileutil Fix rename issue (#7205) 2020-09-11 00:56:58 +03:00
grpcutils Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00
hashutil Applies assertion funcs to shared tests (#6643) 2020-07-19 21:08:29 +00:00
htrutils Simplify make call by omitting redundant arguments (#6949) 2020-08-10 11:06:53 +00:00
interop Update fastssz: Attempt 2 (#7115) 2020-08-27 18:13:32 +00:00
iputils Applies assertion funcs to shared tests (#6643) 2020-07-19 21:08:29 +00:00
keystore Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
logutil QSP-14 consistent file permissions (#6378) 2020-06-25 16:12:59 +00:00
mathutil Verify Attestation Time Correctly (#7160) 2020-09-02 19:21:52 +00:00
maxprocs automaxprocs: Log error to DEBUG instead of panic (#6592) 2020-07-14 01:51:07 +00:00
mclockutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
messagehandler Moves AssertLogsContains to assertions package (#6985) 2020-08-13 16:22:25 +00:00
mock Replace context.Background() with more appropriate context (#7136) 2020-09-09 09:48:52 +00:00
mputil Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
p2putils Fix Fork Data in Local Node (#5997) 2020-05-27 08:07:40 -07:00
pagination First take of applying assertion funcs to shared tests (#6666) 2020-08-25 10:18:29 +00:00
params Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
petnames Accounts V2: Derived Keymanager Sign (#6667) 2020-07-21 21:15:47 +00:00
prometheus Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
promptutil Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
rand QSP-6: Enforces crypto-secure PRNGs (#6401) 2020-06-26 09:58:47 -05:00
roughtime Skip initial roughtime result when EnableRoughtime is disabled (#7221) 2020-09-13 08:53:14 -07:00
runutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
sliceutil Improve make() capacity allocations (#6517) 2020-07-09 15:50:58 +00:00
slotutil Fixes timer resources leak in CountdownToGenesis (#7175) 2020-09-04 18:07:50 +00:00
testutil Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
traceutil libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
tracing libfuzz based tests (#5095) 2020-05-05 07:22:26 +00:00
trieutil Shadowed Predeclared Indentifier analyzer (#7215) 2020-09-14 12:49:15 +02:00
version Use STABLE_ prefix for git tag to force a relink of version (#6307) 2020-06-18 19:59:47 +00:00
BUILD.bazel Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
service_registry_test.go Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
service_registry.go Improve make() capacity allocations (#6517) 2020-07-09 15:50:58 +00:00