Home | History | Annotate | Download | only in Core

Lines Matching defs:error

183 Value::GetValueByteSize (Error *error_ptr)
318 Error
326 Error error;
348 return error; // Success;
349 error.SetErrorStringWithFormat("extracting data from value failed");
355 error.SetErrorString ("can't read load address (no execution context)");
406 error.SetErrorString ("can't read load address (invalid process)");
422 error.SetErrorString ("can't read file address (no execution context)");
426 error.SetErrorString ("can't read file address (invalid target)");
433 error.SetErrorString ("invalid file address");
488 error.SetErrorStringWithFormat ("unable to resolve the module for file address 0x%" PRIx64 " for variable '%s' in %s",
493 error.SetErrorStringWithFormat ("unable to resolve the module for file address 0x%" PRIx64 " in %s",
500 error.SetErrorStringWithFormat ("unable to resolve the module for file address 0x%" PRIx64 " for variable '%s'",
504 error.SetErrorStringWithFormat ("unable to resolve the module for file address 0x%" PRIx64, address);
512 error.SetErrorString ("can't read memory from file address without more context");
538 if (error.Fail())
539 return error;
543 error.SetErrorStringWithFormat ("invalid %s address", address_type == eAddressTypeHost ? "host" : "load");
544 return error;
548 size_t byte_size = GetValueByteSize (&error);
551 if (error.Fail())
552 return error;
581 if (exe_ctx->GetTargetRef().ReadMemory(file_so_addr, prefer_file_cache, dst, byte_size, error) != byte_size)
583 error.SetErrorStringWithFormat("read memory from 0x%" PRIx64 " failed", (uint64_t)address);
596 const size_t bytes_read = process->ReadMemory(address, dst, byte_size, error);
598 error.SetErrorStringWithFormat("read memory from 0x%" PRIx64 " failed (%u of %u bytes read)",
605 error.SetErrorStringWithFormat("read memory from 0x%" PRIx64 " failed (invalid process)", (uint64_t)address);
611 error.SetErrorStringWithFormat ("unsupported AddressType value (%i)", address_type);
616 error.SetErrorStringWithFormat ("out of memory");
619 return error;
640 Error error (GetValueAsData (exe_ctx, data, 0, NULL));
641 if (error.Success())