7#include "plugify/load_flag.hpp"
8#include "plugify/mem_addr.hpp"
9#include "plugify/types.hpp"
11#include "plg/expected.hpp"
39 virtual const std::filesystem::path&
GetPath()
const = 0;
54 using AssemblyPtr = std::shared_ptr<IAssembly>;
Core interface for loaded assemblies.
virtual Result< MemAddr > GetSymbol(std::string_view name) const =0
Get a symbol by name.
virtual bool IsValid() const =0
Check if assembly is valid.
virtual MemAddr GetBase() const =0
Get the base address of the assembly.
virtual void * GetHandle() const =0
Get raw platform handle.
virtual const std::filesystem::path & GetPath() const =0
Get the path of the loaded assembly.
A wrapper class for memory addresses, providing utility functions for pointer manipulation.