symbolize

package
v0.0.0-...-b5d9cbe Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package symbolize provides support for symbolizing crashes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SymbolizeCrash

func SymbolizeCrash(ctx context.Context, path string, w io.Writer, cfg Config) error

SymbolizeCrash attempts to symbolize a crash file. path can contain either raw minidump data or a Chrome crash report. The (possibly-unsuccessfully-)symbolized data is written to w.

Types

type Config

type Config struct {
	// SymbolDir contains a directory used to store symbol files.
	SymbolDir string
	// BuilderPath, for example, "betty-release/R91-13892.0.0", identifies the location
	// of debug symbols in gs://chromeos-image-archive.
	BuilderPath string
	// BuildRoot contains build root (e.g. "/build/lumpy") that produced the system image.
	// If empty, inferred by extracting the board name from the minidump.
	// The build root is only used if a builder path can't be extracted from the minidump.
	BuildRoot string
}

Config contains parameters used when symbolizing crash files.

Directories

Path Synopsis
Package breakpad processes minidump crash reports created by Breakpad.
Package breakpad processes minidump crash reports created by Breakpad.
Package fakecmd is used to install a fake version of a command for testing.
Package fakecmd is used to install a fake version of a command for testing.

Jump to

Keyboard shortcuts

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