Documentation ¶
Overview ¶
Package load loads the instruction database from external sources.
Index ¶
Constants ¶
View Source
const ( DefaultCSVName = "x86.v0.2.csv" DefaultOpcodesXMLName = "x86_64.xml" )
Expected data source filenames.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct { X86CSVPath string OpcodesXMLPath string // contains filtered or unexported fields }
Loader builds an instruction database from underlying datasources.
func NewLoaderFromDataDir ¶
NewLoaderFromDataDir constructs an instruction loader from datafiles in the given directory. The files themselves are expected to have the standard names: see Default*Name constants.
Click to show internal directories.
Click to hide internal directories.