mecca ~master (2021-09-12T14:37:04Z)
Dub
Repo
hookSyscall
mecca
platform
os
linux
Undocumented in source.
version(linux && X86_64)
mixin template
hookSyscall (
alias
F
Syscall
nr
alias
traceFunc
SyscallTracePoint
tracePoint
=
SyscallTracePoint
.
PRE_SYSCALL
string
file
=
__FILE_FULL_PATH__
size_t
line
= __LINE__
string
_module_
= __MODULE__
) {
import
std
.
traits
:
Parameters
,
ReturnType
;
;
import
mecca
.
platform
.
linux
:
syscall
;
;
enum
name
;
import
std
.
traits
:
fullyQualifiedName
;
;
enum
hookFunctionScope
;
}
Members
Manifest constants
hookFunctionScope
enum
hookFunctionScope
;
Undocumented in source.
name
enum
name
;
Undocumented in source.
Meta
Source
See Implementation
mecca
platform
os
linux
modules
time
ucontext
aliases
CloneFunction
ThreadId
enums
CSIGNAL
MNT_FORCE
MountOptions
OSSignal
Syscall
SyscallTracePoint
functions
chroot
clone
currentThreadId
gettid
mount
mremap
syscall
syscall_int
tgkill
umount
umount2
unshare
manifest constants
F_DUPFD_CLOEXEC
NUM_SIGS
O_CLOEXEC
mixin templates
InterceptCall
hookSyscall
static variables
BLOCKED_SIGNALS