breakpad

package
v0.0.0-...-bbc9ce3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleSection

type ModuleSection struct {
	OS         string
	Arch       string
	BuildID    string
	ModuleName string
}

ModuleSection represents the first section/line of a symbol file.

func (*ModuleSection) String

func (mod *ModuleSection) String() string

String formats this ModuleSection as it would be written to a file.

type SymbolFile

type SymbolFile struct {
	ModuleSection *ModuleSection
	// contains filtered or unexported fields
}

SymbolFile represents a Breakpad symbol file, typically produced by the dump_syms tool. This is only a partial implementation; the ModuleSection is all that is parsed. Add fields as needed.

func ParseSymbolFile

func ParseSymbolFile(r io.Reader) (*SymbolFile, error)

ParseSymbolFile reads a breakpad symbol file.

func (SymbolFile) Reader

func (f SymbolFile) Reader() io.Reader

Reader returns an io.Reader for this SymbolFile data as it would be written to a file.

func (SymbolFile) WriteTo

func (f SymbolFile) WriteTo(w io.Writer) (int64, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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