stringlencompare

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

README

stringlencompare

Package stringlencompare provides analysis.Analyzer to check string len compare style.

Based on https://github.com/google/syzkaller/blob/master/tools/syz-linter/linter.go

ci Go Reference codecov Go Report Card

LICENSE

Apache License 2.0

stringlencompare was created by extracting a part of syz-linter inside syzkaller project.

Original license: https://github.com/google/syzkaller/blob/master/LICENSE

Documentation

Overview

Package stringlencompare provides analysis.Analyzer to check string len compare style. Based on https://github.com/google/syzkaller/blob/master/tools/syz-linter/linter.go

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "stringlencompare",
	Doc:  "check string len compare style",
	Run:  run,
}

Functions

This section is empty.

Types

type Pass

type Pass analysis.Pass

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL