This class is responsible for extracting specific data from an executable file.
More...
#include <executable_parser.hpp>
This class is responsible for extracting specific data from an executable file.
◆ ExecutableParser()
| arion::ExecutableParser::ExecutableParser |
( |
std::weak_ptr< Arion > |
arion | ) |
|
|
inline |
Builder for ExecutableParser instances.
- Parameters
-
| [in] | arion | The Arion instance which requested the executable parsing. |
◆ get_attrs()
Retrieves the structure of attributes which were filled during parsing.
- Returns
- The structure of attributes.
◆ get_segments()
| std::vector< std::shared_ptr< struct SEGMENT > > arion::ExecutableParser::get_segments |
( |
| ) |
|
Retrieves the list of memory segments which where extracted from the executable.
- Returns
- The list of memory segments.
◆ process()
| virtual void arion::ExecutableParser::process |
( |
| ) |
|
|
pure virtual |
Processes the requested executable file by parsing its format and extracting some specific data.
Implemented in arion::ElfParser.
◆ arion
| std::weak_ptr<Arion> arion::ExecutableParser::arion |
|
protected |
The Arion instance which requested the executable parsing.
◆ attrs
A structure of attributes which are filled during the parsing.
◆ segments
| std::vector<std::shared_ptr<struct SEGMENT> > arion::ExecutableParser::segments |
|
protected |
The memory segments in the executable.
The documentation for this class was generated from the following file: