Ejemplo n.º 1
0
 public TargetBinaryAccess(TargetBlob blob)
 {
     this.blob = blob;
     this.swap = blob.TargetMemoryInfo.IsBigEndian;
 }
Ejemplo n.º 2
0
 public TargetBinaryReader(TargetBlob blob)
     : base(blob)
 {
 }
Ejemplo n.º 3
0
        void create_frame_reader()
        {
            long vma_base = base_address.IsNull ? 0 : base_address.Address;
            Section section = GetSectionByName (".debug_frame", false);
            if (section != null) {
                byte[] contents = GetSectionContents (section.section);
                TargetBlob blob = new TargetBlob (contents, info);
                frame_reader = new DwarfFrameReader (
                    this, blob, vma_base + section.vma, false);
            }

            section = GetSectionByName (".eh_frame", false);
            if (section != null) {
                byte[] contents = GetSectionContents (section.section);
                TargetBlob blob = new TargetBlob (contents, info);
                eh_frame_reader = new DwarfFrameReader (
                    this, blob, vma_base + section.vma, true);
            }
        }
Ejemplo n.º 4
0
 public TargetBinaryReader(TargetBlob blob)
     : base(blob)
 {
 }
Ejemplo n.º 5
0
 public TargetBinaryAccess(TargetBlob blob)
 {
     this.blob = blob;
     this.swap = blob.TargetMemoryInfo.IsBigEndian;
 }