23#include <unordered_map>
90 const std::vector<SystemCallIndex>& to_normalized)
const;
92 std::vector<SystemCallIndex> to_normalized_nt_;
93 std::vector<SystemCallIndex> to_normalized_win32k_;
95 std::unordered_map<SystemCallIndex, uint32_t> to_native_;
Class for converting between native system call numbers and our SystemCall values.
Definition SystemCallConverter.hh:36
SystemCallConverter(const WindowsGuest &guest)
Construct a new System Call Table object.
~SystemCallConverter()
Destroy the instance.
uint32_t count() const
Get the number of system calls detected in the guest.
static constexpr uint64_t SystemCallIndexMask
A mask used for normalizing system calls.
Definition SystemCallConverter.hh:86
uint32_t native(SystemCallIndex index) const
Convert a normalized system call into the native value.
SystemCallIndex normalize(uint32_t index) const
Normalize a system call.
A representation of a Windows Guest OS.
Definition WindowsGuest.hh:33
SystemCallIndex
This is our "normalized" list of Windows system calls.
Definition SystemCallIndex.hh:30
Core IntroVirt classes.
Definition Cr0.hh:20