#include <program.hpp>
◆ Program() [1/2]
asmgrader::Program::Program |
( |
std::filesystem::path | path, |
|
|
std::vector< std::string > | args = {} ) |
|
explicit |
◆ Program() [2/2]
asmgrader::Program::Program |
( |
Program && | other | ) |
|
|
default |
◆ ~Program()
asmgrader::Program::~Program |
( |
| ) |
|
|
default |
◆ alloc_mem()
std::uintptr_t asmgrader::Program::alloc_mem |
( |
std::size_t | amt | ) |
|
◆ call_function() [1/2]
template<typename Func , typename... Args>
Result< typename FunctionTraits< Func >::Ret > asmgrader::Program::call_function |
( |
std::string_view | name, |
|
|
Args &&... | args ) |
Returns the result of the function call, or nullopt if the symbol name was not found or some other error occured.
◆ call_function() [2/2]
template<typename Func , typename... Args>
Result< typename FunctionTraits< Func >::Ret > asmgrader::Program::call_function |
( |
std::uintptr_t | addr, |
|
|
Args &&... | args ) |
◆ check_is_elf()
Expected< void, std::string > asmgrader::Program::check_is_elf |
( |
const std::filesystem::path & | path | ) |
|
|
static |
◆ get_args()
const std::vector< std::string > & asmgrader::Program::get_args |
( |
| ) |
const |
◆ get_path()
const std::filesystem::path & asmgrader::Program::get_path |
( |
| ) |
const |
◆ get_subproc() [1/2]
◆ get_subproc() [2/2]
◆ get_symtab() [1/2]
◆ get_symtab() [2/2]
const SymbolTable & asmgrader::Program::get_symtab |
( |
| ) |
const |
◆ operator=()
◆ run()
The documentation for this class was generated from the following files: