macho

package
v0.0.0-...-17a5c9f Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeSign

type CodeSign struct {
	ID             string         `json:"id"`
	TeamID         string         `json:"team_id"`
	Flags          uint32         `json:"flags"`
	FlagsString    string         `json:"flags_string"`
	RuntimeVersion string         `json:"runtime_version"`
	Entitlements   map[string]any `json:"entitlements"`
	RawEntitlement string         `json:"raw_entitlement"`
}

type Dylib

type Dylib struct {
	Name           string `json:"name"`
	Time           uint32 `json:"time"`
	CurrentVersion string `json:"current_version"`
	CompatVersion  string `json:"compat_version"`
}

type Dylibs

type Dylibs struct {
	Dylinker string   `json:"dylinker"`
	RPaths   []string `json:"rpaths"`
	Loads    []Dylib  `json:"loads"`
	Weaks    []Dylib  `json:"weaks"`
}

type MachOInfo

type MachOInfo struct {
	Magic    string   `json:"magic"`
	CPU      string   `json:"cpu"`
	Type     string   `json:"type"`
	Dylibs   Dylibs   `json:"dylibs"`
	CodeSign CodeSign `json:"codesign"`
}

func Parse

func Parse(path string) ([]*MachOInfo, error)

Jump to

Keyboard shortcuts

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