gosec/rules
Grant Murphy 129be1561b Update error test case
There were several issues with the error test case that have been
addressed in this commit.

- It is possible to specify a whitelist of calls that error handling
  should be ignored for.
- Additional support for ast.ExprStmt for cases where the error is
  implicitly ignored.

There were several other additions to the helpers and call list in order
to support this type of functionality.

Fixes #54
2016-11-18 14:09:10 -08:00
..
bind.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
bind_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
blacklist.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
blacklist_test.go Ensure initialization only imports are ignored 2016-11-07 09:28:37 -08:00
errors.go Update error test case 2016-11-18 14:09:10 -08:00
errors_test.go Update error test case 2016-11-18 14:09:10 -08:00
fileperms.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
fileperms_test.go Ensure os.OpenFile file permissions are checked 2016-11-12 17:57:20 -08:00
hardcoded_credentials.go Fix additional crash condition 2016-11-14 15:15:17 -08:00
hardcoded_credentials_test.go Fix additional crash condition 2016-11-14 15:15:17 -08:00
httpoxy_test.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
nosec_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
rand.go Remove debug print messages 2016-11-15 12:36:02 -08:00
rand_test.go rand: resolve math/rand package 2016-11-03 19:21:12 -04:00
rsa.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
rsa_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
sql.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
sql_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
subproc.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
subproc_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
tempfiles.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
tempfiles_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
templates.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
templates_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
tls.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
tls_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
unsafe.go Update unsafe rule to match package explicitly 2016-11-15 13:53:36 -08:00
unsafe_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
utils_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00
weakcrypto.go Allow rules to register against multiple ast nodes 2016-11-13 12:55:31 -08:00
weakcrypto_test.go Updated imports to new repository location. 2016-11-02 16:54:20 -07:00