public ISymbolTableVariable CreateVariable(IAddressSpecifier address, int size) { return new GDBSymbolTableVariableAddress (this, address, size); }
public GDBSymbolTableVariableAddress(GDBConnector connector, IAddressSpecifier address, int size) { _connector = connector; _address = address; _size = size; }
/// <summary> /// Sets the end of the region to fuzz /// </summary> /// <remarks> /// For details see SetFuzzRegionStart /// </remarks> /// <param name="regionSpecifier"></param> public void SetFuzzRegionEnd(string regionSpecifier) { _regionEnd = ParseRegionAddress (regionSpecifier, true, _connector); }
/// <summary> /// Sets the start of the region to fuzz. See remarks for regionSpecifier syntax /// </summary> /// <remarks> /// Valid region specifiers are: /// method:<method_name> ... Resolves to the start (after the prolog) of the specified function /// methodret:<method_name> ... Resolves to the "end" of the specified method. A break is set to the instruction right after the method call /// address:0x12345678 ... Resolves to the specified address /// source:<filename>:<linenum> ... Resolves to the first instruction of the specified source code line. /// This specifier is only availabe if debugging symbols and source code /// is available, and the symbol table implementation supports it. /// /// If the specifier has an invalid format a FuzzParseException is thrown /// </remarks> /// <param name="regionSpecifier"></param> public void SetFuzzRegionStart(string regionSpecifier) { _regionStart = ParseRegionAddress (regionSpecifier, false, _connector); }
public void Resolve() { Console.WriteLine ("Resolving: {0}", Symbol); _address = _symbolTable.ResolveSymbol(this); _breakpointAddress = _symbolTable.ResolveSymbolToBreakpointAddress(this); }