Skip to main content

staging_x86_64

Function staging_x86_64 

Source
pub fn staging_x86_64(nr: i64) -> Option<&'static [(usize, Stage)]>
Expand description

The memory an x86_64 syscall uses, as (argument index, staging) pairs.

execve, execveat, rt_sigaction and rt_sigprocmask are trapped too but handled by the stub itself, see trapped_x86_64.

§Arguments

  • nr - x86_64 syscall number.

§Returns

The arguments to stage, or None when the syscall carries no memory the supervisor reads or writes.