1 #ifndef ROSE_BinaryAnalysis_MagicNumber_H
2 #define ROSE_BinaryAnalysis_MagicNumber_H
4 #include <featureTests.h>
5 #ifdef ROSE_ENABLE_BINARY_ANALYSIS
15 class MagicNumberDetails;
19 enum Mechanism { FAST, SLOW, NONE };
22 MagicNumberDetails *details_;
Main namespace for the ROSE library.
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.