plugify 1.2.8
Loading...
Searching...
No Matches
Public Member Functions | List of all members
plugify::IAssembly Interface Referenceabstract

Core interface for loaded assemblies. More...

#include <assembly.hpp>

Public Member Functions

virtual Result< MemAddrGetSymbol (std::string_view name) const =0
 Get a symbol by name.
 
virtual bool IsValid () const =0
 Check if assembly is valid.
 
virtual const std::filesystem::path & GetPath () const =0
 Get the path of the loaded assembly.
 
virtual MemAddr GetBase () const =0
 Get the base address of the assembly.
 
virtual void * GetHandle () const =0
 Get raw platform handle.
 

Detailed Description

Core interface for loaded assemblies.

Definition at line 18 of file assembly.hpp.

Member Function Documentation

◆ GetBase()

virtual MemAddr plugify::IAssembly::GetBase ( ) const
pure virtual

Get the base address of the assembly.

Returns
Base memory address

◆ GetHandle()

virtual void * plugify::IAssembly::GetHandle ( ) const
pure virtual

Get raw platform handle.

Returns
Platform-specific handle (HMODULE, void*, etc)

◆ GetPath()

virtual const std::filesystem::path & plugify::IAssembly::GetPath ( ) const
pure virtual

Get the path of the loaded assembly.

Returns
Filesystem path to the assembly

◆ GetSymbol()

virtual Result< MemAddr > plugify::IAssembly::GetSymbol ( std::string_view  name) const
pure virtual

Get a symbol by name.

Parameters
nameSymbol name to lookup
Returns
Address of the symbol or error

◆ IsValid()

virtual bool plugify::IAssembly::IsValid ( ) const
pure virtual

Check if assembly is valid.

Returns
true if the assembly is loaded and valid

The documentation for this interface was generated from the following file: