chromium/third_party/crashpad/crashpad/snapshot/sanitized/process_snapshot_sanitized.cc

// Copyright 2018 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/sanitized/process_snapshot_sanitized.h"

#include <stdint.h>

#include "snapshot/cpu_context.h"
#include "util/linux/pac_helper.h"
#include "util/numeric/safe_assignment.h"

namespace crashpad {

namespace {

class StackReferencesAddressRange : public MemorySnapshot::Delegate {};

}  // namespace

ProcessSnapshotSanitized::ProcessSnapshotSanitized() = default;

ProcessSnapshotSanitized::~ProcessSnapshotSanitized() = default;

bool ProcessSnapshotSanitized::Initialize(
    const ProcessSnapshot* snapshot,
    std::unique_ptr<const std::vector<std::string>> allowed_annotations,
    std::unique_ptr<const std::vector<std::pair<VMAddress, VMAddress>>>
        allowed_memory_ranges,
    VMAddress target_module_address,
    bool sanitize_stacks) {}

crashpad::ProcessID ProcessSnapshotSanitized::ProcessID() const {}

crashpad::ProcessID ProcessSnapshotSanitized::ParentProcessID() const {}

void ProcessSnapshotSanitized::SnapshotTime(timeval* snapshot_time) const {}

void ProcessSnapshotSanitized::ProcessStartTime(timeval* start_time) const {}

void ProcessSnapshotSanitized::ProcessCPUTimes(timeval* user_time,
                                               timeval* system_time) const {}

void ProcessSnapshotSanitized::ReportID(UUID* report_id) const {}

void ProcessSnapshotSanitized::ClientID(UUID* client_id) const {}

const std::map<std::string, std::string>&
ProcessSnapshotSanitized::AnnotationsSimpleMap() const {}

const SystemSnapshot* ProcessSnapshotSanitized::System() const {}

std::vector<const ThreadSnapshot*> ProcessSnapshotSanitized::Threads() const {}

std::vector<const ModuleSnapshot*> ProcessSnapshotSanitized::Modules() const {}

std::vector<UnloadedModuleSnapshot> ProcessSnapshotSanitized::UnloadedModules()
    const {}

const ExceptionSnapshot* ProcessSnapshotSanitized::Exception() const {}

std::vector<const MemoryMapRegionSnapshot*>
ProcessSnapshotSanitized::MemoryMap() const {}

std::vector<HandleSnapshot> ProcessSnapshotSanitized::Handles() const {}

std::vector<const MemorySnapshot*> ProcessSnapshotSanitized::ExtraMemory()
    const {}

const ProcessMemory* ProcessSnapshotSanitized::Memory() const {}

}  // namespace crashpad