#include <iostream>
#include <sstream>
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "components/gwp_asan/crash_handler/crash.pb.h"
#include "components/gwp_asan/crash_handler/crash_handler.h"
#include "third_party/crashpad/crashpad/minidump/minidump_extensions.h"
#include "third_party/crashpad/crashpad/snapshot/minidump/process_snapshot_minidump.h"
#include "third_party/crashpad/crashpad/util/file/file_reader.h"
namespace gwp_asan {
std::string ErrorTypeToString(Crash::ErrorType error_type) { … }
std::string AllocatorToString(Crash::Allocator allocator) { … }
std::string ModeToString(Crash::Mode mode) { … }
std::string AllocationInfoToString(const Crash::AllocationInfo& info) { … }
std::string CrashToString(const Crash& crash) { … }
}
int main(int argc, const char* argv[]) { … }