panda-re 0.49.0

The official library for interfacing with PANDA (Platform for Architecture-Neutral Dynamic Analysis)
Documentation
pub(crate) use crate::abi::syscall::*;
use crate::prelude::*;

#[cfg(feature = "x86_64")]
pub(crate) const VFORK: target_ulong = 58;

#[cfg(feature = "i386")]
pub(crate) const VFORK: target_ulong = 190;

#[cfg(feature = "arm")]
pub(crate) const VFORK: target_ulong = 190;

#[cfg(feature = "aarch64")]
pub(crate) const VFORK: target_ulong = 220;

// TODO: mips needs to be changed to VFORK
#[cfg(any(feature = "mips64", feature = "mips64el"))]
pub(crate) const VFORK: target_ulong = 4002;

#[cfg(any(feature = "mips", feature = "mipsel"))]
pub(crate) const VFORK: target_ulong = 4120; // n32

pub(crate) const FORK_IS_CLONE: bool = cfg!(any(
    feature = "aarch64",
    feature = "mips",
    feature = "mipsel"
));