libclues
Linux C++ Tracing Library
Loading...
Searching...
No Matches
SystemCallInfo.hxx
1
#pragma once
2
3
// cosmos
4
#include <cosmos/proc/ptrace.hxx>
5
6
// clues
7
#include <clues/sysnrs/types.hxx>
8
#include <clues/types.hxx>
9
10
namespace
clues
{
11
13
20
class
CLUES_API SystemCallInfo :
21
public
cosmos::ptrace::SyscallInfo {
22
public
:
// functions
23
24
SystemCallInfo();
25
26
auto
sysNr()
const
{
27
return
m_generic;
28
}
29
30
AnySystemCallNr nativeSysNr()
const
{
31
return
m_native;
32
}
33
35
39
void
updateSysNr
();
40
41
ABI
abi()
const
{
42
return
m_abi;
43
}
44
45
protected
:
// data
46
47
SystemCallNr
m_generic;
48
AnySystemCallNr m_native;
49
ABI
m_abi = ABI::UNKNOWN;
50
};
51
52
}
// end ns
clues::SystemCallInfo::updateSysNr
void updateSysNr()
Update m_generic and m_native based on the raw system call nr.
Definition
SystemCallInfo.cxx:14
clues
Definition
AutoAttachedTracee.cxx:12
clues::ABI
ABI
System Call ABI.
Definition
types.hxx:62
clues::SystemCallNr
SystemCallNr
Abstract system call number usable across architectures and ABIs.
Definition
generic.hxx:29
include
SystemCallInfo.hxx
Generated by
1.13.2