Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package asm provides a simple parser for Go assembly files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
	Idents []Ident
}
    A file represents a parsed file of Go assembly language.
type Ident ¶
type Ident struct {
	Name   string // symbol name (after correcting [·∕]); Name[0]='.' => current package
	Offset int    // zero-based byte offset
	Kind   Kind
}
    Ident represents an identifier in an assembly file.
type Kind ¶
type Kind uint8
Kind describes the nature of an identifier in an assembly file.
const ( Invalid Kind = iota // reserved zero value; not used by Ident Ref // arbitrary reference to symbol or control label Text // definition of TEXT (function) symbol Global // definition of GLOBL (var) symbol Data // initialization of GLOBL (var) symbol; effectively a reference Label // definition of control label )
 Click to show internal directories. 
   Click to hide internal directories.