maat::callother namespace

Namespace regrouping classes and handlers to deal with the pcode CALLOTHER instruction.

Contents

❱   Classes

class HandlerMap
A mapping between CALLOTHER occurences and their handler.

❱   Enums

enum class Id { X86_RDTSC, X86_CPUID, X64_SYSCALL, X86_PMINUB, X86_INT, X86_LOCK, UNSUPPORTED }
Unique identifiers for CALLOTHER occurences in the IR.

❱   Typedefs

using handler_t = std::add_pointer<void(MaatEngine&, const ir::Inst&, ir::ProcessedInst&)>::type
A handler that executes a CALLOTHER occurence properly.

❱   Functions

auto mnemonic_to_id(const std::string& mnemonic, Arch::Type arch) -> Id
Return the Id corresponding to the occurence of CALLOTHER in assembly instruction 'mnemonic'.

auto default_handler_map() -> HandlerMap
Return the default handler map for CALLOTHER occurences.