1 #ifndef ROSE_BinaryAnalysis_MagicNumber_H
2 #define ROSE_BinaryAnalysis_MagicNumber_H
3 #include <featureTests.h>
4 #ifdef ROSE_ENABLE_BINARY_ANALYSIS
6 #include <Rose/BinaryAnalysis/MemoryMap.h>
9 namespace BinaryAnalysis {
14 class MagicNumberDetails;
28 MagicNumberDetails *details_;
Main namespace for the ROSE library.
Mechanism
How to search for magic numbers.
void maxBytesToCheck(size_t n)
Property: Max number of bytes to check at once.
MagicNumber()
Create a magic number analyzer.
std::string identify(const MemoryMap::Ptr &, rose_addr_t va) const
Identify the magic number at the specified address.
size_t maxBytesToCheck() const
Property: Max number of bytes to check at once.
Mechanism mechanism() const
Property: The mechanism being used to find magic numbers.