plugify  1.0.0.0
Public Member Functions | Public Attributes | List of all members
plugify::Assembly::Section Struct Reference

Represents a section of the assembly. More...

#include <assembly.hpp>

Collaboration diagram for plugify::Assembly::Section:
Collaboration graph
[legend]

Public Member Functions

 Section ()
 Default constructor initializing size to 0.
 
 Section (std::string_view sectionName, uintptr_t sectionBase, size_t sectionSize)
 Parameterized constructor. More...
 
bool IsValid () const noexcept
 Checks if the section is valid. More...
 

Public Attributes

std::string name {}
 The name of the section.
 
MemAddr base
 The base address of the section.
 
size_t size
 The size of the section.
 

Detailed Description

Represents a section of the assembly.

Definition at line 21 of file assembly.hpp.

Constructor & Destructor Documentation

◆ Section()

plugify::Assembly::Section::Section ( std::string_view  sectionName,
uintptr_t  sectionBase,
size_t  sectionSize 
)
inline

Parameterized constructor.

Parameters
sectionNameThe name of the section.
sectionBaseThe base address of the section.
sectionSizeThe size of the section.

Definition at line 33 of file assembly.hpp.

Member Function Documentation

◆ IsValid()

bool plugify::Assembly::Section::IsValid ( ) const
inlinenoexcept

Checks if the section is valid.

Returns
True if the section is valid, false otherwise.

Definition at line 40 of file assembly.hpp.


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