/* * Copyright (c) 2021, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Symbolication { struct Symbol { FlatPtr address { 0 }; String name {}; u32 offset { 0 }; Vector source_positions; }; Optional kernel_base(); Vector symbolicate_thread(pid_t pid, pid_t tid); Optional symbolicate(String const& path, FlatPtr address); }