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>
9namespace BinaryAnalysis {
14class MagicNumberDetails;
28 MagicNumberDetails *details_;
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.
void maxBytesToCheck(size_t n)
Property: Max number of bytes to check at once.
Mechanism
How to search for magic numbers.
Mechanism mechanism() const
Property: The mechanism being used to find magic numbers.
MagicNumber()
Create a magic number analyzer.