blob: 33e0ac3182cc2d0b71466ba82d3070cb40a91f7d (
plain) (
tree)
|
|
// Copyright (c) 2017 Egor Tensin <Egor.Tensin@gmail.com>
// This file is part of the "PDB repository" project.
// For details, see https://github.com/egor-tensin/pdb-repo.
// Distributed under the MIT License.
#pragma once
#include <Windows.h>
#include <sstream>
#include <string>
namespace pdb
{
typedef DWORD64 Address;
inline std::string format_address(Address address)
{
std::ostringstream oss;
oss << std::hex << std::showbase << address;
return oss.str();
}
}
|