Example #1
0
        /// <summary>
        /// Reads the simple data (1 to 8 bytes) for specified type and address to read from.
        /// </summary>
        /// <param name="codeType">Type of the code.</param>
        /// <param name="address">The address.</param>
        public ulong ReadSimpleData(CodeType codeType, ulong address)
        {
            ISymbolProviderModule symbolProviderModule = GetSymbolProviderModule(codeType.Module);

            if (symbolProviderModule == null)
            {
                return(FallbackSymbolProvider.ReadSimpleData(codeType, address));
            }
            return(symbolProviderModule.ReadSimpleData(codeType, address));
        }
Example #2
0
        /// <summary>
        /// Reads the simple data (1 to 8 bytes) for specified type and address to read from.
        /// </summary>
        /// <param name="codeType">Type of the code.</param>
        /// <param name="address">The address.</param>
        public ulong ReadSimpleData(CodeType codeType, ulong address)
        {
            ISymbolProviderModule diaModule = GetDiaModule(codeType.Module);

            return(diaModule.ReadSimpleData(codeType, address));
        }