|
ROSE 0.11.145.354
|
Definition at line 16 of file MagicNumber.h.
Public Types | |
| enum | Mechanism { FAST , SLOW , NONE } |
| How to search for magic numbers. More... | |
Public Member Functions | |
| MagicNumber () | |
| Create a magic number analyzer. | |
| MagicNumber (const MagicNumber &)=delete | |
| MagicNumber & | operator= (const MagicNumber &)=delete |
| Mechanism | mechanism () const |
| Property: The mechanism being used to find magic numbers. | |
| std::string | identify (const MemoryMap::Ptr &, Address va) const |
| Identify the magic number at the specified address. | |
| size_t | maxBytesToCheck () const |
| Property: Max number of bytes to check at once. | |
| void | maxBytesToCheck (size_t n) |
| Property: Max number of bytes to check at once. | |
How to search for magic numbers.
See MagicNumber::mechanism property.
Definition at line 21 of file MagicNumber.h.
|
inline |
Create a magic number analyzer.
Definition at line 34 of file MagicNumber.h.
|
inline |
Property: The mechanism being used to find magic numbers.
Multiple machanisms are available:
FAST.SLOW.std::runtime_error.This property is read-only.
Definition at line 56 of file MagicNumber.h.
|
inline |
Property: Max number of bytes to check at once.
This property is the maximum number of bytes that should be passed at once to the magic-number checking funtions. The library imposes a hard-coded limit, but the user may set this to a lower value to gain speed. Trying to set this to a higher value than the hard-coded limit will result in using the hard-coded limit.
Definition at line 65 of file MagicNumber.h.
|
inline |
Property: Max number of bytes to check at once.
This property is the maximum number of bytes that should be passed at once to the magic-number checking funtions. The library imposes a hard-coded limit, but the user may set this to a lower value to gain speed. Trying to set this to a higher value than the hard-coded limit will result in using the hard-coded limit.
Definition at line 66 of file MagicNumber.h.