Exemple #1
0
 public SmxDebugInfoSection(FileHeader file, SectionEntry header)
     : base(file, header)
 {
     info_ = DebugInfoHeader.From(file.SectionReader(header));
 }
Exemple #2
0
 public static DebugInfoHeader From(BinaryReader rd)
 {
     var info = new DebugInfoHeader();
     info.num_files = rd.ReadInt32();
     info.num_lines = rd.ReadInt32();
     info.num_syms = rd.ReadInt32();
     info.num_arrays = rd.ReadInt32();
     return info;
 }