|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
#include <Delegate.h>

Public Member Functions | |
| SimpleInstructionInjector (bool useRefetchCompensation=true) | |
| void | append (T val) |
| template<class InputIt > | |
| void | append (InputIt first, InputIt last) |
| void | setHelper (unsigned index, std::function< std::list< T >(T)> func) |
| Adds a function with an unique ID to the SimpleInstructionInjector. | |
| bool | appendWithHelper (unsigned helper, T val) |
| void | appendRepetitions (unsigned count) |
| std::function< etiss::int32(bool, uint64_t &, uint64_t, uint8_t *, unsigned, bool &, bool &)> | toFunction () |
| void | swapEndianness () |
| swaps the endianness of all stored buffer values | |
| bool | injectionFinished () |
| bool | logInjectionAddresses () |
| void | logInjectionAddresses (bool val) |
| std::list< uint64_t > & | injectionAddresses () |
Private Attributes | |
| std::list< T > | buffer |
| std::map< unsigned, std::function< std::list< T >(T)> > | genHelpers |
| bool | logInjectionAddresses_ |
| bool | useRefetchCompensation_ |
| std::list< uint64_t > | injectionAddresses_ |
Definition at line 124 of file Delegate.h.
|
inline |
Definition at line 129 of file Delegate.h.
|
inline |
Definition at line 137 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::buffer.
|
inline |
Definition at line 134 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::buffer.
Referenced by etiss::interfaces::SimpleInstructionInjector< T >::appendWithHelper().

|
inline |
Definition at line 165 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::buffer.
|
inline |
Definition at line 152 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::append(), and etiss::interfaces::SimpleInstructionInjector< T >::genHelpers.

|
inline |
Definition at line 261 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::injectionAddresses_.
|
inline |
Definition at line 257 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::buffer.
|
inline |
Definition at line 259 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::logInjectionAddresses_.
|
inline |
Definition at line 260 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::logInjectionAddresses_.
|
inline |
Adds a function with an unique ID to the SimpleInstructionInjector.
| ID | of the added function. |
| Function | pointer of the function to add. |
Definition at line 147 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::genHelpers.
|
inline |
swaps the endianness of all stored buffer values
Definition at line 244 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::buffer.
|
inline |
Definition at line 177 of file Delegate.h.
References etiss::interfaces::SimpleInstructionInjector< T >::buffer, etiss::ERROR, etiss::interfaces::SimpleInstructionInjector< T >::injectionAddresses_, etiss::log(), etiss::interfaces::SimpleInstructionInjector< T >::logInjectionAddresses_, uint64_t, uint8_t, and etiss::interfaces::SimpleInstructionInjector< T >::useRefetchCompensation_.

|
private |
Definition at line 264 of file Delegate.h.
Referenced by etiss::interfaces::SimpleInstructionInjector< T >::append(), etiss::interfaces::SimpleInstructionInjector< T >::append(), etiss::interfaces::SimpleInstructionInjector< T >::appendRepetitions(), etiss::interfaces::SimpleInstructionInjector< T >::injectionFinished(), etiss::interfaces::SimpleInstructionInjector< T >::swapEndianness(), and etiss::interfaces::SimpleInstructionInjector< T >::toFunction().
|
private |
Definition at line 266 of file Delegate.h.
Referenced by etiss::interfaces::SimpleInstructionInjector< T >::appendWithHelper(), and etiss::interfaces::SimpleInstructionInjector< T >::setHelper().
|
private |
Definition at line 270 of file Delegate.h.
Referenced by etiss::interfaces::SimpleInstructionInjector< T >::injectionAddresses(), and etiss::interfaces::SimpleInstructionInjector< T >::toFunction().
|
private |
|
private |
Definition at line 269 of file Delegate.h.
Referenced by etiss::interfaces::SimpleInstructionInjector< T >::toFunction().