private SymbolCollection(IPlatformIdAllocator aIdAllocator, SymbolCollection aCopy) { iId = aIdAllocator.AllocateId(); iIdAllocator = aIdAllocator; iTag = aCopy.iTag; iOriginalCollection = aCopy; iFlags = aCopy.iFlags; iTagged = aCopy.iTagged; iBaseAddress = aCopy.iBaseAddress; iCodeSegmentResolver = aCopy.iCodeSegmentResolver; iRelocationHandler = aCopy.iRelocationHandler; iFileName = PlatformFileName.New(aCopy.FileName); iCodeSegmentResolver = aCopy.IfaceCodeSegmentResolver; iRelocationHandler = aCopy.IfaceRelocationHandler; // Deep copy symbols foreach (Symbol symbol in aCopy) { Symbol clone = Symbol.NewClone(this, symbol); iSymbols.Add(clone); } // Recalculate addresses RecalculationAddressRange(); }
internal SymSourceProviderManager(SymbolPlugin aPlugin, IPlatformIdAllocator aIdAllocator) { iPlugin = aPlugin; iIdAllocator = aIdAllocator; // iProviders.Load(new object[] { this }); }
private SymbolCollection(IPlatformIdAllocator aIdAllocator, string aFileNameInHost) { iOriginalCollection = null; iId = aIdAllocator.AllocateId(); iIdAllocator = aIdAllocator; iFileName = PlatformFileName.NewByHostName(aFileNameInHost); DefaultSymbolAdd(); }
internal CodeSourceProviderManager(CodePlugin aPlugin, IPlatformIdAllocator aIdAllocator) { iPlugin = aPlugin; iIdAllocator = aIdAllocator; iInstructionLibrary = new ArmLibrary(); // iProviders.Load(new object[] { this }); }
private CodeCollection(IPlatformIdAllocator aIdAllocator, CodeCollection aCopy) { iId = aIdAllocator.AllocateId(); // iCode = aCopy.iCode; iTag = aCopy.iTag; iFlags = aCopy.iFlags; iTagged = aCopy.iTagged; iBaseAddress = aCopy.iBaseAddress; iCodeSegmentResolver = aCopy.iCodeSegmentResolver; iRelocationHandler = aCopy.iRelocationHandler; iFileName = PlatformFileName.New(aCopy.FileName); iInstructionConverter = aCopy.IfaceInstructionConverter; iCodeSegmentResolver = aCopy.IfaceCodeSegmentResolver; iRelocationHandler = aCopy.IfaceRelocationHandler; }
private SymbolCollection(IPlatformIdAllocator aIdAllocator, string aFileNameInHost, string aFileNameInDevice) : this(aIdAllocator, aFileNameInHost) { iFileName.FileNameInDevice = aFileNameInDevice; }
public static SymbolCollection NewByHostFileName(IPlatformIdAllocator aIdAllocator, string aFileName) { SymbolCollection ret = new SymbolCollection(aIdAllocator, aFileName); return(ret); }
public static SymbolCollection NewCopy(IPlatformIdAllocator aIdAllocator, SymbolCollection aCollection) { SymbolCollection ret = new SymbolCollection(aIdAllocator, aCollection); return(ret); }
public static SymbolCollection New(IPlatformIdAllocator aIdAllocator, string aFileNameInHost, string aFileNameInDevice) { SymbolCollection ret = new SymbolCollection(aIdAllocator, aFileNameInHost, aFileNameInDevice); return(ret); }
public SymbolCollectionSegment(IPlatformIdAllocator aIdAllocator, string aHostFileName) { iCollection = SymbolCollection.NewByHostFileName(aIdAllocator, aHostFileName); }
private CodeCollection(IPlatformIdAllocator aIdAllocator, string aFileNameInHost) { iId = aIdAllocator.AllocateId(); iFileName = PlatformFileName.NewByHostName(aFileNameInHost); }
public static CodeCollection NewCopy(IPlatformIdAllocator aIdAllocator, CodeCollection aCollection) { CodeCollection ret = new CodeCollection(aIdAllocator, aCollection); return(ret); }