Esempio n. 1
0
 public Reloc(long Offset = default, long Size = default, SymID Sym = default, long Add = default, objabi.RelocType Type = default)
 {
     this.Offset = Offset;
     this.Size   = Size;
     this.Sym    = Sym;
     this.Add    = Add;
     this.Type   = Type;
 }
Esempio n. 2
0
File: read.cs Progetto: zjmit/go2cs
                public static @string String(this SymID s)
                {
                    if (s.Version == 0L)
                    {
                        return(s.Name);
                    }

                    return(fmt.Sprintf("%s<%d>", s.Name, s.Version));
                }
Esempio n. 3
0
 public Sym(SymID SymID = default, objabi.SymKind Kind = default, bool DupOK = default, long Size = default, SymID Type = default, Data Data = default, slice <Reloc> Reloc = default, ref ptr <Func> Func = default)
 {
     this.m_SymIDRef = new ptr <SymID>(SymID);
     this.Kind       = Kind;
     this.DupOK      = DupOK;
     this.Size       = Size;
     this.m_TypeRef  = new ptr <SymID>(Type);
     this.Data       = Data;
     this.Reloc      = Reloc;
     this.Func       = Func;
 }
Esempio n. 4
0
 public InlinedCall(long Parent = default, @string File = default, long Line = default, SymID Func = default, long ParentPC = default)
 {
     this.Parent   = Parent;
     this.File     = File;
     this.Line     = Line;
     this.Func     = Func;
     this.ParentPC = ParentPC;
 }
Esempio n. 5
0
 public Var(@string Name = default, long Kind = default, long Offset = default, SymID Type = default)
 {
     this.Name   = Name;
     this.Kind   = Kind;
     this.Offset = Offset;
     this.Type   = Type;
 }
Esempio n. 6
0
 public FuncData(SymID Sym = default, long Offset = default)
 {
     this.Sym    = Sym;
     this.Offset = Offset;
 }