bytechomp

package module
v0.0.0-...-a147ea3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

README

Byte-Chomp

A Golang tool for obtaining data on golang binaries in csv format

Go Reference Codacy Badge Go CodeQL Bugs

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsvData

type CsvData struct {
	// contains filtered or unexported fields
}

CsvData a struct representing the data to be exported to a csv file

func MakeCsvData

func MakeCsvData(elfFile *ElfFile) *CsvData

MakeCsvData creates a new CsvData struct and fills out some of its attributes based on the elfFile struct passed to it

func (*CsvData) CreateCSV

func (csvData *CsvData) CreateCSV() (fileName string, err error)

CreateCSV creates a new csv file from the CsvData struct that calls this method

type ElfFile

type ElfFile struct {
	// contains filtered or unexported fields
}

ElfFile a struct representing all of the information contained within an ELF binary object

func NewElfFile

func NewElfFile(file *elf.File, projectName string) (*ElfFile, error)

NewElfFile creates a new ElfFile struct, should be used instead of new

func (*ElfFile) GenerateCSV

func (elfFile *ElfFile) GenerateCSV() (fileName string, err error)

GenerateCSV generates a csv of ELF file information

func (*ElfFile) StartAnalysis

func (elfFile *ElfFile) StartAnalysis() error

StartAnalysis starts analysis on an ELF binary, returns an error if a problem occurs

Jump to

Keyboard shortcuts

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