Documentation
¶
Index ¶
Constants ¶
View Source
const LLCPPG_CFG = "llcppg.cfg"
View Source
const LLCPPG_PUB = "llcppg.pub"
View Source
const LLCPPG_SIGFETCH = "llcppg.sigfetch.json"
View Source
const LLCPPG_SYMB = "llcppg.symb.json"
Variables ¶
This section is empty.
Functions ¶
func ReadPubFile ¶ added in v0.5.1
llcppg.pub
Types ¶
type Config ¶
type Config struct {
Name string `json:"name"`
CFlags string `json:"cflags"`
Libs string `json:"libs"`
Include []string `json:"include"`
TrimPrefixes []string `json:"trimPrefixes,omitempty"`
Cplusplus bool `json:"cplusplus,omitempty"`
Deps []string `json:"deps,omitempty"`
KeepUnderScore bool `json:"keepUnderScore,omitempty"`
Impl []ImplFiles `json:"impl,omitempty"`
Mix bool `json:"mix,omitempty"`
SymMap map[string]string `json:"symMap,omitempty"`
TypeMap map[string]string `json:"typeMap,omitempty"`
StaticLib bool `json:"staticLib,omitempty"`
}
Config represents a configuration for the llcppg tool.
func GetConfFromFile ¶ added in v0.5.1
func NewDefault ¶
func NewDefault() *Config
type SymTable ¶ added in v0.5.1
type SymTable struct {
// contains filtered or unexported fields
}
func GetSymTableFromFile ¶ added in v0.5.1
llcppg.symb.json
func NewSymTable ¶ added in v0.5.1
func NewSymTable(syms []SymbolInfo) *SymTable
func (*SymTable) LookupSymbol ¶ added in v0.5.1
func (t *SymTable) LookupSymbol(mangle string) (*SymbolInfo, error)
type SymbolInfo ¶
Click to show internal directories.
Click to hide internal directories.