parse

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DbgParse   dbgFlags = 1 << iota
	DbgFlagAll          = DbgParse
)

Variables

This section is empty.

Functions

func Do

func Do(conf *Config) error

func MarshalFileInfo

func MarshalFileInfo(info *llcppg.FileInfo) map[string]any

func MarshalFileMap

func MarshalFileMap(fmap map[string]*llcppg.FileInfo) map[string]any

func MarshalPkg

func MarshalPkg(pkg *llcppg.Pkg) map[string]any

func OutputPkg

func OutputPkg(conf *Config, pkg *llcppg.Pkg)

func SetDebug

func SetDebug(dbgFlags dbgFlags)

Types

type Config

type Config struct {
	Conf   *llcppg.Config
	Out    bool     // if gen llcppg.sigfetch.json
	Cflags []string // other cflags want to parse

	ExtractMode bool
	ExtractFile string
	IsTemp      bool
	IsCpp       bool

	CombinedFile     string
	PreprocessedFile string
	Exec             func(conf *Config, pkg *llcppg.Pkg)
}

Jump to

Keyboard shortcuts

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