public TargetBinaryAccess(TargetBlob blob) { this.blob = blob; this.swap = blob.TargetMemoryInfo.IsBigEndian; }
public TargetBinaryReader(TargetBlob blob) : base(blob) { }
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); } }