chromium/third_party/crashpad/crashpad/snapshot/linux/capture_memory_delegate_linux.cc

// Copyright 2021 The Crashpad Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "snapshot/linux/capture_memory_delegate_linux.h"

#include <utility>

#include "base/numerics/safe_conversions.h"
#include "snapshot/memory_snapshot_generic.h"

namespace crashpad {
namespace internal {

CaptureMemoryDelegateLinux::CaptureMemoryDelegateLinux(
    ProcessReaderLinux* process_reader,
    const ProcessReaderLinux::Thread* thread_opt,
    std::vector<std::unique_ptr<MemorySnapshotGeneric>>* snapshots,
    uint32_t* budget_remaining)
    :{}

bool CaptureMemoryDelegateLinux::Is64Bit() const {}

bool CaptureMemoryDelegateLinux::ReadMemory(uint64_t at,
                                            uint64_t num_bytes,
                                            void* into) const {}

std::vector<CheckedRange<uint64_t>>
CaptureMemoryDelegateLinux::GetReadableRanges(
    const CheckedRange<uint64_t, uint64_t>& range) const {}

void CaptureMemoryDelegateLinux::AddNewMemorySnapshot(
    const CheckedRange<uint64_t, uint64_t>& range) {}

}  // namespace internal
}  // namespace crashpad