libclues
Linux C++ Tracing Library
Loading...
Searching...
No Matches
RegisterData.hxx
1#pragma once
2
3// C++
4#include <array>
5
6// cosmos
7#include <cosmos/memory.hxx> // for use in derived classes
8
9
10namespace clues {
11
13
39template <typename REGISTER_T, size_t _NUM_SYSCALL_PARS>
41public: // constants
42
43 static constexpr auto NUM_SYSCALL_PARS = _NUM_SYSCALL_PARS;
44
45public: // types
46
47 using register_t = REGISTER_T;
49 using SystemCallPars = std::array<register_t, NUM_SYSCALL_PARS>;
50};
51
52} // end ns
Base class for ABI specific register data.
std::array< register_t, NUM_SYSCALL_PARS > SystemCallPars
This type is used to return the values of all system call parameter values in order of occurrence.