osu-auth-reader/ac_checker/include/util/pe.hpp

17 lines
335 B
C++
Raw Permalink Normal View History

2022-09-29 10:31:39 +00:00
#pragma once
#include <cstdint>
#include <string_view>
// <3 mr polish man
namespace util {
struct ModuleInfo {
uintptr_t base;
size_t size;
};
ModuleInfo get_module(std::string_view module_name);
uintptr_t get_export(std::string_view module_name, std::string_view export_name);
} // namespace util