Versions in this module Expand all Collapse all v0 v0.3.2 Sep 5, 2017 v0.3.1 Jan 20, 2017 v0.3.0 Jan 3, 2017 v0.2.0 Jan 2, 2017 v0.1.0 Dec 20, 2016 v0.0.1 Nov 12, 2016 Changes in this version + const ABase386 + const ABaseAMD64 + const ABaseARM + const ABaseARM64 + const ABaseMIPS64 + const ABasePPC64 + const ABaseS390X + const AMask + const A_AUTO + const A_PARAM + const AllowedOpCodes + const ArgsSizeUnknown + const C_FBIT + const C_PBIT + const C_SBIT + const C_SCOND + const C_SCOND_XOR + const C_UBIT + const C_WBIT + const DUPOK + const FUNCDATA_ArgsPointerMaps + const FUNCDATA_LocalsPointerMaps + const HistVersion + const KindArray + const KindBool + const KindChan + const KindComplex128 + const KindComplex64 + const KindDirectIface + const KindFloat32 + const KindFloat64 + const KindFunc + const KindGCProg + const KindInt + const KindInt16 + const KindInt32 + const KindInt64 + const KindInt8 + const KindInterface + const KindMap + const KindMask + const KindNoPointers + const KindPtr + const KindSlice + const KindString + const KindStruct + const KindUint + const KindUint16 + const KindUint32 + const KindUint64 + const KindUint8 + const KindUintptr + const KindUnsafePointer + const LOCAL + const LOG + const NAME_AUTO + const NAME_EXTERN + const NAME_GOTREF + const NAME_NONE + const NAME_PARAM + const NAME_STATIC + const NEEDCTXT + const NOFRAME + const NOPROF + const NOPTR + const NOSPLIT + const PCDATA_StackMapIndex + const RBase386 + const RBaseAMD64 + const RBaseARM + const RBaseARM64 + const RBaseMIPS64 + const RBasePPC64 + const RBaseS390X + const REFLECTMETHOD + const REG_NONE + const RODATA + const STACKSYSTEM + const StackBig + const StackGuard + const StackLimit + const StackPreempt + const StackSmall + const StackSystem + const TLSBSS + const WRAPPER + var Anames = []string + var Fieldtrack_enabled int + var GO386 = envOr("GO386", defaultGO386) + var GOARCH = envOr("GOARCH", defaultGOARCH) + var GOARM = goarm() + var GOOS = envOr("GOOS", defaultGOOS) + var GOROOT = envOr("GOROOT", defaultGOROOT) + var ReadOnly = []SymKind + var RelROMap = map[SymKind]SymKind + var Version = version + func Bool2int(b bool) int + func CConv(s uint8) string + func Cputime() float64 + func Dconv(p *Prog, a *Addr) string + func Expstring() string + func Flagcount(name, usage string, val *int) + func Flagfn0(name, usage string, f func()) + func Flagfn1(name, usage string, f func(string)) + func Flagfn2(string, string, func(string, string)) + func Flagint32(name, usage string, val *int32) + func Flagint64(name, usage string, val *int64) + func Flagparse(usage func()) + func Flagprint(fd int) + func Flagstr(name, usage string, val *string) + func Flushplist(ctxt *Link) + func FlushplistNoFree(ctxt *Link) + func Framepointer_enabled(goos, goarch string) bool + func Getcallerpc(interface{}) uintptr + func Getgoextlinkenabled() string + func Linkprfile(ctxt *Link, line int) + func Linksymfmt(s *LSym) string + func Mconv(a *Addr) string + func Nopout(p *Prog) + func Rconv(reg int) string + func RegisterOpcode(lo As, Anames []string) + func RegisterRegister(lo, hi int, Rconv func(int) string) + func Setuintxx(ctxt *Link, s *LSym, off int64, v uint64, wid int64) int64 + func WriteObjFile(ctxt *Link, b *bufio.Writer) + func Writeobjdirect(ctxt *Link, b *bufio.Writer) + type Addr struct + Class int8 + Index int16 + Name int8 + Node interface{} + Offset int64 + Reg int16 + Scale int16 + Sym *LSym + Type AddrType + Val interface{} + type AddrType uint8 + const TYPE_ADDR + const TYPE_BRANCH + const TYPE_CONST + const TYPE_FCONST + const TYPE_INDIR + const TYPE_MEM + const TYPE_NONE + const TYPE_REG + const TYPE_REGLIST + const TYPE_REGREG + const TYPE_REGREG2 + const TYPE_SCONST + const TYPE_SHIFT + const TYPE_TEXTSIZE + func (i AddrType) String() string + type As int16 + const ACALL + const ADUFFCOPY + const ADUFFZERO + const AEND + const AFUNCDATA + const AJMP + const ANOP + const APCDATA + const ARET + const ATEXT + const ATYPE + const AUNDEF + const AUSEFIELD + const AVARDEF + const AVARKILL + const AVARLIVE + const AXXX + const A_ARCHSPECIFIC + func (a As) String() string + type AsmBuf struct + func (a *AsmBuf) Bytes() []byte + func (a *AsmBuf) Insert(i int, b byte) + func (a *AsmBuf) Last() byte + func (a *AsmBuf) Len() int + func (a *AsmBuf) Peek(i int) byte + func (a *AsmBuf) Put(b []byte) + func (a *AsmBuf) Put1(x byte) + func (a *AsmBuf) Put2(x, y byte) + func (a *AsmBuf) Put3(x, y, z byte) + func (a *AsmBuf) Put4(x, y, z, w byte) + func (a *AsmBuf) PutInt16(v int16) + func (a *AsmBuf) PutInt32(v int32) + func (a *AsmBuf) PutInt64(v int64) + func (a *AsmBuf) Reset() + type Attribute int16 + const AttrCFunc + const AttrDuplicateOK + const AttrLeaf + const AttrLocal + const AttrMakeTypelink + const AttrNoSplit + const AttrOnList + const AttrReflectMethod + const AttrSeenGlobl + func (a *Attribute) Set(flag Attribute, value bool) + func (a Attribute) CFunc() bool + func (a Attribute) DuplicateOK() bool + func (a Attribute) Leaf() bool + func (a Attribute) Local() bool + func (a Attribute) MakeTypelink() bool + func (a Attribute) NoSplit() bool + func (a Attribute) OnList() bool + func (a Attribute) ReflectMethod() bool + func (a Attribute) SeenGlobl() bool + type Auto struct + Aoffset int32 + Asym *LSym + Gotype *LSym + Link *Auto + Name int16 + type HeadType uint8 + const Hdarwin + const Hdragonfly + const Hfreebsd + const Hlinux + const Hnacl + const Hnetbsd + const Hopenbsd + const Hplan9 + const Hsolaris + const Hunknown + const Hwindows + const Hwindowsgui + func (h *HeadType) Set(s string) error + func (h *HeadType) String() string + type LSym struct + Args int32 + Autom *Auto + Gotype *LSym + Locals int32 + Name string + P []byte + Pcln *Pcln + R []Reloc + RefIdx int + Size int64 + Text *Prog + Type SymKind + Version int16 + func Linklookup(ctxt *Link, name string, v int) *LSym + func (s *LSym) Grow(lsiz int64) + func (s *LSym) GrowCap(c int64) + func (s *LSym) String() string + func (s *LSym) WriteAddr(ctxt *Link, off int64, siz int, rsym *LSym, roff int64) + func (s *LSym) WriteBytes(ctxt *Link, off int64, b []byte) int64 + func (s *LSym) WriteFloat32(ctxt *Link, off int64, f float32) + func (s *LSym) WriteFloat64(ctxt *Link, off int64, f float64) + func (s *LSym) WriteInt(ctxt *Link, off int64, siz int, i int64) + func (s *LSym) WriteOff(ctxt *Link, off int64, rsym *LSym, roff int64) + func (s *LSym) WriteString(ctxt *Link, off int64, siz int, str string) + type LineHist struct + Dir string + GOROOT string + PrintFilenameOnly bool + Ranges []LineRange + Top *LineStack + TrimPathPrefix string + func (h *LineHist) AbsFileLine(lineno int) (file string, line int) + func (h *LineHist) At(lineno int) *LineStack + func (h *LineHist) FileLine(lineno int) (file string, line int) + func (h *LineHist) LineString(lineno int) string + func (h *LineHist) Pop(lineno int) + func (h *LineHist) Push(lineno int, file string) + func (h *LineHist) Update(lineno int, file string, line int) + type LineRange struct + Stack *LineStack + Start int + type LineStack struct + AbsFile string + Directive bool + File string + FileLine int + Lineno int + Parent *LineStack + Sym *LSym + type Link struct + Arch *LinkArch + Armsize int32 + AsmBuf AsmBuf + Asmode int + Autosize int32 + Blitrl *Prog + Bso *bufio.Writer + Curp *Prog + Cursym *LSym + Data []*LSym + Debugasm int32 + Debugdivmod int32 + Debugpcln int32 + Debugvlog int32 + DiagFunc func(string, ...interface{}) + Elitrl *Prog + Errors int + Flag_dynlink bool + Flag_optimize bool + Flag_shared bool + Framepointer_enabled bool + Hash map[SymVer]*LSym + Headtype HeadType + Imports []string + Instoffset int64 + LineHist LineHist + Lock int + Mode int + Pathname string + Pc int64 + Plan9privates *LSym + Plists []*Plist + Printp *Prog + Rep int + Repn int + Rexflag int + Sym_div *LSym + Sym_divu *LSym + Sym_mod *LSym + Sym_modu *LSym + Text []*LSym + Version int + Vexflag int + func Linknew(arch *LinkArch) *Link + func (ctxt *Link) AddImport(pkg string) + func (ctxt *Link) Dconv(a *Addr) string + func (ctxt *Link) Diag(format string, args ...interface{}) + func (ctxt *Link) FixedFrameSize() int64 + func (ctxt *Link) Globl(s *LSym, size int64, flag int) + func (ctxt *Link) Line(n int) string + func (ctxt *Link) Logf(format string, args ...interface{}) + func (ctxt *Link) NewProg() *Prog + type LinkArch struct + Assemble func(*Link, *LSym) + Follow func(*Link, *LSym) + Preprocess func(*Link, *LSym) + Progedit func(*Link, *Prog) + UnaryDst map[As]bool + type Pcdata struct + P []byte + type Pcln struct + File []*LSym + Funcdata []*LSym + Funcdataoff []int64 + Lastfile *LSym + Lastindex int + Pcdata []Pcdata + Pcfile Pcdata + Pcline Pcdata + Pcsp Pcdata + type Plist struct + Firstpc *Prog + func Linknewplist(ctxt *Link) *Plist + type Prog struct + As As + Back uint8 + Ctxt *Link + Forwd *Prog + From Addr + From3 *Addr + Ft uint8 + Isize uint8 + Lineno int32 + Link *Prog + Mark uint16 + Mode int8 + Opt interface{} + Optab uint16 + Pc int64 + Pcond *Prog + Reg int16 + RegTo2 int16 + Rel *Prog + Scond uint8 + Spadj int32 + To Addr + Tt uint8 + func Appendp(ctxt *Link, q *Prog) *Prog + func Brchain(ctxt *Link, p *Prog) *Prog + func Copyp(ctxt *Link, q *Prog) *Prog + func (p *Prog) From3Offset() int64 + func (p *Prog) From3Type() AddrType + func (p *Prog) Line() string + func (p *Prog) String() string + type Reloc struct + Add int64 + Off int32 + Siz uint8 + Sym *LSym + Type RelocType + func Addrel(s *LSym) *Reloc + type RelocType int32 + const R_ADDR + const R_ADDRARM64 + const R_ADDRMIPS + const R_ADDRMIPSTLS + const R_ADDRMIPSU + const R_ADDROFF + const R_ADDRPOWER + const R_ADDRPOWER_DS + const R_ADDRPOWER_GOT + const R_ADDRPOWER_PCREL + const R_ADDRPOWER_TOCREL + const R_ADDRPOWER_TOCREL_DS + const R_ARM64_GOTPCREL + const R_ARM64_TLS_IE + const R_ARM64_TLS_LE + const R_CALL + const R_CALLARM + const R_CALLARM64 + const R_CALLIND + const R_CALLMIPS + const R_CALLPOWER + const R_CONST + const R_DWARFREF + const R_GOTOFF + const R_GOTPCREL + const R_JMPMIPS + const R_METHODOFF + const R_PCREL + const R_PCRELDBL + const R_PLT0 + const R_PLT1 + const R_PLT2 + const R_POWER_TLS + const R_POWER_TLS_IE + const R_POWER_TLS_LE + const R_POWER_TOC + const R_SIZE + const R_TLS_IE + const R_TLS_LE + const R_USEFIELD + const R_USETYPE + func (i RelocType) String() string + func (r RelocType) IsDirectJump() bool + type SymKind int16 + const SBSS + const SCONST + const SCONTAINER + const SDATA + const SDWARFINFO + const SDWARFSECT + const SDYNIMPORT + const SELFGOT + const SELFROSECT + const SELFRXSECT + const SELFSECT + const SFILE + const SFILEPATH + const SFUNCTAB + const SFUNCTABRELRO + const SGCBITS + const SGCBITSRELRO + const SGOFUNC + const SGOFUNCRELRO + const SGOSTRING + const SGOSTRINGRELRO + const SHIDDEN + const SHOSTOBJ + const SINITARR + const SITABLINK + const SMACHO + const SMACHOGOT + const SMACHOINDIRECTGOT + const SMACHOINDIRECTPLT + const SMACHOPLT + const SMACHOSYMSTR + const SMACHOSYMTAB + const SMASK + const SNOPTRBSS + const SNOPTRDATA + const SPCLNTAB + const SRODATA + const SRODATARELRO + const SSTRING + const SSTRINGRELRO + const SSUB + const SSYMTAB + const STEXT + const STLSBSS + const STYPE + const STYPELINK + const STYPERELRO + const SWINDOWS + const SXREF + const Sxxx + func (i SymKind) String() string + type SymVer struct + Name string + Version int