public void Phase4(MetadataProcessor.ImageAccessor accessor)
 {
     uint size = 2 + 4 + codeLen;
     for (int i = 0; i < codes.Length; i++)
     {
         size += 4;
         if (rvas[i] == 0) continue;
         size += 8;
     }
     size = (((uint)size + 0x7f) & ~0x7fu) + 0x28;
     Section prev = accessor.Sections[accessor.Sections.Count - 1];
     accessor.Sections[0].Characteristics = 0x60000020;
     Section sect = accessor.CreateSection(sectName, size, 0x40000040, prev);
     accessor.Sections.Add(sect);
 }
 public void Phase4(MetadataProcessor.ImageAccessor accessor)
 {
     uint size = (((uint)finalDat.Length + 2 + 0x7f) & ~0x7fu) + 0x28;
     Section prev = accessor.Sections[accessor.Sections.Count - 1];
     Section sect = accessor.CreateSection(sectName, size, 0x40000040, prev);
     accessor.Sections.Add(sect);
 }