plugify 1.0.0.0
Loading...
Searching...
No Matches
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.
 
bool IsValid () const noexcept
 Checks if the section is valid.
 

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() [1/2]

plugify::Assembly::Section::Section ( )
inline

Default constructor initializing size to 0.

Definition at line 25 of file assembly.hpp.

◆ Section() [2/2]

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.

Member Data Documentation

◆ base

MemAddr plugify::Assembly::Section::base

The base address of the section.

Definition at line 43 of file assembly.hpp.

◆ name

std::string plugify::Assembly::Section::name {}

The name of the section.

Definition at line 42 of file assembly.hpp.

◆ size

size_t plugify::Assembly::Section::size

The size of the section.

Definition at line 44 of file assembly.hpp.


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