package
0.3.7
Repository: https://github.com/unpackdev/solgo.git
Documentation: pkg.go.dev

# Functions

NewAuditor initializes a new Auditor instance with the provided context, configuration, and sources.
NewDefaultConfig creates and returns a default configuration for Slither.
NewResponse parses the provided JSON data (typically from Slither) and returns a structured Response object.
NewSlither initializes a new Slither instance with the given context and configuration.

# Constants

Represents high severity issues.
Represents informational findings.
Represents low severity issues.
Represents medium severity issues.

# Variables

ErrSlitherNotInstalled is returned when slither is not installed on the machine.
ErrSourcesNotSet is returned when sources are not set.
ErrTempDirNotSet is returned when temp directory is not set.

# Structs

AdditionalFields provides additional information about an element.
Auditor represents a structure that manages the auditing process of smart contracts using the Slither tool.
Config represents the configuration for the Slither tool.
Detector represents a single detected vulnerability or issue.
Element represents a specific element (e.g., function, contract) associated with a detected issue.
Report represents the top-level structure of the Slither JSON output.
Results encapsulates the list of detected vulnerabilities or issues.
Slither represents a wrapper around the Slither static analysis tool.
SourceMapping provides details about the source code location of an element.
TypeSpecificFields contains fields that are specific to the type of an element.

# Type aliases

ImpactLevel represents the severity of a detected issue in the audit results.