|
AsmGrader 0.0.0
|
#include <asm_buffer.hpp>
Public Member Functions | |
| AsmBuffer (Program &prog) | |
| std::size_t | size () const |
| std::string | str () const |
| NativeByteArray< NumBytes > | fill (Byte byte) const |
Public Member Functions inherited from asmgrader::AsmData< NativeByteArray< NumBytes > > | |
| AsmData (Program &prog, std::uintptr_t address) | |
| virtual | ~AsmData ()=default |
| std::uintptr_t | operator& () const |
| std::uintptr_t | get_address () const |
| Result< NativeByteArray< NumBytes > > | get_value () const |
| Get the value currently present in the asm program. | |
| NativeByteArray< NumBytes > | set_value (const U &val) const |
Set the value of type T in the asm program. | |
| NativeByteArray< NumBytes > | zero () const |
Zeros the object of type T residing in the asm program. | |
Additional Inherited Members | |
Protected Member Functions inherited from asmgrader::AsmData< NativeByteArray< NumBytes > > | |
| Result< NativeByteArray< NumBytes > > | get_value_impl () const |
| Program & | get_program () const |
|
explicit |
| NativeByteArray< NumBytes > asmgrader::AsmBuffer< NumBytes >::fill | ( | Byte | byte | ) | const |
| std::size_t asmgrader::AsmBuffer< NumBytes >::size | ( | ) | const |
| std::string asmgrader::AsmBuffer< NumBytes >::str | ( | ) | const |