#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
storage: Storage,
}
impl<Storage> __BindgenBitfieldUnit<Storage> {
#[inline]
pub const fn new(storage: Storage) -> Self {
Self { storage }
}
}
impl<Storage> __BindgenBitfieldUnit<Storage>
where
Storage: AsRef<[u8]> + AsMut<[u8]>,
{
#[inline]
pub fn get_bit(&self, index: usize) -> bool {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = self.storage.as_ref()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
byte & mask == mask
}
#[inline]
pub fn set_bit(&mut self, index: usize, val: bool) {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = &mut self.storage.as_mut()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
if val {
*byte |= mask;
} else {
*byte &= !mask;
}
}
#[inline]
pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
let mut val = 0;
for i in 0..(bit_width as usize) {
if self.get_bit(i + bit_offset) {
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
val |= 1 << index;
}
}
val
}
#[inline]
pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
for i in 0..(bit_width as usize) {
let mask = 1 << i;
let val_bit_is_set = val & mask == mask;
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
self.set_bit(index + bit_offset, val_bit_is_set);
}
}
}
#[repr(C)]
#[derive(Default)]
pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>, [T; 0]);
impl<T> __IncompleteArrayField<T> {
#[inline]
pub const fn new() -> Self {
__IncompleteArrayField(::std::marker::PhantomData, [])
}
#[inline]
pub fn as_ptr(&self) -> *const T {
self as *const _ as *const T
}
#[inline]
pub fn as_mut_ptr(&mut self) -> *mut T {
self as *mut _ as *mut T
}
#[inline]
pub unsafe fn as_slice(&self, len: usize) -> &[T] {
::std::slice::from_raw_parts(self.as_ptr(), len)
}
#[inline]
pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
}
}
impl<T> ::std::fmt::Debug for __IncompleteArrayField<T> {
fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
fmt.write_str("__IncompleteArrayField")
}
}
#[repr(C)]
pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
impl<T> __BindgenUnionField<T> {
#[inline]
pub const fn new() -> Self {
__BindgenUnionField(::std::marker::PhantomData)
}
#[inline]
pub unsafe fn as_ref(&self) -> &T {
::std::mem::transmute(self)
}
#[inline]
pub unsafe fn as_mut(&mut self) -> &mut T {
::std::mem::transmute(self)
}
}
impl<T> ::std::default::Default for __BindgenUnionField<T> {
#[inline]
fn default() -> Self {
Self::new()
}
}
impl<T> ::std::clone::Clone for __BindgenUnionField<T> {
#[inline]
fn clone(&self) -> Self {
Self::new()
}
}
impl<T> ::std::marker::Copy for __BindgenUnionField<T> {}
impl<T> ::std::fmt::Debug for __BindgenUnionField<T> {
fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
fmt.write_str("__BindgenUnionField")
}
}
impl<T> ::std::hash::Hash for __BindgenUnionField<T> {
fn hash<H: ::std::hash::Hasher>(&self, _state: &mut H) {}
}
impl<T> ::std::cmp::PartialEq for __BindgenUnionField<T> {
fn eq(&self, _other: &__BindgenUnionField<T>) -> bool {
true
}
}
impl<T> ::std::cmp::Eq for __BindgenUnionField<T> {}
pub const FMT_REGWORD: &'static [u8; 2usize] = b"l\0";
pub const VEX_HOST_WORDSIZE: u32 = 8;
pub const MIPS_CP0_STATUS_FR: u32 = 67108864;
pub const MIPS_CONF5_FRE: u32 = 256;
pub const OFFSET_x86_EAX: u32 = 8;
pub const OFFSET_x86_EBX: u32 = 20;
pub const OFFSET_x86_ECX: u32 = 12;
pub const OFFSET_x86_EDX: u32 = 16;
pub const OFFSET_x86_ESI: u32 = 32;
pub const OFFSET_x86_EDI: u32 = 36;
pub const OFFSET_x86_EBP: u32 = 28;
pub const OFFSET_x86_ESP: u32 = 24;
pub const OFFSET_x86_EIP: u32 = 68;
pub const OFFSET_x86_CS: u32 = 288;
pub const OFFSET_x86_DS: u32 = 290;
pub const OFFSET_x86_ES: u32 = 292;
pub const OFFSET_x86_FS: u32 = 294;
pub const OFFSET_x86_GS: u32 = 296;
pub const OFFSET_x86_SS: u32 = 298;
pub const OFFSET_amd64_RAX: u32 = 16;
pub const OFFSET_amd64_RBX: u32 = 40;
pub const OFFSET_amd64_RCX: u32 = 24;
pub const OFFSET_amd64_RDX: u32 = 32;
pub const OFFSET_amd64_RSI: u32 = 64;
pub const OFFSET_amd64_RDI: u32 = 72;
pub const OFFSET_amd64_RSP: u32 = 48;
pub const OFFSET_amd64_RBP: u32 = 56;
pub const OFFSET_amd64_R8: u32 = 80;
pub const OFFSET_amd64_R9: u32 = 88;
pub const OFFSET_amd64_R10: u32 = 96;
pub const OFFSET_amd64_R11: u32 = 104;
pub const OFFSET_amd64_R12: u32 = 112;
pub const OFFSET_amd64_R13: u32 = 120;
pub const OFFSET_amd64_R14: u32 = 128;
pub const OFFSET_amd64_R15: u32 = 136;
pub const OFFSET_amd64_RIP: u32 = 184;
pub const OFFSET_ppc32_GPR0: u32 = 16;
pub const OFFSET_ppc32_GPR1: u32 = 20;
pub const OFFSET_ppc32_GPR2: u32 = 24;
pub const OFFSET_ppc32_GPR3: u32 = 28;
pub const OFFSET_ppc32_GPR4: u32 = 32;
pub const OFFSET_ppc32_GPR5: u32 = 36;
pub const OFFSET_ppc32_GPR6: u32 = 40;
pub const OFFSET_ppc32_GPR7: u32 = 44;
pub const OFFSET_ppc32_GPR8: u32 = 48;
pub const OFFSET_ppc32_GPR9: u32 = 52;
pub const OFFSET_ppc32_GPR10: u32 = 56;
pub const OFFSET_ppc32_CIA: u32 = 1168;
pub const OFFSET_ppc32_CR0_0: u32 = 1187;
pub const OFFSET_ppc64_GPR0: u32 = 16;
pub const OFFSET_ppc64_GPR1: u32 = 24;
pub const OFFSET_ppc64_GPR2: u32 = 32;
pub const OFFSET_ppc64_GPR3: u32 = 40;
pub const OFFSET_ppc64_GPR4: u32 = 48;
pub const OFFSET_ppc64_GPR5: u32 = 56;
pub const OFFSET_ppc64_GPR6: u32 = 64;
pub const OFFSET_ppc64_GPR7: u32 = 72;
pub const OFFSET_ppc64_GPR8: u32 = 80;
pub const OFFSET_ppc64_GPR9: u32 = 88;
pub const OFFSET_ppc64_GPR10: u32 = 96;
pub const OFFSET_ppc64_CIA: u32 = 1296;
pub const OFFSET_ppc64_CR0_0: u32 = 1327;
pub const OFFSET_arm_R0: u32 = 8;
pub const OFFSET_arm_R1: u32 = 12;
pub const OFFSET_arm_R2: u32 = 16;
pub const OFFSET_arm_R3: u32 = 20;
pub const OFFSET_arm_R4: u32 = 24;
pub const OFFSET_arm_R5: u32 = 28;
pub const OFFSET_arm_R7: u32 = 36;
pub const OFFSET_arm_R13: u32 = 60;
pub const OFFSET_arm_R14: u32 = 64;
pub const OFFSET_arm_R15T: u32 = 68;
pub const OFFSET_arm64_X0: u32 = 16;
pub const OFFSET_arm64_X1: u32 = 24;
pub const OFFSET_arm64_X2: u32 = 32;
pub const OFFSET_arm64_X3: u32 = 40;
pub const OFFSET_arm64_X4: u32 = 48;
pub const OFFSET_arm64_X5: u32 = 56;
pub const OFFSET_arm64_X6: u32 = 64;
pub const OFFSET_arm64_X7: u32 = 72;
pub const OFFSET_arm64_X8: u32 = 80;
pub const OFFSET_arm64_XSP: u32 = 264;
pub const OFFSET_arm64_PC: u32 = 272;
pub const OFFSET_s390x_r2: u32 = 592;
pub const OFFSET_s390x_r3: u32 = 600;
pub const OFFSET_s390x_r4: u32 = 608;
pub const OFFSET_s390x_r5: u32 = 616;
pub const OFFSET_s390x_r6: u32 = 624;
pub const OFFSET_s390x_r7: u32 = 632;
pub const OFFSET_s390x_r15: u32 = 696;
pub const OFFSET_s390x_IA: u32 = 720;
pub const OFFSET_s390x_SYSNO: u32 = 728;
pub const OFFSET_s390x_IP_AT_SYSCALL: u32 = 792;
pub const OFFSET_s390x_fpc: u32 = 712;
pub const OFFSET_s390x_CC_OP: u32 = 736;
pub const OFFSET_s390x_CC_DEP1: u32 = 744;
pub const OFFSET_s390x_CC_DEP2: u32 = 752;
pub const OFFSET_s390x_CC_NDEP: u32 = 760;
pub const OFFSET_mips32_r0: u32 = 8;
pub const OFFSET_mips32_r1: u32 = 12;
pub const OFFSET_mips32_r2: u32 = 16;
pub const OFFSET_mips32_r3: u32 = 20;
pub const OFFSET_mips32_r4: u32 = 24;
pub const OFFSET_mips32_r5: u32 = 28;
pub const OFFSET_mips32_r6: u32 = 32;
pub const OFFSET_mips32_r7: u32 = 36;
pub const OFFSET_mips32_r8: u32 = 40;
pub const OFFSET_mips32_r9: u32 = 44;
pub const OFFSET_mips32_r10: u32 = 48;
pub const OFFSET_mips32_r11: u32 = 52;
pub const OFFSET_mips32_r12: u32 = 56;
pub const OFFSET_mips32_r13: u32 = 60;
pub const OFFSET_mips32_r14: u32 = 64;
pub const OFFSET_mips32_r15: u32 = 68;
pub const OFFSET_mips32_r17: u32 = 76;
pub const OFFSET_mips32_r18: u32 = 80;
pub const OFFSET_mips32_r19: u32 = 84;
pub const OFFSET_mips32_r20: u32 = 88;
pub const OFFSET_mips32_r21: u32 = 92;
pub const OFFSET_mips32_r22: u32 = 96;
pub const OFFSET_mips32_r23: u32 = 100;
pub const OFFSET_mips32_r24: u32 = 104;
pub const OFFSET_mips32_r25: u32 = 108;
pub const OFFSET_mips32_r26: u32 = 112;
pub const OFFSET_mips32_r27: u32 = 116;
pub const OFFSET_mips32_r28: u32 = 120;
pub const OFFSET_mips32_r29: u32 = 124;
pub const OFFSET_mips32_r30: u32 = 128;
pub const OFFSET_mips32_r31: u32 = 132;
pub const OFFSET_mips32_PC: u32 = 136;
pub const OFFSET_mips32_HI: u32 = 140;
pub const OFFSET_mips32_LO: u32 = 144;
pub const OFFSET_mips64_r0: u32 = 16;
pub const OFFSET_mips64_r1: u32 = 24;
pub const OFFSET_mips64_r2: u32 = 32;
pub const OFFSET_mips64_r3: u32 = 40;
pub const OFFSET_mips64_r4: u32 = 48;
pub const OFFSET_mips64_r5: u32 = 56;
pub const OFFSET_mips64_r6: u32 = 64;
pub const OFFSET_mips64_r7: u32 = 72;
pub const OFFSET_mips64_r8: u32 = 80;
pub const OFFSET_mips64_r9: u32 = 88;
pub const OFFSET_mips64_r10: u32 = 96;
pub const OFFSET_mips64_r11: u32 = 104;
pub const OFFSET_mips64_r12: u32 = 112;
pub const OFFSET_mips64_r13: u32 = 120;
pub const OFFSET_mips64_r14: u32 = 128;
pub const OFFSET_mips64_r15: u32 = 136;
pub const OFFSET_mips64_r17: u32 = 152;
pub const OFFSET_mips64_r18: u32 = 160;
pub const OFFSET_mips64_r19: u32 = 168;
pub const OFFSET_mips64_r20: u32 = 176;
pub const OFFSET_mips64_r21: u32 = 184;
pub const OFFSET_mips64_r22: u32 = 192;
pub const OFFSET_mips64_r23: u32 = 200;
pub const OFFSET_mips64_r24: u32 = 208;
pub const OFFSET_mips64_r25: u32 = 216;
pub const OFFSET_mips64_r26: u32 = 224;
pub const OFFSET_mips64_r27: u32 = 232;
pub const OFFSET_mips64_r28: u32 = 240;
pub const OFFSET_mips64_r29: u32 = 248;
pub const OFFSET_mips64_r30: u32 = 256;
pub const OFFSET_mips64_r31: u32 = 264;
pub const OFFSET_mips64_PC: u32 = 272;
pub const OFFSET_mips64_HI: u32 = 280;
pub const OFFSET_mips64_LO: u32 = 288;
pub const VEX_GUEST_PPC32_REDIR_STACK_SIZE: u32 = 32;
pub const VEX_GUEST_PPC64_REDIR_STACK_SIZE: u32 = 32;
pub const VEX_GUEST_X86_LDT_NENT: u32 = 8192;
pub const VEX_GUEST_X86_GDT_NENT: u32 = 8192;
pub const VEX_N_FXSTATE: u32 = 7;
pub const VEX_HWCAPS_X86_MMXEXT: u32 = 2;
pub const VEX_HWCAPS_X86_SSE1: u32 = 4;
pub const VEX_HWCAPS_X86_SSE2: u32 = 8;
pub const VEX_HWCAPS_X86_SSE3: u32 = 16;
pub const VEX_HWCAPS_X86_LZCNT: u32 = 32;
pub const VEX_HWCAPS_AMD64_SSE3: u32 = 32;
pub const VEX_HWCAPS_AMD64_SSSE3: u32 = 4096;
pub const VEX_HWCAPS_AMD64_CX16: u32 = 64;
pub const VEX_HWCAPS_AMD64_LZCNT: u32 = 128;
pub const VEX_HWCAPS_AMD64_AVX: u32 = 256;
pub const VEX_HWCAPS_AMD64_RDTSCP: u32 = 512;
pub const VEX_HWCAPS_AMD64_BMI: u32 = 1024;
pub const VEX_HWCAPS_AMD64_AVX2: u32 = 2048;
pub const VEX_HWCAPS_AMD64_RDRAND: u32 = 8192;
pub const VEX_HWCAPS_AMD64_F16C: u32 = 16384;
pub const VEX_HWCAPS_AMD64_RDSEED: u32 = 32768;
pub const VEX_HWCAPS_PPC32_F: u32 = 256;
pub const VEX_HWCAPS_PPC32_V: u32 = 512;
pub const VEX_HWCAPS_PPC32_FX: u32 = 1024;
pub const VEX_HWCAPS_PPC32_GX: u32 = 2048;
pub const VEX_HWCAPS_PPC32_VX: u32 = 4096;
pub const VEX_HWCAPS_PPC32_DFP: u32 = 131072;
pub const VEX_HWCAPS_PPC32_ISA2_07: u32 = 524288;
pub const VEX_HWCAPS_PPC32_ISA3_0: u32 = 2097152;
pub const VEX_HWCAPS_PPC32_ISA3_1: u32 = 4194304;
pub const VEX_HWCAPS_PPC64_V: u32 = 8192;
pub const VEX_HWCAPS_PPC64_FX: u32 = 16384;
pub const VEX_HWCAPS_PPC64_GX: u32 = 32768;
pub const VEX_HWCAPS_PPC64_VX: u32 = 65536;
pub const VEX_HWCAPS_PPC64_DFP: u32 = 262144;
pub const VEX_HWCAPS_PPC64_ISA2_07: u32 = 1048576;
pub const VEX_HWCAPS_PPC64_ISA3_0: u32 = 4194304;
pub const VEX_HWCAPS_PPC64_ISA3_1: u32 = 8388608;
pub const VEX_S390X_MODEL_Z900: u32 = 0;
pub const VEX_S390X_MODEL_Z800: u32 = 1;
pub const VEX_S390X_MODEL_Z990: u32 = 2;
pub const VEX_S390X_MODEL_Z890: u32 = 3;
pub const VEX_S390X_MODEL_Z9_EC: u32 = 4;
pub const VEX_S390X_MODEL_Z9_BC: u32 = 5;
pub const VEX_S390X_MODEL_Z10_EC: u32 = 6;
pub const VEX_S390X_MODEL_Z10_BC: u32 = 7;
pub const VEX_S390X_MODEL_Z196: u32 = 8;
pub const VEX_S390X_MODEL_Z114: u32 = 9;
pub const VEX_S390X_MODEL_ZEC12: u32 = 10;
pub const VEX_S390X_MODEL_ZBC12: u32 = 11;
pub const VEX_S390X_MODEL_Z13: u32 = 12;
pub const VEX_S390X_MODEL_Z13S: u32 = 13;
pub const VEX_S390X_MODEL_Z14: u32 = 14;
pub const VEX_S390X_MODEL_Z14_ZR1: u32 = 15;
pub const VEX_S390X_MODEL_Z15: u32 = 16;
pub const VEX_S390X_MODEL_UNKNOWN: u32 = 17;
pub const VEX_S390X_MODEL_MASK: u32 = 63;
pub const VEX_HWCAPS_S390X_LDISP: u32 = 64;
pub const VEX_HWCAPS_S390X_EIMM: u32 = 128;
pub const VEX_HWCAPS_S390X_GIE: u32 = 256;
pub const VEX_HWCAPS_S390X_DFP: u32 = 512;
pub const VEX_HWCAPS_S390X_FGX: u32 = 1024;
pub const VEX_HWCAPS_S390X_ETF2: u32 = 2048;
pub const VEX_HWCAPS_S390X_STFLE: u32 = 4096;
pub const VEX_HWCAPS_S390X_ETF3: u32 = 8192;
pub const VEX_HWCAPS_S390X_STCKF: u32 = 16384;
pub const VEX_HWCAPS_S390X_FPEXT: u32 = 32768;
pub const VEX_HWCAPS_S390X_LSC: u32 = 65536;
pub const VEX_HWCAPS_S390X_PFPO: u32 = 131072;
pub const VEX_HWCAPS_S390X_VX: u32 = 262144;
pub const VEX_HWCAPS_S390X_MSA5: u32 = 524288;
pub const VEX_HWCAPS_S390X_MI2: u32 = 1048576;
pub const VEX_HWCAPS_S390X_LSC2: u32 = 2097152;
pub const VEX_HWCAPS_S390X_VXE: u32 = 4194304;
pub const VEX_HWCAPS_S390X_ALL: u32 = 8388544;
pub const VEX_HWCAPS_ARM_VFP: u32 = 64;
pub const VEX_HWCAPS_ARM_VFP2: u32 = 128;
pub const VEX_HWCAPS_ARM_VFP3: u32 = 256;
pub const VEX_HWCAPS_ARM_NEON: u32 = 65536;
pub const VEX_HWCAPS_ARM64_FHM: u32 = 16;
pub const VEX_HWCAPS_ARM64_DPBCVAP: u32 = 32;
pub const VEX_HWCAPS_ARM64_DPBCVADP: u32 = 64;
pub const VEX_HWCAPS_ARM64_SM3: u32 = 128;
pub const VEX_HWCAPS_ARM64_SM4: u32 = 256;
pub const VEX_HWCAPS_ARM64_SHA3: u32 = 512;
pub const VEX_HWCAPS_ARM64_RDM: u32 = 1024;
pub const VEX_HWCAPS_ARM64_ATOMICS: u32 = 2048;
pub const VEX_HWCAPS_ARM64_I8MM: u32 = 4096;
pub const VEX_HWCAPS_ARM64_BF16: u32 = 8192;
pub const VEX_HWCAPS_ARM64_FP16: u32 = 16384;
pub const VEX_HWCAPS_ARM64_VFP16: u32 = 32768;
pub const VEX_PRID_COMP_LEGACY: u32 = 0;
pub const VEX_PRID_COMP_MIPS: u32 = 65536;
pub const VEX_PRID_COMP_BROADCOM: u32 = 131072;
pub const VEX_PRID_COMP_NETLOGIC: u32 = 786432;
pub const VEX_PRID_COMP_CAVIUM: u32 = 851968;
pub const VEX_PRID_COMP_INGENIC_E1: u32 = 14745600;
pub const VEX_PRID_IMP_LOONGSON_64: u32 = 25344;
pub const VEX_PRID_IMP_34K: u32 = 38144;
pub const VEX_PRID_IMP_74K: u32 = 38656;
pub const VEX_PRID_IMP_P5600: u32 = 43008;
pub const VEX_MIPS_CPU_ISA_M32R1: u32 = 16777216;
pub const VEX_MIPS_CPU_ISA_M32R2: u32 = 33554432;
pub const VEX_MIPS_CPU_ISA_M64R1: u32 = 67108864;
pub const VEX_MIPS_CPU_ISA_M64R2: u32 = 134217728;
pub const VEX_MIPS_CPU_ISA_M32R6: u32 = 268435456;
pub const VEX_MIPS_CPU_ISA_M64R6: u32 = 536870912;
pub const VEX_MIPS_HOST_FR: u32 = 1073741824;
pub const VEXGLO_N_ALWAYSDEFD: u32 = 24;
pub const LibVEX_N_SPILL_BYTES: u32 = 4096;
pub const LibVEX_GUEST_STATE_ALIGN: u32 = 16;
pub const NO_ROUNDING_MODE: i32 = -1;
pub const GDB_PATH: &'static [u8; 36usize] = b"/no/gdb/was/found/at/configure/time\0";
pub const GLIBC_MANDATORY_INDEX_AND_STRLEN_REDIRECT: u32 = 1;
pub const GLIBC_MANDATORY_STRLEN_REDIRECT: u32 = 1;
pub const HAVE_ASM_UNISTD_H: u32 = 1;
pub const HAVE_AS_AMD64_FXSAVE64: u32 = 1;
pub const HAVE_BUILTIN_ATOMIC: u32 = 1;
pub const HAVE_BUILTIN_ATOMIC_CXX: u32 = 1;
pub const HAVE_BUILTIN_CLZ: u32 = 1;
pub const HAVE_BUILTIN_CTZ: u32 = 1;
pub const HAVE_BUILTIN_POPCOUT: u32 = 1;
pub const HAVE_CLOCK_GETTIME: u32 = 1;
pub const HAVE_CLOCK_MONOTONIC: u32 = 1;
pub const HAVE_COPY_FILE_RANGE: u32 = 1;
pub const HAVE_DLINFO_RTLD_DI_TLS_MODID: u32 = 1;
pub const HAVE_ELF32_CHDR: u32 = 1;
pub const HAVE_ELF64_CHDR: u32 = 1;
pub const HAVE_ENDIAN_H: u32 = 1;
pub const HAVE_EPOLL_CREATE: u32 = 1;
pub const HAVE_EPOLL_PWAIT: u32 = 1;
pub const HAVE_EVENTFD: u32 = 1;
pub const HAVE_EVENTFD_READ: u32 = 1;
pub const HAVE_GETPAGESIZE: u32 = 1;
pub const HAVE_INTTYPES_H: u32 = 1;
pub const HAVE_KLOGCTL: u32 = 1;
pub const HAVE_LIBPTHREAD: u32 = 1;
pub const HAVE_LIBRT: u32 = 1;
pub const HAVE_MALLINFO: u32 = 1;
pub const HAVE_MEMCHR: u32 = 1;
pub const HAVE_MEMORY_H: u32 = 1;
pub const HAVE_MEMSET: u32 = 1;
pub const HAVE_MKDIR: u32 = 1;
pub const HAVE_MMAP: u32 = 1;
pub const HAVE_MQUEUE_H: u32 = 1;
pub const HAVE_MREMAP: u32 = 1;
pub const HAVE_PPOLL: u32 = 1;
pub const HAVE_PREADV: u32 = 1;
pub const HAVE_PREADV2: u32 = 1;
pub const HAVE_PROCESS_VM_READV: u32 = 1;
pub const HAVE_PROCESS_VM_WRITEV: u32 = 1;
pub const HAVE_PTHREAD_BARRIER_INIT: u32 = 1;
pub const HAVE_PTHREAD_CONDATTR_SETCLOCK: u32 = 1;
pub const HAVE_PTHREAD_MUTEX_ADAPTIVE_NP: u32 = 1;
pub const HAVE_PTHREAD_MUTEX_ERRORCHECK_NP: u32 = 1;
pub const HAVE_PTHREAD_MUTEX_RECURSIVE_NP: u32 = 1;
pub const HAVE_PTHREAD_MUTEX_TIMEDLOCK: u32 = 1;
pub const HAVE_PTHREAD_MUTEX_T__DATA__KIND: u32 = 1;
pub const HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: u32 = 1;
pub const HAVE_PTHREAD_RWLOCK_T: u32 = 1;
pub const HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK: u32 = 1;
pub const HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK: u32 = 1;
pub const HAVE_PTHREAD_SETNAME_NP: u32 = 1;
pub const HAVE_PTHREAD_SPIN_LOCK: u32 = 1;
pub const HAVE_PTHREAD_YIELD: u32 = 1;
pub const HAVE_PTRACE_GETREGS: u32 = 1;
pub const HAVE_PWRITEV: u32 = 1;
pub const HAVE_PWRITEV2: u32 = 1;
pub const HAVE_READLINKAT: u32 = 1;
pub const HAVE_SEMTIMEDOP: u32 = 1;
pub const HAVE_SHARED_POINTER_ANNOTATION: u32 = 1;
pub const HAVE_SIGNALFD: u32 = 1;
pub const HAVE_SIGWAITINFO: u32 = 1;
pub const HAVE_STDINT_H: u32 = 1;
pub const HAVE_STDLIB_H: u32 = 1;
pub const HAVE_STRCHR: u32 = 1;
pub const HAVE_STRDUP: u32 = 1;
pub const HAVE_STRINGS_H: u32 = 1;
pub const HAVE_STRING_H: u32 = 1;
pub const HAVE_STRPBRK: u32 = 1;
pub const HAVE_STRRCHR: u32 = 1;
pub const HAVE_STRSTR: u32 = 1;
pub const HAVE_SYSCALL: u32 = 1;
pub const HAVE_SYS_EPOLL_H: u32 = 1;
pub const HAVE_SYS_EVENTFD_H: u32 = 1;
pub const HAVE_SYS_KLOG_H: u32 = 1;
pub const HAVE_SYS_PARAM_H: u32 = 1;
pub const HAVE_SYS_POLL_H: u32 = 1;
pub const HAVE_SYS_PRCTL_H: u32 = 1;
pub const HAVE_SYS_SIGNALFD_H: u32 = 1;
pub const HAVE_SYS_SIGNAL_H: u32 = 1;
pub const HAVE_SYS_STAT_H: u32 = 1;
pub const HAVE_SYS_SYSCALL_H: u32 = 1;
pub const HAVE_SYS_TIME_H: u32 = 1;
pub const HAVE_SYS_TYPES_H: u32 = 1;
pub const HAVE_SYS_USER_REGS: u32 = 1;
pub const HAVE_TLS: u32 = 1;
pub const HAVE_UNISTD_H: u32 = 1;
pub const HAVE_USABLE_LINUX_FUTEX_H: u32 = 1;
pub const HAVE_UTIMENSAT: u32 = 1;
pub const PACKAGE: &'static [u8; 9usize] = b"valgrind\0";
pub const PACKAGE_BUGREPORT: &'static [u8; 37usize] = b"valgrind-users@lists.sourceforge.net\0";
pub const PACKAGE_NAME: &'static [u8; 9usize] = b"Valgrind\0";
pub const PACKAGE_STRING: &'static [u8; 20usize] = b"Valgrind 3.17.0.GIT\0";
pub const PACKAGE_TARNAME: &'static [u8; 9usize] = b"valgrind\0";
pub const PACKAGE_URL: &'static [u8; 1usize] = b"\0";
pub const PACKAGE_VERSION: &'static [u8; 11usize] = b"3.17.0.GIT\0";
pub const STDC_HEADERS: u32 = 1;
pub const TIME_WITH_SYS_TIME: u32 = 1;
pub const VERSION: &'static [u8; 11usize] = b"3.17.0.GIT\0";
pub const VG_TMPDIR: &'static [u8; 5usize] = b"/tmp\0";
pub const S390_REGNO_RETURN_VALUE: u32 = 2;
pub const S390_REGNO_TCHAIN_SCRATCH: u32 = 12;
pub const S390_REGNO_GUEST_STATE_POINTER: u32 = 13;
pub const S390_REGNO_LINK_REGISTER: u32 = 14;
pub const S390_REGNO_STACK_POINTER: u32 = 15;
pub const S390_OFFSET_SAVED_R2: u32 = 240;
pub const S390_OFFSET_SAVED_FPC_C: u32 = 232;
pub const S390_OFFSET_SAVED_FPC_V: u32 = 224;
pub const S390_INNERLOOP_FRAME_SIZE: u32 = 248;
pub const S390_FAC_MSA: u32 = 17;
pub const S390_FAC_LDISP: u32 = 18;
pub const S390_FAC_HFPMAS: u32 = 20;
pub const S390_FAC_EIMM: u32 = 21;
pub const S390_FAC_HFPUNX: u32 = 23;
pub const S390_FAC_ETF2: u32 = 24;
pub const S390_FAC_STCKF: u32 = 25;
pub const S390_FAC_PENH: u32 = 26;
pub const S390_FAC_ETF3: u32 = 30;
pub const S390_FAC_XCPUT: u32 = 31;
pub const S390_FAC_GIE: u32 = 34;
pub const S390_FAC_EXEXT: u32 = 35;
pub const S390_FAC_FPEXT: u32 = 37;
pub const S390_FAC_FPSE: u32 = 41;
pub const S390_FAC_DFP: u32 = 42;
pub const S390_FAC_PFPO: u32 = 44;
pub const S390_FAC_HIGHW: u32 = 45;
pub const S390_FAC_LSC: u32 = 45;
pub const S390_FAC_DFPZC: u32 = 48;
pub const S390_FAC_MISC: u32 = 49;
pub const S390_FAC_CTREXE: u32 = 50;
pub const S390_FAC_LSC2: u32 = 53;
pub const S390_FAC_MSA5: u32 = 57;
pub const S390_FAC_MI2: u32 = 58;
pub const S390_FAC_TREXE: u32 = 73;
pub const S390_FAC_MSA4: u32 = 77;
pub const S390_FAC_VX: u32 = 129;
pub const S390_FAC_VXE: u32 = 135;
pub const S390_FAC_VXE2: u32 = 148;
pub const S390_FAC_DFLT: u32 = 151;
pub const S390_NUM_GPRPARMS: u32 = 5;
pub const S390_NUM_FACILITY_DW: u32 = 3;
pub const VEX_TRC_JMP_INVALICACHE: u32 = 61;
pub const VEX_TRC_JMP_FLUSHDCACHE: u32 = 103;
pub const VEX_TRC_JMP_NOREDIR: u32 = 81;
pub const VEX_TRC_JMP_SIGTRAP: u32 = 85;
pub const VEX_TRC_JMP_SIGSEGV: u32 = 87;
pub const VEX_TRC_JMP_SIGBUS: u32 = 93;
pub const VEX_TRC_JMP_SIGFPE: u32 = 105;
pub const VEX_TRC_JMP_SIGFPE_INTDIV: u32 = 97;
pub const VEX_TRC_JMP_SIGFPE_INTOVF: u32 = 99;
pub const VEX_TRC_JMP_SIGILL: u32 = 101;
pub const VEX_TRC_JMP_EMWARN: u32 = 63;
pub const VEX_TRC_JMP_EMFAIL: u32 = 83;
pub const VEX_TRC_JMP_CLIENTREQ: u32 = 65;
pub const VEX_TRC_JMP_YIELD: u32 = 67;
pub const VEX_TRC_JMP_NODECODE: u32 = 69;
pub const VEX_TRC_JMP_MAPFAIL: u32 = 71;
pub const VEX_TRC_JMP_SYS_SYSCALL: u32 = 73;
pub const VEX_TRC_JMP_SYS_INT32: u32 = 75;
pub const VEX_TRC_JMP_SYS_INT128: u32 = 77;
pub const VEX_TRC_JMP_SYS_INT129: u32 = 89;
pub const VEX_TRC_JMP_SYS_INT130: u32 = 91;
pub const VEX_TRC_JMP_SYS_INT145: u32 = 111;
pub const VEX_TRC_JMP_SYS_INT210: u32 = 113;
pub const VEX_TRC_JMP_SYS_SYSENTER: u32 = 79;
pub const VEX_TRC_JMP_BORING: u32 = 95;
pub type UChar = ::std::os::raw::c_uchar;
pub type Char = ::std::os::raw::c_schar;
pub type HChar = ::std::os::raw::c_char;
pub type UShort = ::std::os::raw::c_ushort;
pub type Short = ::std::os::raw::c_short;
pub type UInt = ::std::os::raw::c_uint;
pub type Int = ::std::os::raw::c_int;
pub type ULong = ::std::os::raw::c_ulonglong;
pub type Long = ::std::os::raw::c_longlong;
pub type SizeT = ::std::os::raw::c_ulong;
pub type U128 = [UInt; 4usize];
pub type U256 = [UInt; 8usize];
#[repr(C)]
#[derive(Copy, Clone)]
pub union V128 {
pub w8: [UChar; 16usize],
pub w16: [UShort; 8usize],
pub w32: [UInt; 4usize],
pub w64: [ULong; 2usize],
_bindgen_union_align: [u64; 2usize],
}
#[test]
fn bindgen_test_layout_V128() {
assert_eq!(
::std::mem::size_of::<V128>(),
16usize,
concat!("Size of: ", stringify!(V128))
);
assert_eq!(
::std::mem::align_of::<V128>(),
8usize,
concat!("Alignment of ", stringify!(V128))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<V128>())).w8 as *const _ as usize },
0usize,
concat!("Offset of field: ", stringify!(V128), "::", stringify!(w8))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<V128>())).w16 as *const _ as usize },
0usize,
concat!("Offset of field: ", stringify!(V128), "::", stringify!(w16))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<V128>())).w32 as *const _ as usize },
0usize,
concat!("Offset of field: ", stringify!(V128), "::", stringify!(w32))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<V128>())).w64 as *const _ as usize },
0usize,
concat!("Offset of field: ", stringify!(V128), "::", stringify!(w64))
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union V256 {
pub w8: [UChar; 32usize],
pub w16: [UShort; 16usize],
pub w32: [UInt; 8usize],
pub w64: [ULong; 4usize],
_bindgen_union_align: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_V256() {
assert_eq!(
::std::mem::size_of::<V256>(),
32usize,
concat!("Size of: ", stringify!(V256))
);
assert_eq!(
::std::mem::align_of::<V256>(),
8usize,
concat!("Alignment of ", stringify!(V256))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<V256>())).w8 as *const _ as usize },
0usize,
concat!("Offset of field: ", stringify!(V256), "::", stringify!(w8))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<V256>())).w16 as *const _ as usize },
0usize,
concat!("Offset of field: ", stringify!(V256), "::", stringify!(w16))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<V256>())).w32 as *const _ as usize },
0usize,
concat!("Offset of field: ", stringify!(V256), "::", stringify!(w32))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<V256>())).w64 as *const _ as usize },
0usize,
concat!("Offset of field: ", stringify!(V256), "::", stringify!(w64))
);
}
pub type Float = f32;
pub type Double = f64;
pub type Bool = ::std::os::raw::c_uchar;
pub type Addr32 = UInt;
pub type Addr64 = ULong;
pub type Addr = ::std::os::raw::c_ulong;
pub type HWord = ::std::os::raw::c_ulong;
pub type RegWord = HWord;
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum VexEmNote {
EmNote_NONE = 0,
EmWarn_X86_x87exns = 1,
EmWarn_X86_x87precision = 2,
EmWarn_X86_sseExns = 3,
EmWarn_X86_fz = 4,
EmWarn_X86_daz = 5,
EmWarn_X86_acFlag = 6,
EmWarn_PPCexns = 7,
EmWarn_PPC64_redir_overflow = 8,
EmWarn_PPC64_redir_underflow = 9,
EmWarn_S390X_fpext_rounding = 10,
EmWarn_S390X_invalid_rounding = 11,
EmFail_S390X_stfle = 12,
EmFail_S390X_stckf = 13,
EmFail_S390X_ecag = 14,
EmFail_S390X_pfpo = 15,
EmFail_S390X_DFP_insn = 16,
EmFail_S390X_fpext = 17,
EmFail_S390X_invalid_PFPO_rounding_mode = 18,
EmFail_S390X_invalid_PFPO_function = 19,
EmFail_S390X_vx = 20,
EmFail_S390X_ppno = 21,
EmFail_S390X_vxe = 22,
EmNote_NUMBER = 23,
}
extern "C" {
pub fn LibVEX_EmNote_string(arg1: VexEmNote) -> *const HChar;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestAMD64State {
pub host_EvC_FAILADDR: ULong,
pub host_EvC_COUNTER: UInt,
pub pad0: UInt,
pub guest_RAX: ULong,
pub guest_RCX: ULong,
pub guest_RDX: ULong,
pub guest_RBX: ULong,
pub guest_RSP: ULong,
pub guest_RBP: ULong,
pub guest_RSI: ULong,
pub guest_RDI: ULong,
pub guest_R8: ULong,
pub guest_R9: ULong,
pub guest_R10: ULong,
pub guest_R11: ULong,
pub guest_R12: ULong,
pub guest_R13: ULong,
pub guest_R14: ULong,
pub guest_R15: ULong,
pub guest_CC_OP: ULong,
pub guest_CC_DEP1: ULong,
pub guest_CC_DEP2: ULong,
pub guest_CC_NDEP: ULong,
pub guest_DFLAG: ULong,
pub guest_RIP: ULong,
pub guest_ACFLAG: ULong,
pub guest_IDFLAG: ULong,
pub guest_FS_CONST: ULong,
pub guest_SSEROUND: ULong,
pub guest_YMM0: U256,
pub guest_YMM1: U256,
pub guest_YMM2: U256,
pub guest_YMM3: U256,
pub guest_YMM4: U256,
pub guest_YMM5: U256,
pub guest_YMM6: U256,
pub guest_YMM7: U256,
pub guest_YMM8: U256,
pub guest_YMM9: U256,
pub guest_YMM10: U256,
pub guest_YMM11: U256,
pub guest_YMM12: U256,
pub guest_YMM13: U256,
pub guest_YMM14: U256,
pub guest_YMM15: U256,
pub guest_YMM16: U256,
pub guest_FTOP: UInt,
pub pad1: UInt,
pub guest_FPREG: [ULong; 8usize],
pub guest_FPTAG: [UChar; 8usize],
pub guest_FPROUND: ULong,
pub guest_FC3210: ULong,
pub guest_EMNOTE: UInt,
pub pad2: UInt,
pub guest_CMSTART: ULong,
pub guest_CMLEN: ULong,
pub guest_NRADDR: ULong,
pub guest_SC_CLASS: ULong,
pub guest_GS_CONST: ULong,
pub guest_IP_AT_SYSCALL: ULong,
pub pad3: ULong,
}
#[test]
fn bindgen_test_layout_VexGuestAMD64State() {
assert_eq!(
::std::mem::size_of::<VexGuestAMD64State>(),
928usize,
concat!("Size of: ", stringify!(VexGuestAMD64State))
);
assert_eq!(
::std::mem::align_of::<VexGuestAMD64State>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestAMD64State))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).host_EvC_FAILADDR as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(host_EvC_FAILADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).host_EvC_COUNTER as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(host_EvC_COUNTER)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).pad0 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(pad0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_RAX as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_RAX)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_RCX as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_RCX)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_RDX as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_RDX)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_RBX as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_RBX)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_RSP as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_RSP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_RBP as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_RBP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_RSI as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_RSI)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_RDI as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_RDI)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_R8 as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_R8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_R9 as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_R9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_R10 as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_R10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_R11 as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_R11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_R12 as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_R12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_R13 as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_R13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_R14 as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_R14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_R15 as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_R15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_CC_OP as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_CC_OP)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_CC_DEP1 as *const _ as usize
},
152usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_CC_DEP1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_CC_DEP2 as *const _ as usize
},
160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_CC_DEP2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_CC_NDEP as *const _ as usize
},
168usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_CC_NDEP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_DFLAG as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_DFLAG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_RIP as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_RIP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_ACFLAG as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_ACFLAG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_IDFLAG as *const _ as usize },
200usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_IDFLAG)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_FS_CONST as *const _ as usize
},
208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_FS_CONST)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_SSEROUND as *const _ as usize
},
216usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_SSEROUND)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM0 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM1 as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM2 as *const _ as usize },
288usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM3 as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM4 as *const _ as usize },
352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM5 as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM6 as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM7 as *const _ as usize },
448usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM8 as *const _ as usize },
480usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM9 as *const _ as usize },
512usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM10 as *const _ as usize },
544usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM11 as *const _ as usize },
576usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM12 as *const _ as usize },
608usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM13 as *const _ as usize },
640usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM14 as *const _ as usize },
672usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM15 as *const _ as usize },
704usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_YMM16 as *const _ as usize },
736usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_YMM16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_FTOP as *const _ as usize },
768usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_FTOP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).pad1 as *const _ as usize },
772usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(pad1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_FPREG as *const _ as usize },
776usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_FPREG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_FPTAG as *const _ as usize },
840usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_FPTAG)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_FPROUND as *const _ as usize
},
848usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_FPROUND)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_FC3210 as *const _ as usize },
856usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_FC3210)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_EMNOTE as *const _ as usize },
864usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_EMNOTE)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).pad2 as *const _ as usize },
868usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(pad2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_CMSTART as *const _ as usize
},
872usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_CMSTART)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_CMLEN as *const _ as usize },
880usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_CMLEN)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).guest_NRADDR as *const _ as usize },
888usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_NRADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_SC_CLASS as *const _ as usize
},
896usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_SC_CLASS)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_GS_CONST as *const _ as usize
},
904usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_GS_CONST)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestAMD64State>())).guest_IP_AT_SYSCALL as *const _ as usize
},
912usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(guest_IP_AT_SYSCALL)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestAMD64State>())).pad3 as *const _ as usize },
920usize,
concat!(
"Offset of field: ",
stringify!(VexGuestAMD64State),
"::",
stringify!(pad3)
)
);
}
extern "C" {
pub fn LibVEX_GuestAMD64_initialise(vex_state: *mut VexGuestAMD64State);
}
extern "C" {
pub fn LibVEX_GuestAMD64_get_rflags(vex_state: *const VexGuestAMD64State) -> ULong;
}
extern "C" {
pub fn LibVEX_GuestAMD64_put_rflags(rflags: ULong, vex_state: *mut VexGuestAMD64State);
}
extern "C" {
pub fn LibVEX_GuestAMD64_put_rflag_c(new_carry_flag: ULong, vex_state: *mut VexGuestAMD64State);
}
extern "C" {
pub fn LibVEX_GuestAMD64_fxsave(gst: *mut VexGuestAMD64State, fp_state: HWord);
}
extern "C" {
pub fn LibVEX_GuestAMD64_fxrstor(fp_state: HWord, gst: *mut VexGuestAMD64State) -> VexEmNote;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestARM64State {
pub host_EvC_FAILADDR: ULong,
pub host_EvC_COUNTER: UInt,
pub pad0: UInt,
pub guest_X0: ULong,
pub guest_X1: ULong,
pub guest_X2: ULong,
pub guest_X3: ULong,
pub guest_X4: ULong,
pub guest_X5: ULong,
pub guest_X6: ULong,
pub guest_X7: ULong,
pub guest_X8: ULong,
pub guest_X9: ULong,
pub guest_X10: ULong,
pub guest_X11: ULong,
pub guest_X12: ULong,
pub guest_X13: ULong,
pub guest_X14: ULong,
pub guest_X15: ULong,
pub guest_X16: ULong,
pub guest_X17: ULong,
pub guest_X18: ULong,
pub guest_X19: ULong,
pub guest_X20: ULong,
pub guest_X21: ULong,
pub guest_X22: ULong,
pub guest_X23: ULong,
pub guest_X24: ULong,
pub guest_X25: ULong,
pub guest_X26: ULong,
pub guest_X27: ULong,
pub guest_X28: ULong,
pub guest_X29: ULong,
pub guest_X30: ULong,
pub guest_XSP: ULong,
pub guest_PC: ULong,
pub guest_CC_OP: ULong,
pub guest_CC_DEP1: ULong,
pub guest_CC_DEP2: ULong,
pub guest_CC_NDEP: ULong,
pub guest_TPIDR_EL0: ULong,
pub guest_Q0: U128,
pub guest_Q1: U128,
pub guest_Q2: U128,
pub guest_Q3: U128,
pub guest_Q4: U128,
pub guest_Q5: U128,
pub guest_Q6: U128,
pub guest_Q7: U128,
pub guest_Q8: U128,
pub guest_Q9: U128,
pub guest_Q10: U128,
pub guest_Q11: U128,
pub guest_Q12: U128,
pub guest_Q13: U128,
pub guest_Q14: U128,
pub guest_Q15: U128,
pub guest_Q16: U128,
pub guest_Q17: U128,
pub guest_Q18: U128,
pub guest_Q19: U128,
pub guest_Q20: U128,
pub guest_Q21: U128,
pub guest_Q22: U128,
pub guest_Q23: U128,
pub guest_Q24: U128,
pub guest_Q25: U128,
pub guest_Q26: U128,
pub guest_Q27: U128,
pub guest_Q28: U128,
pub guest_Q29: U128,
pub guest_Q30: U128,
pub guest_Q31: U128,
pub guest_QCFLAG: U128,
pub guest_EMNOTE: UInt,
pub guest_CMSTART: ULong,
pub guest_CMLEN: ULong,
pub guest_NRADDR: ULong,
pub guest_IP_AT_SYSCALL: ULong,
pub guest_FPCR: UInt,
pub guest_LLSC_SIZE: ULong,
pub guest_LLSC_ADDR: ULong,
pub guest_LLSC_DATA: ULong,
pub pad_end_1: ULong,
}
#[test]
fn bindgen_test_layout_VexGuestARM64State() {
assert_eq!(
::std::mem::size_of::<VexGuestARM64State>(),
928usize,
concat!("Size of: ", stringify!(VexGuestARM64State))
);
assert_eq!(
::std::mem::align_of::<VexGuestARM64State>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestARM64State))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).host_EvC_FAILADDR as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(host_EvC_FAILADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).host_EvC_COUNTER as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(host_EvC_COUNTER)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).pad0 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(pad0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X0 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X1 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X2 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X3 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X4 as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X5 as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X6 as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X7 as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X8 as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X9 as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X10 as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X11 as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X12 as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X13 as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X14 as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X15 as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X16 as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X17 as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X18 as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X19 as *const _ as usize },
168usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X20 as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X21 as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X22 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X23 as *const _ as usize },
200usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X24 as *const _ as usize },
208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X25 as *const _ as usize },
216usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X26 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X27 as *const _ as usize },
232usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X28 as *const _ as usize },
240usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X29 as *const _ as usize },
248usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_X30 as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_X30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_XSP as *const _ as usize },
264usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_XSP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_PC as *const _ as usize },
272usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_PC)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_CC_OP as *const _ as usize },
280usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_CC_OP)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).guest_CC_DEP1 as *const _ as usize
},
288usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_CC_DEP1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).guest_CC_DEP2 as *const _ as usize
},
296usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_CC_DEP2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).guest_CC_NDEP as *const _ as usize
},
304usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_CC_NDEP)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).guest_TPIDR_EL0 as *const _ as usize
},
312usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_TPIDR_EL0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q0 as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q1 as *const _ as usize },
336usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q2 as *const _ as usize },
352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q3 as *const _ as usize },
368usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q4 as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q5 as *const _ as usize },
400usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q6 as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q7 as *const _ as usize },
432usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q8 as *const _ as usize },
448usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q9 as *const _ as usize },
464usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q10 as *const _ as usize },
480usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q11 as *const _ as usize },
496usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q12 as *const _ as usize },
512usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q13 as *const _ as usize },
528usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q14 as *const _ as usize },
544usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q15 as *const _ as usize },
560usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q16 as *const _ as usize },
576usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q17 as *const _ as usize },
592usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q18 as *const _ as usize },
608usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q19 as *const _ as usize },
624usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q20 as *const _ as usize },
640usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q21 as *const _ as usize },
656usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q22 as *const _ as usize },
672usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q23 as *const _ as usize },
688usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q24 as *const _ as usize },
704usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q25 as *const _ as usize },
720usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q26 as *const _ as usize },
736usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q27 as *const _ as usize },
752usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q28 as *const _ as usize },
768usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q29 as *const _ as usize },
784usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q30 as *const _ as usize },
800usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_Q31 as *const _ as usize },
816usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_Q31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_QCFLAG as *const _ as usize },
832usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_QCFLAG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_EMNOTE as *const _ as usize },
848usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_EMNOTE)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).guest_CMSTART as *const _ as usize
},
856usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_CMSTART)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_CMLEN as *const _ as usize },
864usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_CMLEN)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_NRADDR as *const _ as usize },
872usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_NRADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).guest_IP_AT_SYSCALL as *const _ as usize
},
880usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_IP_AT_SYSCALL)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).guest_FPCR as *const _ as usize },
888usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_FPCR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).guest_LLSC_SIZE as *const _ as usize
},
896usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_LLSC_SIZE)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).guest_LLSC_ADDR as *const _ as usize
},
904usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_LLSC_ADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARM64State>())).guest_LLSC_DATA as *const _ as usize
},
912usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(guest_LLSC_DATA)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARM64State>())).pad_end_1 as *const _ as usize },
920usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARM64State),
"::",
stringify!(pad_end_1)
)
);
}
extern "C" {
pub fn LibVEX_GuestARM64_initialise(vex_state: *mut VexGuestARM64State);
}
extern "C" {
pub fn LibVEX_GuestARM64_get_nzcv(vex_state: *const VexGuestARM64State) -> ULong;
}
extern "C" {
pub fn LibVEX_GuestARM64_get_fpsr(vex_state: *const VexGuestARM64State) -> ULong;
}
extern "C" {
pub fn LibVEX_GuestARM64_set_fpsr(vex_state: *mut VexGuestARM64State, fpsr: ULong);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestARMState {
pub host_EvC_FAILADDR: UInt,
pub host_EvC_COUNTER: UInt,
pub guest_R0: UInt,
pub guest_R1: UInt,
pub guest_R2: UInt,
pub guest_R3: UInt,
pub guest_R4: UInt,
pub guest_R5: UInt,
pub guest_R6: UInt,
pub guest_R7: UInt,
pub guest_R8: UInt,
pub guest_R9: UInt,
pub guest_R10: UInt,
pub guest_R11: UInt,
pub guest_R12: UInt,
pub guest_R13: UInt,
pub guest_R14: UInt,
pub guest_R15T: UInt,
pub guest_CC_OP: UInt,
pub guest_CC_DEP1: UInt,
pub guest_CC_DEP2: UInt,
pub guest_CC_NDEP: UInt,
pub guest_QFLAG32: UInt,
pub guest_GEFLAG0: UInt,
pub guest_GEFLAG1: UInt,
pub guest_GEFLAG2: UInt,
pub guest_GEFLAG3: UInt,
pub guest_EMNOTE: UInt,
pub guest_CMSTART: UInt,
pub guest_CMLEN: UInt,
pub guest_NRADDR: UInt,
pub guest_IP_AT_SYSCALL: UInt,
pub guest_D0: ULong,
pub guest_D1: ULong,
pub guest_D2: ULong,
pub guest_D3: ULong,
pub guest_D4: ULong,
pub guest_D5: ULong,
pub guest_D6: ULong,
pub guest_D7: ULong,
pub guest_D8: ULong,
pub guest_D9: ULong,
pub guest_D10: ULong,
pub guest_D11: ULong,
pub guest_D12: ULong,
pub guest_D13: ULong,
pub guest_D14: ULong,
pub guest_D15: ULong,
pub guest_D16: ULong,
pub guest_D17: ULong,
pub guest_D18: ULong,
pub guest_D19: ULong,
pub guest_D20: ULong,
pub guest_D21: ULong,
pub guest_D22: ULong,
pub guest_D23: ULong,
pub guest_D24: ULong,
pub guest_D25: ULong,
pub guest_D26: ULong,
pub guest_D27: ULong,
pub guest_D28: ULong,
pub guest_D29: ULong,
pub guest_D30: ULong,
pub guest_D31: ULong,
pub guest_FPSCR: UInt,
pub guest_TPIDRURO: UInt,
pub guest_TPIDRURW: UInt,
pub guest_ITSTATE: UInt,
}
#[test]
fn bindgen_test_layout_VexGuestARMState() {
assert_eq!(
::std::mem::size_of::<VexGuestARMState>(),
400usize,
concat!("Size of: ", stringify!(VexGuestARMState))
);
assert_eq!(
::std::mem::align_of::<VexGuestARMState>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestARMState))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARMState>())).host_EvC_FAILADDR as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(host_EvC_FAILADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARMState>())).host_EvC_COUNTER as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(host_EvC_COUNTER)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R0 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R1 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R2 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R3 as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R4 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R5 as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R6 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R7 as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R8 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R9 as *const _ as usize },
44usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R10 as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R11 as *const _ as usize },
52usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R12 as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R13 as *const _ as usize },
60usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R14 as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_R15T as *const _ as usize },
68usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_R15T)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_CC_OP as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_CC_OP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_CC_DEP1 as *const _ as usize },
76usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_CC_DEP1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_CC_DEP2 as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_CC_DEP2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_CC_NDEP as *const _ as usize },
84usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_CC_NDEP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_QFLAG32 as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_QFLAG32)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_GEFLAG0 as *const _ as usize },
92usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_GEFLAG0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_GEFLAG1 as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_GEFLAG1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_GEFLAG2 as *const _ as usize },
100usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_GEFLAG2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_GEFLAG3 as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_GEFLAG3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_EMNOTE as *const _ as usize },
108usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_EMNOTE)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_CMSTART as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_CMSTART)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_CMLEN as *const _ as usize },
116usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_CMLEN)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_NRADDR as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_NRADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestARMState>())).guest_IP_AT_SYSCALL as *const _ as usize
},
124usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_IP_AT_SYSCALL)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D0 as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D1 as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D2 as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D3 as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D4 as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D5 as *const _ as usize },
168usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D6 as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D7 as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D8 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D9 as *const _ as usize },
200usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D10 as *const _ as usize },
208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D11 as *const _ as usize },
216usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D12 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D13 as *const _ as usize },
232usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D14 as *const _ as usize },
240usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D15 as *const _ as usize },
248usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D16 as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D17 as *const _ as usize },
264usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D18 as *const _ as usize },
272usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D19 as *const _ as usize },
280usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D20 as *const _ as usize },
288usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D21 as *const _ as usize },
296usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D22 as *const _ as usize },
304usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D23 as *const _ as usize },
312usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D24 as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D25 as *const _ as usize },
328usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D26 as *const _ as usize },
336usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D27 as *const _ as usize },
344usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D28 as *const _ as usize },
352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D29 as *const _ as usize },
360usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D30 as *const _ as usize },
368usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_D31 as *const _ as usize },
376usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_D31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_FPSCR as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_FPSCR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_TPIDRURO as *const _ as usize },
388usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_TPIDRURO)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_TPIDRURW as *const _ as usize },
392usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_TPIDRURW)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestARMState>())).guest_ITSTATE as *const _ as usize },
396usize,
concat!(
"Offset of field: ",
stringify!(VexGuestARMState),
"::",
stringify!(guest_ITSTATE)
)
);
}
extern "C" {
pub fn LibVEX_GuestARM_initialise(vex_state: *mut VexGuestARMState);
}
extern "C" {
pub fn LibVEX_GuestARM_get_cpsr(vex_state: *const VexGuestARMState) -> UInt;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct VexGuestMIPS32State {
pub host_EvC_FAILADDR: UInt,
pub host_EvC_COUNTER: UInt,
pub guest_r0: UInt,
pub guest_r1: UInt,
pub guest_r2: UInt,
pub guest_r3: UInt,
pub guest_r4: UInt,
pub guest_r5: UInt,
pub guest_r6: UInt,
pub guest_r7: UInt,
pub guest_r8: UInt,
pub guest_r9: UInt,
pub guest_r10: UInt,
pub guest_r11: UInt,
pub guest_r12: UInt,
pub guest_r13: UInt,
pub guest_r14: UInt,
pub guest_r15: UInt,
pub guest_r16: UInt,
pub guest_r17: UInt,
pub guest_r18: UInt,
pub guest_r19: UInt,
pub guest_r20: UInt,
pub guest_r21: UInt,
pub guest_r22: UInt,
pub guest_r23: UInt,
pub guest_r24: UInt,
pub guest_r25: UInt,
pub guest_r26: UInt,
pub guest_r27: UInt,
pub guest_r28: UInt,
pub guest_r29: UInt,
pub guest_r30: UInt,
pub guest_r31: UInt,
pub guest_PC: UInt,
pub guest_HI: UInt,
pub guest_LO: UInt,
pub _padding1: UInt,
pub guest_f0: ULong,
pub guest_f1: ULong,
pub guest_f2: ULong,
pub guest_f3: ULong,
pub guest_f4: ULong,
pub guest_f5: ULong,
pub guest_f6: ULong,
pub guest_f7: ULong,
pub guest_f8: ULong,
pub guest_f9: ULong,
pub guest_f10: ULong,
pub guest_f11: ULong,
pub guest_f12: ULong,
pub guest_f13: ULong,
pub guest_f14: ULong,
pub guest_f15: ULong,
pub guest_f16: ULong,
pub guest_f17: ULong,
pub guest_f18: ULong,
pub guest_f19: ULong,
pub guest_f20: ULong,
pub guest_f21: ULong,
pub guest_f22: ULong,
pub guest_f23: ULong,
pub guest_f24: ULong,
pub guest_f25: ULong,
pub guest_f26: ULong,
pub guest_f27: ULong,
pub guest_f28: ULong,
pub guest_f29: ULong,
pub guest_f30: ULong,
pub guest_f31: ULong,
pub guest_FIR: UInt,
pub guest_FCCR: UInt,
pub guest_FEXR: UInt,
pub guest_FENR: UInt,
pub guest_FCSR: UInt,
pub guest_ULR: UInt,
pub guest_EMNOTE: UInt,
pub guest_CMSTART: UInt,
pub guest_CMLEN: UInt,
pub guest_NRADDR: UInt,
pub guest_COND: UInt,
pub guest_DSPControl: UInt,
pub guest_ac0: ULong,
pub guest_ac1: ULong,
pub guest_ac2: ULong,
pub guest_ac3: ULong,
pub guest_CP0_status: UInt,
pub guest_CP0_Config5: UInt,
pub guest_LLaddr: UInt,
pub guest_LLdata: UInt,
pub guest_w0: V128,
pub guest_w1: V128,
pub guest_w2: V128,
pub guest_w3: V128,
pub guest_w4: V128,
pub guest_w5: V128,
pub guest_w6: V128,
pub guest_w7: V128,
pub guest_w8: V128,
pub guest_w9: V128,
pub guest_w10: V128,
pub guest_w11: V128,
pub guest_w12: V128,
pub guest_w13: V128,
pub guest_w14: V128,
pub guest_w15: V128,
pub guest_w16: V128,
pub guest_w17: V128,
pub guest_w18: V128,
pub guest_w19: V128,
pub guest_w20: V128,
pub guest_w21: V128,
pub guest_w22: V128,
pub guest_w23: V128,
pub guest_w24: V128,
pub guest_w25: V128,
pub guest_w26: V128,
pub guest_w27: V128,
pub guest_w28: V128,
pub guest_w29: V128,
pub guest_w30: V128,
pub guest_w31: V128,
pub guest_MSACSR: UInt,
pub _padding3: UInt,
pub guest_LLdata64: ULong,
pub _padding4: ULong,
}
#[test]
fn bindgen_test_layout_VexGuestMIPS32State() {
assert_eq!(
::std::mem::size_of::<VexGuestMIPS32State>(),
1040usize,
concat!("Size of: ", stringify!(VexGuestMIPS32State))
);
assert_eq!(
::std::mem::align_of::<VexGuestMIPS32State>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestMIPS32State))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).host_EvC_FAILADDR as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(host_EvC_FAILADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).host_EvC_COUNTER as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(host_EvC_COUNTER)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r0 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r1 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r2 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r3 as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r4 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r5 as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r6 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r7 as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r8 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r9 as *const _ as usize },
44usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r10 as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r11 as *const _ as usize },
52usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r12 as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r13 as *const _ as usize },
60usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r14 as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r15 as *const _ as usize },
68usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r16 as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r17 as *const _ as usize },
76usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r18 as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r19 as *const _ as usize },
84usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r20 as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r21 as *const _ as usize },
92usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r22 as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r23 as *const _ as usize },
100usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r24 as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r25 as *const _ as usize },
108usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r26 as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r27 as *const _ as usize },
116usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r28 as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r29 as *const _ as usize },
124usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r30 as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_r31 as *const _ as usize },
132usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_r31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_PC as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_PC)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_HI as *const _ as usize },
140usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_HI)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_LO as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_LO)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>()))._padding1 as *const _ as usize },
148usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(_padding1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f0 as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f1 as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f2 as *const _ as usize },
168usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f3 as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f4 as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f5 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f6 as *const _ as usize },
200usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f7 as *const _ as usize },
208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f8 as *const _ as usize },
216usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f9 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f10 as *const _ as usize },
232usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f11 as *const _ as usize },
240usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f12 as *const _ as usize },
248usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f13 as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f14 as *const _ as usize },
264usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f15 as *const _ as usize },
272usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f16 as *const _ as usize },
280usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f17 as *const _ as usize },
288usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f18 as *const _ as usize },
296usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f19 as *const _ as usize },
304usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f20 as *const _ as usize },
312usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f21 as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f22 as *const _ as usize },
328usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f23 as *const _ as usize },
336usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f24 as *const _ as usize },
344usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f25 as *const _ as usize },
352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f26 as *const _ as usize },
360usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f27 as *const _ as usize },
368usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f28 as *const _ as usize },
376usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f29 as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f30 as *const _ as usize },
392usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_f31 as *const _ as usize },
400usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_f31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_FIR as *const _ as usize },
408usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_FIR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_FCCR as *const _ as usize },
412usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_FCCR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_FEXR as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_FEXR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_FENR as *const _ as usize },
420usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_FENR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_FCSR as *const _ as usize },
424usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_FCSR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_ULR as *const _ as usize },
428usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_ULR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_EMNOTE as *const _ as usize
},
432usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_EMNOTE)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_CMSTART as *const _ as usize
},
436usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_CMSTART)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_CMLEN as *const _ as usize },
440usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_CMLEN)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_NRADDR as *const _ as usize
},
444usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_NRADDR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_COND as *const _ as usize },
448usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_COND)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_DSPControl as *const _ as usize
},
452usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_DSPControl)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_ac0 as *const _ as usize },
456usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_ac0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_ac1 as *const _ as usize },
464usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_ac1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_ac2 as *const _ as usize },
472usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_ac2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_ac3 as *const _ as usize },
480usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_ac3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_CP0_status as *const _ as usize
},
488usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_CP0_status)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_CP0_Config5 as *const _ as usize
},
492usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_CP0_Config5)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_LLaddr as *const _ as usize
},
496usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_LLaddr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_LLdata as *const _ as usize
},
500usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_LLdata)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w0 as *const _ as usize },
504usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w1 as *const _ as usize },
520usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w2 as *const _ as usize },
536usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w3 as *const _ as usize },
552usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w4 as *const _ as usize },
568usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w5 as *const _ as usize },
584usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w6 as *const _ as usize },
600usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w7 as *const _ as usize },
616usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w8 as *const _ as usize },
632usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w9 as *const _ as usize },
648usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w10 as *const _ as usize },
664usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w11 as *const _ as usize },
680usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w12 as *const _ as usize },
696usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w13 as *const _ as usize },
712usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w14 as *const _ as usize },
728usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w15 as *const _ as usize },
744usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w16 as *const _ as usize },
760usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w17 as *const _ as usize },
776usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w18 as *const _ as usize },
792usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w19 as *const _ as usize },
808usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w20 as *const _ as usize },
824usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w21 as *const _ as usize },
840usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w22 as *const _ as usize },
856usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w23 as *const _ as usize },
872usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w24 as *const _ as usize },
888usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w25 as *const _ as usize },
904usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w26 as *const _ as usize },
920usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w27 as *const _ as usize },
936usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w28 as *const _ as usize },
952usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w29 as *const _ as usize },
968usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w30 as *const _ as usize },
984usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_w31 as *const _ as usize },
1000usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_w31)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_MSACSR as *const _ as usize
},
1016usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_MSACSR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>()))._padding3 as *const _ as usize },
1020usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(_padding3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS32State>())).guest_LLdata64 as *const _ as usize
},
1024usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(guest_LLdata64)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS32State>()))._padding4 as *const _ as usize },
1032usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS32State),
"::",
stringify!(_padding4)
)
);
}
extern "C" {
pub fn LibVEX_GuestMIPS32_initialise(vex_state: *mut VexGuestMIPS32State);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct VexGuestMIPS64State {
pub host_EvC_FAILADDR: ULong,
pub host_EvC_COUNTER: UInt,
pub _padding1: UInt,
pub guest_r0: ULong,
pub guest_r1: ULong,
pub guest_r2: ULong,
pub guest_r3: ULong,
pub guest_r4: ULong,
pub guest_r5: ULong,
pub guest_r6: ULong,
pub guest_r7: ULong,
pub guest_r8: ULong,
pub guest_r9: ULong,
pub guest_r10: ULong,
pub guest_r11: ULong,
pub guest_r12: ULong,
pub guest_r13: ULong,
pub guest_r14: ULong,
pub guest_r15: ULong,
pub guest_r16: ULong,
pub guest_r17: ULong,
pub guest_r18: ULong,
pub guest_r19: ULong,
pub guest_r20: ULong,
pub guest_r21: ULong,
pub guest_r22: ULong,
pub guest_r23: ULong,
pub guest_r24: ULong,
pub guest_r25: ULong,
pub guest_r26: ULong,
pub guest_r27: ULong,
pub guest_r28: ULong,
pub guest_r29: ULong,
pub guest_r30: ULong,
pub guest_r31: ULong,
pub guest_PC: ULong,
pub guest_HI: ULong,
pub guest_LO: ULong,
pub guest_f0: ULong,
pub guest_f1: ULong,
pub guest_f2: ULong,
pub guest_f3: ULong,
pub guest_f4: ULong,
pub guest_f5: ULong,
pub guest_f6: ULong,
pub guest_f7: ULong,
pub guest_f8: ULong,
pub guest_f9: ULong,
pub guest_f10: ULong,
pub guest_f11: ULong,
pub guest_f12: ULong,
pub guest_f13: ULong,
pub guest_f14: ULong,
pub guest_f15: ULong,
pub guest_f16: ULong,
pub guest_f17: ULong,
pub guest_f18: ULong,
pub guest_f19: ULong,
pub guest_f20: ULong,
pub guest_f21: ULong,
pub guest_f22: ULong,
pub guest_f23: ULong,
pub guest_f24: ULong,
pub guest_f25: ULong,
pub guest_f26: ULong,
pub guest_f27: ULong,
pub guest_f28: ULong,
pub guest_f29: ULong,
pub guest_f30: ULong,
pub guest_f31: ULong,
pub guest_FIR: UInt,
pub guest_FCCR: UInt,
pub guest_FEXR: UInt,
pub guest_FENR: UInt,
pub guest_FCSR: UInt,
pub guest_CP0_status: UInt,
pub guest_ULR: ULong,
pub guest_EMNOTE: UInt,
pub guest_COND: UInt,
pub guest_CMSTART: ULong,
pub guest_CMLEN: ULong,
pub guest_NRADDR: ULong,
pub guest_LLaddr: ULong,
pub guest_LLdata: ULong,
pub guest_w0: V128,
pub guest_w1: V128,
pub guest_w2: V128,
pub guest_w3: V128,
pub guest_w4: V128,
pub guest_w5: V128,
pub guest_w6: V128,
pub guest_w7: V128,
pub guest_w8: V128,
pub guest_w9: V128,
pub guest_w10: V128,
pub guest_w11: V128,
pub guest_w12: V128,
pub guest_w13: V128,
pub guest_w14: V128,
pub guest_w15: V128,
pub guest_w16: V128,
pub guest_w17: V128,
pub guest_w18: V128,
pub guest_w19: V128,
pub guest_w20: V128,
pub guest_w21: V128,
pub guest_w22: V128,
pub guest_w23: V128,
pub guest_w24: V128,
pub guest_w25: V128,
pub guest_w26: V128,
pub guest_w27: V128,
pub guest_w28: V128,
pub guest_w29: V128,
pub guest_w30: V128,
pub guest_w31: V128,
pub guest_MSACSR: UInt,
pub _padding2: UInt,
}
#[test]
fn bindgen_test_layout_VexGuestMIPS64State() {
assert_eq!(
::std::mem::size_of::<VexGuestMIPS64State>(),
1152usize,
concat!("Size of: ", stringify!(VexGuestMIPS64State))
);
assert_eq!(
::std::mem::align_of::<VexGuestMIPS64State>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestMIPS64State))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS64State>())).host_EvC_FAILADDR as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(host_EvC_FAILADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS64State>())).host_EvC_COUNTER as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(host_EvC_COUNTER)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>()))._padding1 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(_padding1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r0 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r1 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r2 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r3 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r4 as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r5 as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r6 as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r7 as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r8 as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r9 as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r10 as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r11 as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r12 as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r13 as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r14 as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r15 as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r16 as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r17 as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r18 as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r19 as *const _ as usize },
168usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r20 as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r21 as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r22 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r23 as *const _ as usize },
200usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r24 as *const _ as usize },
208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r25 as *const _ as usize },
216usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r26 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r27 as *const _ as usize },
232usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r28 as *const _ as usize },
240usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r29 as *const _ as usize },
248usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r30 as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_r31 as *const _ as usize },
264usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_r31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_PC as *const _ as usize },
272usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_PC)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_HI as *const _ as usize },
280usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_HI)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_LO as *const _ as usize },
288usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_LO)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f0 as *const _ as usize },
296usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f1 as *const _ as usize },
304usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f2 as *const _ as usize },
312usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f3 as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f4 as *const _ as usize },
328usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f5 as *const _ as usize },
336usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f6 as *const _ as usize },
344usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f7 as *const _ as usize },
352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f8 as *const _ as usize },
360usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f9 as *const _ as usize },
368usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f10 as *const _ as usize },
376usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f11 as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f12 as *const _ as usize },
392usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f13 as *const _ as usize },
400usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f14 as *const _ as usize },
408usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f15 as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f16 as *const _ as usize },
424usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f17 as *const _ as usize },
432usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f18 as *const _ as usize },
440usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f19 as *const _ as usize },
448usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f20 as *const _ as usize },
456usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f21 as *const _ as usize },
464usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f22 as *const _ as usize },
472usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f23 as *const _ as usize },
480usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f24 as *const _ as usize },
488usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f25 as *const _ as usize },
496usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f26 as *const _ as usize },
504usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f27 as *const _ as usize },
512usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f28 as *const _ as usize },
520usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f29 as *const _ as usize },
528usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f30 as *const _ as usize },
536usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_f31 as *const _ as usize },
544usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_f31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_FIR as *const _ as usize },
552usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_FIR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_FCCR as *const _ as usize },
556usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_FCCR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_FEXR as *const _ as usize },
560usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_FEXR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_FENR as *const _ as usize },
564usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_FENR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_FCSR as *const _ as usize },
568usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_FCSR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_CP0_status as *const _ as usize
},
572usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_CP0_status)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_ULR as *const _ as usize },
576usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_ULR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_EMNOTE as *const _ as usize
},
584usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_EMNOTE)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_COND as *const _ as usize },
588usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_COND)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_CMSTART as *const _ as usize
},
592usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_CMSTART)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_CMLEN as *const _ as usize },
600usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_CMLEN)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_NRADDR as *const _ as usize
},
608usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_NRADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_LLaddr as *const _ as usize
},
616usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_LLaddr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_LLdata as *const _ as usize
},
624usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_LLdata)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w0 as *const _ as usize },
632usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w1 as *const _ as usize },
648usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w2 as *const _ as usize },
664usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w3 as *const _ as usize },
680usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w4 as *const _ as usize },
696usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w5 as *const _ as usize },
712usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w6 as *const _ as usize },
728usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w7 as *const _ as usize },
744usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w8 as *const _ as usize },
760usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w9 as *const _ as usize },
776usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w10 as *const _ as usize },
792usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w11 as *const _ as usize },
808usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w12 as *const _ as usize },
824usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w13 as *const _ as usize },
840usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w14 as *const _ as usize },
856usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w15 as *const _ as usize },
872usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w16 as *const _ as usize },
888usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w17 as *const _ as usize },
904usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w18 as *const _ as usize },
920usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w19 as *const _ as usize },
936usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w20 as *const _ as usize },
952usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w21 as *const _ as usize },
968usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w22 as *const _ as usize },
984usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w23 as *const _ as usize },
1000usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w24 as *const _ as usize },
1016usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w25 as *const _ as usize },
1032usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w26 as *const _ as usize },
1048usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w27 as *const _ as usize },
1064usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w28 as *const _ as usize },
1080usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w29 as *const _ as usize },
1096usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w30 as *const _ as usize },
1112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_w31 as *const _ as usize },
1128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_w31)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestMIPS64State>())).guest_MSACSR as *const _ as usize
},
1144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(guest_MSACSR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestMIPS64State>()))._padding2 as *const _ as usize },
1148usize,
concat!(
"Offset of field: ",
stringify!(VexGuestMIPS64State),
"::",
stringify!(_padding2)
)
);
}
extern "C" {
pub fn LibVEX_GuestMIPS64_initialise(vex_state: *mut VexGuestMIPS64State);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestPPC32State {
pub host_EvC_FAILADDR: UInt,
pub host_EvC_COUNTER: UInt,
pub pad3: UInt,
pub pad4: UInt,
pub guest_GPR0: UInt,
pub guest_GPR1: UInt,
pub guest_GPR2: UInt,
pub guest_GPR3: UInt,
pub guest_GPR4: UInt,
pub guest_GPR5: UInt,
pub guest_GPR6: UInt,
pub guest_GPR7: UInt,
pub guest_GPR8: UInt,
pub guest_GPR9: UInt,
pub guest_GPR10: UInt,
pub guest_GPR11: UInt,
pub guest_GPR12: UInt,
pub guest_GPR13: UInt,
pub guest_GPR14: UInt,
pub guest_GPR15: UInt,
pub guest_GPR16: UInt,
pub guest_GPR17: UInt,
pub guest_GPR18: UInt,
pub guest_GPR19: UInt,
pub guest_GPR20: UInt,
pub guest_GPR21: UInt,
pub guest_GPR22: UInt,
pub guest_GPR23: UInt,
pub guest_GPR24: UInt,
pub guest_GPR25: UInt,
pub guest_GPR26: UInt,
pub guest_GPR27: UInt,
pub guest_GPR28: UInt,
pub guest_GPR29: UInt,
pub guest_GPR30: UInt,
pub guest_GPR31: UInt,
pub guest_VSR0: U128,
pub guest_VSR1: U128,
pub guest_VSR2: U128,
pub guest_VSR3: U128,
pub guest_VSR4: U128,
pub guest_VSR5: U128,
pub guest_VSR6: U128,
pub guest_VSR7: U128,
pub guest_VSR8: U128,
pub guest_VSR9: U128,
pub guest_VSR10: U128,
pub guest_VSR11: U128,
pub guest_VSR12: U128,
pub guest_VSR13: U128,
pub guest_VSR14: U128,
pub guest_VSR15: U128,
pub guest_VSR16: U128,
pub guest_VSR17: U128,
pub guest_VSR18: U128,
pub guest_VSR19: U128,
pub guest_VSR20: U128,
pub guest_VSR21: U128,
pub guest_VSR22: U128,
pub guest_VSR23: U128,
pub guest_VSR24: U128,
pub guest_VSR25: U128,
pub guest_VSR26: U128,
pub guest_VSR27: U128,
pub guest_VSR28: U128,
pub guest_VSR29: U128,
pub guest_VSR30: U128,
pub guest_VSR31: U128,
pub guest_VSR32: U128,
pub guest_VSR33: U128,
pub guest_VSR34: U128,
pub guest_VSR35: U128,
pub guest_VSR36: U128,
pub guest_VSR37: U128,
pub guest_VSR38: U128,
pub guest_VSR39: U128,
pub guest_VSR40: U128,
pub guest_VSR41: U128,
pub guest_VSR42: U128,
pub guest_VSR43: U128,
pub guest_VSR44: U128,
pub guest_VSR45: U128,
pub guest_VSR46: U128,
pub guest_VSR47: U128,
pub guest_VSR48: U128,
pub guest_VSR49: U128,
pub guest_VSR50: U128,
pub guest_VSR51: U128,
pub guest_VSR52: U128,
pub guest_VSR53: U128,
pub guest_VSR54: U128,
pub guest_VSR55: U128,
pub guest_VSR56: U128,
pub guest_VSR57: U128,
pub guest_VSR58: U128,
pub guest_VSR59: U128,
pub guest_VSR60: U128,
pub guest_VSR61: U128,
pub guest_VSR62: U128,
pub guest_VSR63: U128,
pub guest_CIA: UInt,
pub guest_LR: UInt,
pub guest_CTR: UInt,
pub guest_XER_SO: UChar,
pub guest_XER_OV: UChar,
pub guest_XER_OV32: UChar,
pub guest_XER_CA: UChar,
pub guest_XER_CA32: UChar,
pub guest_XER_BC: UChar,
pub guest_CR0_321: UChar,
pub guest_CR0_0: UChar,
pub guest_CR1_321: UChar,
pub guest_CR1_0: UChar,
pub guest_CR2_321: UChar,
pub guest_CR2_0: UChar,
pub guest_CR3_321: UChar,
pub guest_CR3_0: UChar,
pub guest_CR4_321: UChar,
pub guest_CR4_0: UChar,
pub guest_CR5_321: UChar,
pub guest_CR5_0: UChar,
pub guest_CR6_321: UChar,
pub guest_CR6_0: UChar,
pub guest_CR7_321: UChar,
pub guest_CR7_0: UChar,
pub guest_FPROUND: UChar,
pub guest_DFPROUND: UChar,
pub guest_C_FPCC: UChar,
pub pad0: UChar,
pub pad1: UChar,
pub pad2: UChar,
pub guest_VRSAVE: UInt,
pub guest_VSCR: UInt,
pub guest_EMNOTE: UInt,
pub guest_CMSTART: UInt,
pub guest_CMLEN: UInt,
pub guest_NRADDR: UInt,
pub guest_NRADDR_GPR2: UInt,
pub guest_REDIR_SP: UInt,
pub guest_REDIR_STACK: [UInt; 32usize],
pub guest_IP_AT_SYSCALL: UInt,
pub guest_SPRG3_RO: UInt,
pub padding1: UInt,
pub guest_TFHAR: ULong,
pub guest_TEXASR: ULong,
pub guest_TFIAR: ULong,
pub guest_PPR: ULong,
pub guest_TEXASRU: UInt,
pub guest_PSPB: UInt,
pub guest_DSCR: ULong,
pub guest_ACC_0_r0: U128,
pub guest_ACC_0_r1: U128,
pub guest_ACC_0_r2: U128,
pub guest_ACC_0_r3: U128,
pub guest_ACC_1_r0: U128,
pub guest_ACC_1_r1: U128,
pub guest_ACC_1_r2: U128,
pub guest_ACC_1_r3: U128,
pub guest_ACC_2_r0: U128,
pub guest_ACC_2_r1: U128,
pub guest_ACC_2_r2: U128,
pub guest_ACC_2_r3: U128,
pub guest_ACC_3_r0: U128,
pub guest_ACC_3_r1: U128,
pub guest_ACC_3_r2: U128,
pub guest_ACC_3_r3: U128,
pub guest_ACC_4_r0: U128,
pub guest_ACC_4_r1: U128,
pub guest_ACC_4_r2: U128,
pub guest_ACC_4_r3: U128,
pub guest_ACC_5_r0: U128,
pub guest_ACC_5_r1: U128,
pub guest_ACC_5_r2: U128,
pub guest_ACC_5_r3: U128,
pub guest_ACC_6_r0: U128,
pub guest_ACC_6_r1: U128,
pub guest_ACC_6_r2: U128,
pub guest_ACC_6_r3: U128,
pub guest_ACC_7_r0: U128,
pub guest_ACC_7_r1: U128,
pub guest_ACC_7_r2: U128,
pub guest_ACC_7_r3: U128,
pub padding2: UInt,
}
#[test]
fn bindgen_test_layout_VexGuestPPC32State() {
assert_eq!(
::std::mem::size_of::<VexGuestPPC32State>(),
1952usize,
concat!("Size of: ", stringify!(VexGuestPPC32State))
);
assert_eq!(
::std::mem::align_of::<VexGuestPPC32State>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestPPC32State))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).host_EvC_FAILADDR as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(host_EvC_FAILADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).host_EvC_COUNTER as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(host_EvC_COUNTER)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).pad3 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(pad3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).pad4 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(pad4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR0 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR1 as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR2 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR3 as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR4 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR5 as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR6 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR7 as *const _ as usize },
44usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR8 as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR9 as *const _ as usize },
52usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR10 as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR11 as *const _ as usize },
60usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR12 as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR13 as *const _ as usize },
68usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR14 as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR15 as *const _ as usize },
76usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR16 as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR17 as *const _ as usize },
84usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR18 as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR19 as *const _ as usize },
92usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR20 as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR21 as *const _ as usize },
100usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR22 as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR23 as *const _ as usize },
108usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR24 as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR25 as *const _ as usize },
116usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR26 as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR27 as *const _ as usize },
124usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR28 as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR29 as *const _ as usize },
132usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR30 as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_GPR31 as *const _ as usize },
140usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_GPR31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR0 as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR1 as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR2 as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR3 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR4 as *const _ as usize },
208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR5 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR6 as *const _ as usize },
240usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR7 as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR8 as *const _ as usize },
272usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR9 as *const _ as usize },
288usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR10 as *const _ as usize },
304usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR11 as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR12 as *const _ as usize },
336usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR13 as *const _ as usize },
352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR14 as *const _ as usize },
368usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR15 as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR16 as *const _ as usize },
400usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR17 as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR18 as *const _ as usize },
432usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR19 as *const _ as usize },
448usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR20 as *const _ as usize },
464usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR21 as *const _ as usize },
480usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR22 as *const _ as usize },
496usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR23 as *const _ as usize },
512usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR24 as *const _ as usize },
528usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR25 as *const _ as usize },
544usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR26 as *const _ as usize },
560usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR27 as *const _ as usize },
576usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR28 as *const _ as usize },
592usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR29 as *const _ as usize },
608usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR30 as *const _ as usize },
624usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR31 as *const _ as usize },
640usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR32 as *const _ as usize },
656usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR32)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR33 as *const _ as usize },
672usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR33)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR34 as *const _ as usize },
688usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR34)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR35 as *const _ as usize },
704usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR35)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR36 as *const _ as usize },
720usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR36)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR37 as *const _ as usize },
736usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR37)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR38 as *const _ as usize },
752usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR38)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR39 as *const _ as usize },
768usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR39)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR40 as *const _ as usize },
784usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR40)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR41 as *const _ as usize },
800usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR41)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR42 as *const _ as usize },
816usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR42)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR43 as *const _ as usize },
832usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR43)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR44 as *const _ as usize },
848usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR44)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR45 as *const _ as usize },
864usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR45)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR46 as *const _ as usize },
880usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR46)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR47 as *const _ as usize },
896usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR47)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR48 as *const _ as usize },
912usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR48)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR49 as *const _ as usize },
928usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR49)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR50 as *const _ as usize },
944usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR50)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR51 as *const _ as usize },
960usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR51)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR52 as *const _ as usize },
976usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR52)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR53 as *const _ as usize },
992usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR53)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR54 as *const _ as usize },
1008usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR54)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR55 as *const _ as usize },
1024usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR55)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR56 as *const _ as usize },
1040usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR56)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR57 as *const _ as usize },
1056usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR57)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR58 as *const _ as usize },
1072usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR58)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR59 as *const _ as usize },
1088usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR59)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR60 as *const _ as usize },
1104usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR60)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR61 as *const _ as usize },
1120usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR61)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR62 as *const _ as usize },
1136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR62)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSR63 as *const _ as usize },
1152usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSR63)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CIA as *const _ as usize },
1168usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CIA)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_LR as *const _ as usize },
1172usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_LR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CTR as *const _ as usize },
1176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CTR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_XER_SO as *const _ as usize },
1180usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_XER_SO)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_XER_OV as *const _ as usize },
1181usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_XER_OV)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_XER_OV32 as *const _ as usize
},
1182usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_XER_OV32)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_XER_CA as *const _ as usize },
1183usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_XER_CA)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_XER_CA32 as *const _ as usize
},
1184usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_XER_CA32)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_XER_BC as *const _ as usize },
1185usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_XER_BC)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR0_321 as *const _ as usize
},
1186usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR0_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR0_0 as *const _ as usize },
1187usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR0_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR1_321 as *const _ as usize
},
1188usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR1_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR1_0 as *const _ as usize },
1189usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR1_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR2_321 as *const _ as usize
},
1190usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR2_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR2_0 as *const _ as usize },
1191usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR2_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR3_321 as *const _ as usize
},
1192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR3_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR3_0 as *const _ as usize },
1193usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR3_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR4_321 as *const _ as usize
},
1194usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR4_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR4_0 as *const _ as usize },
1195usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR4_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR5_321 as *const _ as usize
},
1196usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR5_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR5_0 as *const _ as usize },
1197usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR5_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR6_321 as *const _ as usize
},
1198usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR6_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR6_0 as *const _ as usize },
1199usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR6_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR7_321 as *const _ as usize
},
1200usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR7_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CR7_0 as *const _ as usize },
1201usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CR7_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_FPROUND as *const _ as usize
},
1202usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_FPROUND)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_DFPROUND as *const _ as usize
},
1203usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_DFPROUND)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_C_FPCC as *const _ as usize },
1204usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_C_FPCC)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).pad0 as *const _ as usize },
1205usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(pad0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).pad1 as *const _ as usize },
1206usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(pad1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).pad2 as *const _ as usize },
1207usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(pad2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VRSAVE as *const _ as usize },
1208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VRSAVE)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_VSCR as *const _ as usize },
1212usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_VSCR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_EMNOTE as *const _ as usize },
1216usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_EMNOTE)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CMSTART as *const _ as usize
},
1220usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CMSTART)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_CMLEN as *const _ as usize },
1224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_CMLEN)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_NRADDR as *const _ as usize },
1228usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_NRADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_NRADDR_GPR2 as *const _ as usize
},
1232usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_NRADDR_GPR2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_REDIR_SP as *const _ as usize
},
1236usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_REDIR_SP)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_REDIR_STACK as *const _ as usize
},
1240usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_REDIR_STACK)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_IP_AT_SYSCALL as *const _ as usize
},
1368usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_IP_AT_SYSCALL)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_SPRG3_RO as *const _ as usize
},
1372usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_SPRG3_RO)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).padding1 as *const _ as usize },
1376usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(padding1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_TFHAR as *const _ as usize },
1384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_TFHAR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_TEXASR as *const _ as usize },
1392usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_TEXASR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_TFIAR as *const _ as usize },
1400usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_TFIAR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_PPR as *const _ as usize },
1408usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_PPR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_TEXASRU as *const _ as usize
},
1416usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_TEXASRU)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_PSPB as *const _ as usize },
1420usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_PSPB)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).guest_DSCR as *const _ as usize },
1424usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_DSCR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_0_r0 as *const _ as usize
},
1432usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_0_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_0_r1 as *const _ as usize
},
1448usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_0_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_0_r2 as *const _ as usize
},
1464usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_0_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_0_r3 as *const _ as usize
},
1480usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_0_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_1_r0 as *const _ as usize
},
1496usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_1_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_1_r1 as *const _ as usize
},
1512usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_1_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_1_r2 as *const _ as usize
},
1528usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_1_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_1_r3 as *const _ as usize
},
1544usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_1_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_2_r0 as *const _ as usize
},
1560usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_2_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_2_r1 as *const _ as usize
},
1576usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_2_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_2_r2 as *const _ as usize
},
1592usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_2_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_2_r3 as *const _ as usize
},
1608usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_2_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_3_r0 as *const _ as usize
},
1624usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_3_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_3_r1 as *const _ as usize
},
1640usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_3_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_3_r2 as *const _ as usize
},
1656usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_3_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_3_r3 as *const _ as usize
},
1672usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_3_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_4_r0 as *const _ as usize
},
1688usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_4_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_4_r1 as *const _ as usize
},
1704usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_4_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_4_r2 as *const _ as usize
},
1720usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_4_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_4_r3 as *const _ as usize
},
1736usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_4_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_5_r0 as *const _ as usize
},
1752usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_5_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_5_r1 as *const _ as usize
},
1768usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_5_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_5_r2 as *const _ as usize
},
1784usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_5_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_5_r3 as *const _ as usize
},
1800usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_5_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_6_r0 as *const _ as usize
},
1816usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_6_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_6_r1 as *const _ as usize
},
1832usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_6_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_6_r2 as *const _ as usize
},
1848usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_6_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_6_r3 as *const _ as usize
},
1864usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_6_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_7_r0 as *const _ as usize
},
1880usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_7_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_7_r1 as *const _ as usize
},
1896usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_7_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_7_r2 as *const _ as usize
},
1912usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_7_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC32State>())).guest_ACC_7_r3 as *const _ as usize
},
1928usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(guest_ACC_7_r3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC32State>())).padding2 as *const _ as usize },
1944usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC32State),
"::",
stringify!(padding2)
)
);
}
extern "C" {
pub fn LibVEX_GuestPPC32_initialise(vex_state: *mut VexGuestPPC32State);
}
extern "C" {
pub fn LibVEX_GuestPPC32_put_CR(cr_native: UInt, vex_state: *mut VexGuestPPC32State);
}
extern "C" {
pub fn LibVEX_GuestPPC32_get_CR(vex_state: *const VexGuestPPC32State) -> UInt;
}
extern "C" {
pub fn LibVEX_GuestPPC32_put_XER(xer_native: UInt, vex_state: *mut VexGuestPPC32State);
}
extern "C" {
pub fn LibVEX_GuestPPC32_get_XER(vex_state: *const VexGuestPPC32State) -> UInt;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestPPC64State {
pub host_EvC_FAILADDR: ULong,
pub host_EvC_COUNTER: UInt,
pub pad0: UInt,
pub guest_GPR0: ULong,
pub guest_GPR1: ULong,
pub guest_GPR2: ULong,
pub guest_GPR3: ULong,
pub guest_GPR4: ULong,
pub guest_GPR5: ULong,
pub guest_GPR6: ULong,
pub guest_GPR7: ULong,
pub guest_GPR8: ULong,
pub guest_GPR9: ULong,
pub guest_GPR10: ULong,
pub guest_GPR11: ULong,
pub guest_GPR12: ULong,
pub guest_GPR13: ULong,
pub guest_GPR14: ULong,
pub guest_GPR15: ULong,
pub guest_GPR16: ULong,
pub guest_GPR17: ULong,
pub guest_GPR18: ULong,
pub guest_GPR19: ULong,
pub guest_GPR20: ULong,
pub guest_GPR21: ULong,
pub guest_GPR22: ULong,
pub guest_GPR23: ULong,
pub guest_GPR24: ULong,
pub guest_GPR25: ULong,
pub guest_GPR26: ULong,
pub guest_GPR27: ULong,
pub guest_GPR28: ULong,
pub guest_GPR29: ULong,
pub guest_GPR30: ULong,
pub guest_GPR31: ULong,
pub guest_VSR0: U128,
pub guest_VSR1: U128,
pub guest_VSR2: U128,
pub guest_VSR3: U128,
pub guest_VSR4: U128,
pub guest_VSR5: U128,
pub guest_VSR6: U128,
pub guest_VSR7: U128,
pub guest_VSR8: U128,
pub guest_VSR9: U128,
pub guest_VSR10: U128,
pub guest_VSR11: U128,
pub guest_VSR12: U128,
pub guest_VSR13: U128,
pub guest_VSR14: U128,
pub guest_VSR15: U128,
pub guest_VSR16: U128,
pub guest_VSR17: U128,
pub guest_VSR18: U128,
pub guest_VSR19: U128,
pub guest_VSR20: U128,
pub guest_VSR21: U128,
pub guest_VSR22: U128,
pub guest_VSR23: U128,
pub guest_VSR24: U128,
pub guest_VSR25: U128,
pub guest_VSR26: U128,
pub guest_VSR27: U128,
pub guest_VSR28: U128,
pub guest_VSR29: U128,
pub guest_VSR30: U128,
pub guest_VSR31: U128,
pub guest_VSR32: U128,
pub guest_VSR33: U128,
pub guest_VSR34: U128,
pub guest_VSR35: U128,
pub guest_VSR36: U128,
pub guest_VSR37: U128,
pub guest_VSR38: U128,
pub guest_VSR39: U128,
pub guest_VSR40: U128,
pub guest_VSR41: U128,
pub guest_VSR42: U128,
pub guest_VSR43: U128,
pub guest_VSR44: U128,
pub guest_VSR45: U128,
pub guest_VSR46: U128,
pub guest_VSR47: U128,
pub guest_VSR48: U128,
pub guest_VSR49: U128,
pub guest_VSR50: U128,
pub guest_VSR51: U128,
pub guest_VSR52: U128,
pub guest_VSR53: U128,
pub guest_VSR54: U128,
pub guest_VSR55: U128,
pub guest_VSR56: U128,
pub guest_VSR57: U128,
pub guest_VSR58: U128,
pub guest_VSR59: U128,
pub guest_VSR60: U128,
pub guest_VSR61: U128,
pub guest_VSR62: U128,
pub guest_VSR63: U128,
pub guest_CIA: ULong,
pub guest_LR: ULong,
pub guest_CTR: ULong,
pub guest_XER_SO: UChar,
pub guest_XER_OV: UChar,
pub guest_XER_OV32: UChar,
pub guest_XER_CA: UChar,
pub guest_XER_CA32: UChar,
pub guest_XER_BC: UChar,
pub guest_CR0_321: UChar,
pub guest_CR0_0: UChar,
pub guest_CR1_321: UChar,
pub guest_CR1_0: UChar,
pub guest_CR2_321: UChar,
pub guest_CR2_0: UChar,
pub guest_CR3_321: UChar,
pub guest_CR3_0: UChar,
pub guest_CR4_321: UChar,
pub guest_CR4_0: UChar,
pub guest_CR5_321: UChar,
pub guest_CR5_0: UChar,
pub guest_CR6_321: UChar,
pub guest_CR6_0: UChar,
pub guest_CR7_321: UChar,
pub guest_CR7_0: UChar,
pub guest_FPROUND: UChar,
pub guest_DFPROUND: UChar,
pub guest_C_FPCC: UChar,
pub pad2: UChar,
pub pad3: UChar,
pub pad4: UChar,
pub guest_VRSAVE: UInt,
pub guest_VSCR: UInt,
pub guest_EMNOTE: UInt,
pub padding: UInt,
pub guest_CMSTART: ULong,
pub guest_CMLEN: ULong,
pub guest_NRADDR: ULong,
pub guest_NRADDR_GPR2: ULong,
pub guest_REDIR_SP: ULong,
pub guest_REDIR_STACK: [ULong; 32usize],
pub guest_IP_AT_SYSCALL: ULong,
pub guest_SPRG3_RO: ULong,
pub guest_TFHAR: ULong,
pub guest_TEXASR: ULong,
pub guest_TFIAR: ULong,
pub guest_PPR: ULong,
pub guest_TEXASRU: UInt,
pub guest_PSPB: UInt,
pub guest_DSCR: ULong,
pub guest_ACC_0_r0: U128,
pub guest_ACC_0_r1: U128,
pub guest_ACC_0_r2: U128,
pub guest_ACC_0_r3: U128,
pub guest_ACC_1_r0: U128,
pub guest_ACC_1_r1: U128,
pub guest_ACC_1_r2: U128,
pub guest_ACC_1_r3: U128,
pub guest_ACC_2_r0: U128,
pub guest_ACC_2_r1: U128,
pub guest_ACC_2_r2: U128,
pub guest_ACC_2_r3: U128,
pub guest_ACC_3_r0: U128,
pub guest_ACC_3_r1: U128,
pub guest_ACC_3_r2: U128,
pub guest_ACC_3_r3: U128,
pub guest_ACC_4_r0: U128,
pub guest_ACC_4_r1: U128,
pub guest_ACC_4_r2: U128,
pub guest_ACC_4_r3: U128,
pub guest_ACC_5_r0: U128,
pub guest_ACC_5_r1: U128,
pub guest_ACC_5_r2: U128,
pub guest_ACC_5_r3: U128,
pub guest_ACC_6_r0: U128,
pub guest_ACC_6_r1: U128,
pub guest_ACC_6_r2: U128,
pub guest_ACC_6_r3: U128,
pub guest_ACC_7_r0: U128,
pub guest_ACC_7_r1: U128,
pub guest_ACC_7_r2: U128,
pub guest_ACC_7_r3: U128,
}
#[test]
fn bindgen_test_layout_VexGuestPPC64State() {
assert_eq!(
::std::mem::size_of::<VexGuestPPC64State>(),
2240usize,
concat!("Size of: ", stringify!(VexGuestPPC64State))
);
assert_eq!(
::std::mem::align_of::<VexGuestPPC64State>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestPPC64State))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).host_EvC_FAILADDR as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(host_EvC_FAILADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).host_EvC_COUNTER as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(host_EvC_COUNTER)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).pad0 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(pad0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR0 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR1 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR2 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR3 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR4 as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR5 as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR6 as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR7 as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR8 as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR9 as *const _ as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR10 as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR11 as *const _ as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR12 as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR13 as *const _ as usize },
120usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR14 as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR15 as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR16 as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR17 as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR18 as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR19 as *const _ as usize },
168usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR20 as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR21 as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR22 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR23 as *const _ as usize },
200usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR24 as *const _ as usize },
208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR25 as *const _ as usize },
216usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR26 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR27 as *const _ as usize },
232usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR28 as *const _ as usize },
240usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR29 as *const _ as usize },
248usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR30 as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_GPR31 as *const _ as usize },
264usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_GPR31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR0 as *const _ as usize },
272usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR1 as *const _ as usize },
288usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR2 as *const _ as usize },
304usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR3 as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR4 as *const _ as usize },
336usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR5 as *const _ as usize },
352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR6 as *const _ as usize },
368usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR7 as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR8 as *const _ as usize },
400usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR9 as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR10 as *const _ as usize },
432usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR11 as *const _ as usize },
448usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR12 as *const _ as usize },
464usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR13 as *const _ as usize },
480usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR14 as *const _ as usize },
496usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR15 as *const _ as usize },
512usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR16 as *const _ as usize },
528usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR17 as *const _ as usize },
544usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR18 as *const _ as usize },
560usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR19 as *const _ as usize },
576usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR20 as *const _ as usize },
592usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR21 as *const _ as usize },
608usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR22 as *const _ as usize },
624usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR23 as *const _ as usize },
640usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR24 as *const _ as usize },
656usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR25 as *const _ as usize },
672usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR26 as *const _ as usize },
688usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR27 as *const _ as usize },
704usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR28 as *const _ as usize },
720usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR29 as *const _ as usize },
736usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR30 as *const _ as usize },
752usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR31 as *const _ as usize },
768usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR32 as *const _ as usize },
784usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR32)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR33 as *const _ as usize },
800usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR33)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR34 as *const _ as usize },
816usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR34)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR35 as *const _ as usize },
832usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR35)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR36 as *const _ as usize },
848usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR36)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR37 as *const _ as usize },
864usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR37)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR38 as *const _ as usize },
880usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR38)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR39 as *const _ as usize },
896usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR39)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR40 as *const _ as usize },
912usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR40)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR41 as *const _ as usize },
928usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR41)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR42 as *const _ as usize },
944usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR42)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR43 as *const _ as usize },
960usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR43)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR44 as *const _ as usize },
976usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR44)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR45 as *const _ as usize },
992usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR45)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR46 as *const _ as usize },
1008usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR46)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR47 as *const _ as usize },
1024usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR47)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR48 as *const _ as usize },
1040usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR48)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR49 as *const _ as usize },
1056usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR49)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR50 as *const _ as usize },
1072usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR50)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR51 as *const _ as usize },
1088usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR51)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR52 as *const _ as usize },
1104usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR52)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR53 as *const _ as usize },
1120usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR53)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR54 as *const _ as usize },
1136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR54)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR55 as *const _ as usize },
1152usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR55)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR56 as *const _ as usize },
1168usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR56)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR57 as *const _ as usize },
1184usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR57)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR58 as *const _ as usize },
1200usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR58)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR59 as *const _ as usize },
1216usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR59)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR60 as *const _ as usize },
1232usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR60)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR61 as *const _ as usize },
1248usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR61)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR62 as *const _ as usize },
1264usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR62)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSR63 as *const _ as usize },
1280usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSR63)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CIA as *const _ as usize },
1296usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CIA)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_LR as *const _ as usize },
1304usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_LR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CTR as *const _ as usize },
1312usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CTR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_XER_SO as *const _ as usize },
1320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_XER_SO)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_XER_OV as *const _ as usize },
1321usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_XER_OV)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_XER_OV32 as *const _ as usize
},
1322usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_XER_OV32)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_XER_CA as *const _ as usize },
1323usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_XER_CA)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_XER_CA32 as *const _ as usize
},
1324usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_XER_CA32)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_XER_BC as *const _ as usize },
1325usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_XER_BC)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR0_321 as *const _ as usize
},
1326usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR0_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR0_0 as *const _ as usize },
1327usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR0_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR1_321 as *const _ as usize
},
1328usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR1_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR1_0 as *const _ as usize },
1329usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR1_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR2_321 as *const _ as usize
},
1330usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR2_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR2_0 as *const _ as usize },
1331usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR2_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR3_321 as *const _ as usize
},
1332usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR3_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR3_0 as *const _ as usize },
1333usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR3_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR4_321 as *const _ as usize
},
1334usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR4_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR4_0 as *const _ as usize },
1335usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR4_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR5_321 as *const _ as usize
},
1336usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR5_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR5_0 as *const _ as usize },
1337usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR5_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR6_321 as *const _ as usize
},
1338usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR6_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR6_0 as *const _ as usize },
1339usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR6_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR7_321 as *const _ as usize
},
1340usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR7_321)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CR7_0 as *const _ as usize },
1341usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CR7_0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_FPROUND as *const _ as usize
},
1342usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_FPROUND)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_DFPROUND as *const _ as usize
},
1343usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_DFPROUND)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_C_FPCC as *const _ as usize },
1344usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_C_FPCC)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).pad2 as *const _ as usize },
1345usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(pad2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).pad3 as *const _ as usize },
1346usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(pad3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).pad4 as *const _ as usize },
1347usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(pad4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VRSAVE as *const _ as usize },
1348usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VRSAVE)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_VSCR as *const _ as usize },
1352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_VSCR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_EMNOTE as *const _ as usize },
1356usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_EMNOTE)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).padding as *const _ as usize },
1360usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(padding)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CMSTART as *const _ as usize
},
1368usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CMSTART)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_CMLEN as *const _ as usize },
1376usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_CMLEN)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_NRADDR as *const _ as usize },
1384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_NRADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_NRADDR_GPR2 as *const _ as usize
},
1392usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_NRADDR_GPR2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_REDIR_SP as *const _ as usize
},
1400usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_REDIR_SP)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_REDIR_STACK as *const _ as usize
},
1408usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_REDIR_STACK)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_IP_AT_SYSCALL as *const _ as usize
},
1664usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_IP_AT_SYSCALL)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_SPRG3_RO as *const _ as usize
},
1672usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_SPRG3_RO)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_TFHAR as *const _ as usize },
1680usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_TFHAR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_TEXASR as *const _ as usize },
1688usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_TEXASR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_TFIAR as *const _ as usize },
1696usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_TFIAR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_PPR as *const _ as usize },
1704usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_PPR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_TEXASRU as *const _ as usize
},
1712usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_TEXASRU)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_PSPB as *const _ as usize },
1716usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_PSPB)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestPPC64State>())).guest_DSCR as *const _ as usize },
1720usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_DSCR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_0_r0 as *const _ as usize
},
1728usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_0_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_0_r1 as *const _ as usize
},
1744usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_0_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_0_r2 as *const _ as usize
},
1760usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_0_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_0_r3 as *const _ as usize
},
1776usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_0_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_1_r0 as *const _ as usize
},
1792usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_1_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_1_r1 as *const _ as usize
},
1808usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_1_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_1_r2 as *const _ as usize
},
1824usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_1_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_1_r3 as *const _ as usize
},
1840usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_1_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_2_r0 as *const _ as usize
},
1856usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_2_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_2_r1 as *const _ as usize
},
1872usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_2_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_2_r2 as *const _ as usize
},
1888usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_2_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_2_r3 as *const _ as usize
},
1904usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_2_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_3_r0 as *const _ as usize
},
1920usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_3_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_3_r1 as *const _ as usize
},
1936usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_3_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_3_r2 as *const _ as usize
},
1952usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_3_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_3_r3 as *const _ as usize
},
1968usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_3_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_4_r0 as *const _ as usize
},
1984usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_4_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_4_r1 as *const _ as usize
},
2000usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_4_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_4_r2 as *const _ as usize
},
2016usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_4_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_4_r3 as *const _ as usize
},
2032usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_4_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_5_r0 as *const _ as usize
},
2048usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_5_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_5_r1 as *const _ as usize
},
2064usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_5_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_5_r2 as *const _ as usize
},
2080usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_5_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_5_r3 as *const _ as usize
},
2096usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_5_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_6_r0 as *const _ as usize
},
2112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_6_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_6_r1 as *const _ as usize
},
2128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_6_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_6_r2 as *const _ as usize
},
2144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_6_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_6_r3 as *const _ as usize
},
2160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_6_r3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_7_r0 as *const _ as usize
},
2176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_7_r0)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_7_r1 as *const _ as usize
},
2192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_7_r1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_7_r2 as *const _ as usize
},
2208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_7_r2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestPPC64State>())).guest_ACC_7_r3 as *const _ as usize
},
2224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestPPC64State),
"::",
stringify!(guest_ACC_7_r3)
)
);
}
extern "C" {
pub fn LibVEX_GuestPPC64_initialise(vex_state: *mut VexGuestPPC64State);
}
extern "C" {
pub fn LibVEX_GuestPPC64_put_CR(cr_native: UInt, vex_state: *mut VexGuestPPC64State);
}
extern "C" {
pub fn LibVEX_GuestPPC64_get_CR(vex_state: *const VexGuestPPC64State) -> UInt;
}
extern "C" {
pub fn LibVEX_GuestPPC64_put_XER(xer_native: UInt, vex_state: *mut VexGuestPPC64State);
}
extern "C" {
pub fn LibVEX_GuestPPC64_get_XER(vex_state: *const VexGuestPPC64State) -> UInt;
}
#[repr(C)]
pub struct VexGuestS390XState {
pub guest_a0: UInt,
pub guest_a1: UInt,
pub guest_a2: UInt,
pub guest_a3: UInt,
pub guest_a4: UInt,
pub guest_a5: UInt,
pub guest_a6: UInt,
pub guest_a7: UInt,
pub guest_a8: UInt,
pub guest_a9: UInt,
pub guest_a10: UInt,
pub guest_a11: UInt,
pub guest_a12: UInt,
pub guest_a13: UInt,
pub guest_a14: UInt,
pub guest_a15: UInt,
pub guest_v0: V128,
pub guest_v1: V128,
pub guest_v2: V128,
pub guest_v3: V128,
pub guest_v4: V128,
pub guest_v5: V128,
pub guest_v6: V128,
pub guest_v7: V128,
pub guest_v8: V128,
pub guest_v9: V128,
pub guest_v10: V128,
pub guest_v11: V128,
pub guest_v12: V128,
pub guest_v13: V128,
pub guest_v14: V128,
pub guest_v15: V128,
pub guest_v16: V128,
pub guest_v17: V128,
pub guest_v18: V128,
pub guest_v19: V128,
pub guest_v20: V128,
pub guest_v21: V128,
pub guest_v22: V128,
pub guest_v23: V128,
pub guest_v24: V128,
pub guest_v25: V128,
pub guest_v26: V128,
pub guest_v27: V128,
pub guest_v28: V128,
pub guest_v29: V128,
pub guest_v30: V128,
pub guest_v31: V128,
pub guest_r0: ULong,
pub guest_r1: ULong,
pub guest_r2: ULong,
pub guest_r3: ULong,
pub guest_r4: ULong,
pub guest_r5: ULong,
pub guest_r6: ULong,
pub guest_r7: ULong,
pub guest_r8: ULong,
pub guest_r9: ULong,
pub guest_r10: ULong,
pub guest_r11: ULong,
pub guest_r12: ULong,
pub guest_r13: ULong,
pub guest_r14: ULong,
pub guest_r15: ULong,
pub guest_counter: ULong,
pub guest_fpc: UInt,
pub unused: [UChar; 4usize],
pub guest_IA: ULong,
pub guest_SYSNO: ULong,
pub guest_CC_OP: ULong,
pub guest_CC_DEP1: ULong,
pub guest_CC_DEP2: ULong,
pub guest_CC_NDEP: ULong,
pub guest_NRADDR: ULong,
pub guest_CMSTART: ULong,
pub guest_CMLEN: ULong,
pub guest_IP_AT_SYSCALL: ULong,
pub guest_EMNOTE: UInt,
pub host_EvC_COUNTER: UInt,
pub host_EvC_FAILADDR: ULong,
pub padding: __IncompleteArrayField<UChar>,
}
#[test]
fn bindgen_test_layout_VexGuestS390XState() {
assert_eq!(
::std::mem::size_of::<VexGuestS390XState>(),
816usize,
concat!("Size of: ", stringify!(VexGuestS390XState))
);
assert_eq!(
::std::mem::align_of::<VexGuestS390XState>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestS390XState))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a0 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a1 as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a2 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a3 as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a4 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a5 as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a6 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a7 as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a8 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a9 as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a10 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a11 as *const _ as usize },
44usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a12 as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a13 as *const _ as usize },
52usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a14 as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_a15 as *const _ as usize },
60usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_a15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v0 as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v1 as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v2 as *const _ as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v3 as *const _ as usize },
112usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v4 as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v5 as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v6 as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v7 as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v8 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v9 as *const _ as usize },
208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v10 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v11 as *const _ as usize },
240usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v12 as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v13 as *const _ as usize },
272usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v14 as *const _ as usize },
288usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v15 as *const _ as usize },
304usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v15)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v16 as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v17 as *const _ as usize },
336usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v17)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v18 as *const _ as usize },
352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v18)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v19 as *const _ as usize },
368usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v19)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v20 as *const _ as usize },
384usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v20)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v21 as *const _ as usize },
400usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v21)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v22 as *const _ as usize },
416usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v22)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v23 as *const _ as usize },
432usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v23)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v24 as *const _ as usize },
448usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v24)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v25 as *const _ as usize },
464usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v25)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v26 as *const _ as usize },
480usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v26)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v27 as *const _ as usize },
496usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v27)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v28 as *const _ as usize },
512usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v28)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v29 as *const _ as usize },
528usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v29)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v30 as *const _ as usize },
544usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v30)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_v31 as *const _ as usize },
560usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_v31)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r0 as *const _ as usize },
576usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r1 as *const _ as usize },
584usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r2 as *const _ as usize },
592usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r3 as *const _ as usize },
600usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r4 as *const _ as usize },
608usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r5 as *const _ as usize },
616usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r6 as *const _ as usize },
624usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r7 as *const _ as usize },
632usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r8 as *const _ as usize },
640usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r9 as *const _ as usize },
648usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r9)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r10 as *const _ as usize },
656usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r10)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r11 as *const _ as usize },
664usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r11)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r12 as *const _ as usize },
672usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r12)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r13 as *const _ as usize },
680usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r13)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r14 as *const _ as usize },
688usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r14)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_r15 as *const _ as usize },
696usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_r15)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestS390XState>())).guest_counter as *const _ as usize
},
704usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_counter)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_fpc as *const _ as usize },
712usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_fpc)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).unused as *const _ as usize },
716usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(unused)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_IA as *const _ as usize },
720usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_IA)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_SYSNO as *const _ as usize },
728usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_SYSNO)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_CC_OP as *const _ as usize },
736usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_CC_OP)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestS390XState>())).guest_CC_DEP1 as *const _ as usize
},
744usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_CC_DEP1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestS390XState>())).guest_CC_DEP2 as *const _ as usize
},
752usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_CC_DEP2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestS390XState>())).guest_CC_NDEP as *const _ as usize
},
760usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_CC_NDEP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_NRADDR as *const _ as usize },
768usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_NRADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestS390XState>())).guest_CMSTART as *const _ as usize
},
776usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_CMSTART)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_CMLEN as *const _ as usize },
784usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_CMLEN)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestS390XState>())).guest_IP_AT_SYSCALL as *const _ as usize
},
792usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_IP_AT_SYSCALL)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).guest_EMNOTE as *const _ as usize },
800usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(guest_EMNOTE)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestS390XState>())).host_EvC_COUNTER as *const _ as usize
},
804usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(host_EvC_COUNTER)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestS390XState>())).host_EvC_FAILADDR as *const _ as usize
},
808usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(host_EvC_FAILADDR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestS390XState>())).padding as *const _ as usize },
816usize,
concat!(
"Offset of field: ",
stringify!(VexGuestS390XState),
"::",
stringify!(padding)
)
);
}
extern "C" {
pub fn LibVEX_GuestS390X_initialise(arg1: *mut VexGuestS390XState);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestX86State {
pub host_EvC_FAILADDR: UInt,
pub host_EvC_COUNTER: UInt,
pub guest_EAX: UInt,
pub guest_ECX: UInt,
pub guest_EDX: UInt,
pub guest_EBX: UInt,
pub guest_ESP: UInt,
pub guest_EBP: UInt,
pub guest_ESI: UInt,
pub guest_EDI: UInt,
pub guest_CC_OP: UInt,
pub guest_CC_DEP1: UInt,
pub guest_CC_DEP2: UInt,
pub guest_CC_NDEP: UInt,
pub guest_DFLAG: UInt,
pub guest_IDFLAG: UInt,
pub guest_ACFLAG: UInt,
pub guest_EIP: UInt,
pub guest_FPREG: [ULong; 8usize],
pub guest_FPTAG: [UChar; 8usize],
pub guest_FPROUND: UInt,
pub guest_FC3210: UInt,
pub guest_FTOP: UInt,
pub guest_SSEROUND: UInt,
pub guest_XMM0: U128,
pub guest_XMM1: U128,
pub guest_XMM2: U128,
pub guest_XMM3: U128,
pub guest_XMM4: U128,
pub guest_XMM5: U128,
pub guest_XMM6: U128,
pub guest_XMM7: U128,
pub guest_CS: UShort,
pub guest_DS: UShort,
pub guest_ES: UShort,
pub guest_FS: UShort,
pub guest_GS: UShort,
pub guest_SS: UShort,
pub guest_LDT: ULong,
pub guest_GDT: ULong,
pub guest_EMNOTE: UInt,
pub guest_CMSTART: UInt,
pub guest_CMLEN: UInt,
pub guest_NRADDR: UInt,
pub guest_SC_CLASS: UInt,
pub guest_IP_AT_SYSCALL: UInt,
pub padding1: UInt,
pub padding2: UInt,
pub padding3: UInt,
}
#[test]
fn bindgen_test_layout_VexGuestX86State() {
assert_eq!(
::std::mem::size_of::<VexGuestX86State>(),
360usize,
concat!("Size of: ", stringify!(VexGuestX86State))
);
assert_eq!(
::std::mem::align_of::<VexGuestX86State>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestX86State))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestX86State>())).host_EvC_FAILADDR as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(host_EvC_FAILADDR)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestX86State>())).host_EvC_COUNTER as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(host_EvC_COUNTER)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_EAX as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_EAX)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_ECX as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_ECX)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_EDX as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_EDX)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_EBX as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_EBX)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_ESP as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_ESP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_EBP as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_EBP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_ESI as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_ESI)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_EDI as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_EDI)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_CC_OP as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_CC_OP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_CC_DEP1 as *const _ as usize },
44usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_CC_DEP1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_CC_DEP2 as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_CC_DEP2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_CC_NDEP as *const _ as usize },
52usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_CC_NDEP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_DFLAG as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_DFLAG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_IDFLAG as *const _ as usize },
60usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_IDFLAG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_ACFLAG as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_ACFLAG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_EIP as *const _ as usize },
68usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_EIP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_FPREG as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_FPREG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_FPTAG as *const _ as usize },
136usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_FPTAG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_FPROUND as *const _ as usize },
144usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_FPROUND)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_FC3210 as *const _ as usize },
148usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_FC3210)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_FTOP as *const _ as usize },
152usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_FTOP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_SSEROUND as *const _ as usize },
156usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_SSEROUND)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_XMM0 as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_XMM0)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_XMM1 as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_XMM1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_XMM2 as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_XMM2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_XMM3 as *const _ as usize },
208usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_XMM3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_XMM4 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_XMM4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_XMM5 as *const _ as usize },
240usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_XMM5)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_XMM6 as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_XMM6)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_XMM7 as *const _ as usize },
272usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_XMM7)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_CS as *const _ as usize },
288usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_CS)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_DS as *const _ as usize },
290usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_DS)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_ES as *const _ as usize },
292usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_ES)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_FS as *const _ as usize },
294usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_FS)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_GS as *const _ as usize },
296usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_GS)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_SS as *const _ as usize },
298usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_SS)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_LDT as *const _ as usize },
304usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_LDT)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_GDT as *const _ as usize },
312usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_GDT)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_EMNOTE as *const _ as usize },
320usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_EMNOTE)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_CMSTART as *const _ as usize },
324usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_CMSTART)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_CMLEN as *const _ as usize },
328usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_CMLEN)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_NRADDR as *const _ as usize },
332usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_NRADDR)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).guest_SC_CLASS as *const _ as usize },
336usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_SC_CLASS)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestX86State>())).guest_IP_AT_SYSCALL as *const _ as usize
},
340usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(guest_IP_AT_SYSCALL)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).padding1 as *const _ as usize },
344usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(padding1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).padding2 as *const _ as usize },
348usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(padding2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86State>())).padding3 as *const _ as usize },
352usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86State),
"::",
stringify!(padding3)
)
);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct VexGuestX86SegDescr {
pub LdtEnt: VexGuestX86SegDescr__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union VexGuestX86SegDescr__bindgen_ty_1 {
pub Bits: VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1,
pub Words: VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2,
_bindgen_union_align: [u32; 2usize],
}
#[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1 {
pub LimitLow: UShort,
pub BaseLow: UShort,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
}
#[test]
fn bindgen_test_layout_VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1>(),
8usize,
concat!(
"Size of: ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
::std::mem::align_of::<VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1>(),
4usize,
concat!(
"Alignment of ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1>())).LimitLow
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(LimitLow)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1>())).BaseLow
as *const _ as usize
},
2usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(BaseLow)
)
);
}
impl VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_1 {
#[inline]
pub fn BaseMid(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) }
}
#[inline]
pub fn set_BaseMid(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 8u8, val as u64)
}
}
#[inline]
pub fn Type(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 5u8) as u32) }
}
#[inline]
pub fn set_Type(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(8usize, 5u8, val as u64)
}
}
#[inline]
pub fn Dpl(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(13usize, 2u8) as u32) }
}
#[inline]
pub fn set_Dpl(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(13usize, 2u8, val as u64)
}
}
#[inline]
pub fn Pres(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(15usize, 1u8) as u32) }
}
#[inline]
pub fn set_Pres(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(15usize, 1u8, val as u64)
}
}
#[inline]
pub fn LimitHi(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 4u8) as u32) }
}
#[inline]
pub fn set_LimitHi(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(16usize, 4u8, val as u64)
}
}
#[inline]
pub fn Sys(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(20usize, 1u8) as u32) }
}
#[inline]
pub fn set_Sys(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(20usize, 1u8, val as u64)
}
}
#[inline]
pub fn Reserved_0(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(21usize, 1u8) as u32) }
}
#[inline]
pub fn set_Reserved_0(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(21usize, 1u8, val as u64)
}
}
#[inline]
pub fn Default_Big(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(22usize, 1u8) as u32) }
}
#[inline]
pub fn set_Default_Big(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(22usize, 1u8, val as u64)
}
}
#[inline]
pub fn Granularity(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(23usize, 1u8) as u32) }
}
#[inline]
pub fn set_Granularity(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(23usize, 1u8, val as u64)
}
}
#[inline]
pub fn BaseHi(&self) -> UInt {
unsafe { ::std::mem::transmute(self._bitfield_1.get(24usize, 8u8) as u32) }
}
#[inline]
pub fn set_BaseHi(&mut self, val: UInt) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(24usize, 8u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
BaseMid: UInt,
Type: UInt,
Dpl: UInt,
Pres: UInt,
LimitHi: UInt,
Sys: UInt,
Reserved_0: UInt,
Default_Big: UInt,
Granularity: UInt,
BaseHi: UInt,
) -> __BindgenBitfieldUnit<[u8; 4usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 8u8, {
let BaseMid: u32 = unsafe { ::std::mem::transmute(BaseMid) };
BaseMid as u64
});
__bindgen_bitfield_unit.set(8usize, 5u8, {
let Type: u32 = unsafe { ::std::mem::transmute(Type) };
Type as u64
});
__bindgen_bitfield_unit.set(13usize, 2u8, {
let Dpl: u32 = unsafe { ::std::mem::transmute(Dpl) };
Dpl as u64
});
__bindgen_bitfield_unit.set(15usize, 1u8, {
let Pres: u32 = unsafe { ::std::mem::transmute(Pres) };
Pres as u64
});
__bindgen_bitfield_unit.set(16usize, 4u8, {
let LimitHi: u32 = unsafe { ::std::mem::transmute(LimitHi) };
LimitHi as u64
});
__bindgen_bitfield_unit.set(20usize, 1u8, {
let Sys: u32 = unsafe { ::std::mem::transmute(Sys) };
Sys as u64
});
__bindgen_bitfield_unit.set(21usize, 1u8, {
let Reserved_0: u32 = unsafe { ::std::mem::transmute(Reserved_0) };
Reserved_0 as u64
});
__bindgen_bitfield_unit.set(22usize, 1u8, {
let Default_Big: u32 = unsafe { ::std::mem::transmute(Default_Big) };
Default_Big as u64
});
__bindgen_bitfield_unit.set(23usize, 1u8, {
let Granularity: u32 = unsafe { ::std::mem::transmute(Granularity) };
Granularity as u64
});
__bindgen_bitfield_unit.set(24usize, 8u8, {
let BaseHi: u32 = unsafe { ::std::mem::transmute(BaseHi) };
BaseHi as u64
});
__bindgen_bitfield_unit
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2 {
pub word1: UInt,
pub word2: UInt,
}
#[test]
fn bindgen_test_layout_VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2>(),
8usize,
concat!(
"Size of: ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2)
)
);
assert_eq!(
::std::mem::align_of::<VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2>(),
4usize,
concat!(
"Alignment of ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2>())).word1
as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(word1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2>())).word2
as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(word2)
)
);
}
#[test]
fn bindgen_test_layout_VexGuestX86SegDescr__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<VexGuestX86SegDescr__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(VexGuestX86SegDescr__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<VexGuestX86SegDescr__bindgen_ty_1>(),
4usize,
concat!(
"Alignment of ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestX86SegDescr__bindgen_ty_1>())).Bits as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1),
"::",
stringify!(Bits)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestX86SegDescr__bindgen_ty_1>())).Words as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86SegDescr__bindgen_ty_1),
"::",
stringify!(Words)
)
);
}
#[test]
fn bindgen_test_layout_VexGuestX86SegDescr() {
assert_eq!(
::std::mem::size_of::<VexGuestX86SegDescr>(),
8usize,
concat!("Size of: ", stringify!(VexGuestX86SegDescr))
);
assert_eq!(
::std::mem::align_of::<VexGuestX86SegDescr>(),
4usize,
concat!("Alignment of ", stringify!(VexGuestX86SegDescr))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestX86SegDescr>())).LdtEnt as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestX86SegDescr),
"::",
stringify!(LdtEnt)
)
);
}
extern "C" {
pub fn LibVEX_GuestX86_initialise(vex_state: *mut VexGuestX86State);
}
extern "C" {
pub fn LibVEX_GuestX86_get_eflags(vex_state: *const VexGuestX86State) -> UInt;
}
extern "C" {
pub fn LibVEX_GuestX86_put_eflags(eflags: UInt, vex_state: *mut VexGuestX86State);
}
extern "C" {
pub fn LibVEX_GuestX86_put_eflag_c(new_carry_flag: UInt, vex_state: *mut VexGuestX86State);
}
extern "C" {
pub fn LibVEX_GuestX86_get_x87(vex_state: *mut VexGuestX86State, x87_state: *mut UChar);
}
extern "C" {
pub fn LibVEX_GuestX86_put_x87(
x87_state: *mut UChar,
vex_state: *mut VexGuestX86State,
) -> VexEmNote;
}
extern "C" {
pub fn LibVEX_GuestX86_get_mxcsr(vex_state: *mut VexGuestX86State) -> UInt;
}
extern "C" {
pub fn LibVEX_GuestX86_put_mxcsr(mxcsr: UInt, vex_state: *mut VexGuestX86State) -> VexEmNote;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IRType {
Ity_INVALID = 4352,
Ity_I1 = 4353,
Ity_I8 = 4354,
Ity_I16 = 4355,
Ity_I32 = 4356,
Ity_I64 = 4357,
Ity_I128 = 4358,
Ity_F16 = 4359,
Ity_F32 = 4360,
Ity_F64 = 4361,
Ity_D32 = 4362,
Ity_D64 = 4363,
Ity_D128 = 4364,
Ity_F128 = 4365,
Ity_V128 = 4366,
Ity_V256 = 4367,
}
extern "C" {
pub fn ppIRType(arg1: IRType);
}
extern "C" {
pub fn sizeofIRType(arg1: IRType) -> Int;
}
extern "C" {
pub fn integerIRTypeOfSize(szB: Int) -> IRType;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IREndness {
Iend_LE = 4608,
Iend_BE = 4609,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IRConstTag {
Ico_U1 = 4864,
Ico_U8 = 4865,
Ico_U16 = 4866,
Ico_U32 = 4867,
Ico_U64 = 4868,
Ico_F32 = 4869,
Ico_F32i = 4870,
Ico_F64 = 4871,
Ico_F64i = 4872,
Ico_V128 = 4873,
Ico_V256 = 4874,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _IRConst {
pub tag: IRConstTag,
pub Ico: _IRConst__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _IRConst__bindgen_ty_1 {
pub U1: Bool,
pub U8: UChar,
pub U16: UShort,
pub U32: UInt,
pub U64: ULong,
pub F32: Float,
pub F32i: UInt,
pub F64: Double,
pub F64i: ULong,
pub V128: UShort,
pub V256: UInt,
_bindgen_union_align: u64,
}
#[test]
fn bindgen_test_layout__IRConst__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_IRConst__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(_IRConst__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_IRConst__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(_IRConst__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).U1 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(U1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).U8 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(U8)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).U16 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(U16)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).U32 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(U32)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).U64 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(U64)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).F32 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(F32)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).F32i as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(F32i)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).F64 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(F64)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).F64i as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(F64i)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).V128 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(V128)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst__bindgen_ty_1>())).V256 as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst__bindgen_ty_1),
"::",
stringify!(V256)
)
);
}
#[test]
fn bindgen_test_layout__IRConst() {
assert_eq!(
::std::mem::size_of::<_IRConst>(),
16usize,
concat!("Size of: ", stringify!(_IRConst))
);
assert_eq!(
::std::mem::align_of::<_IRConst>(),
8usize,
concat!("Alignment of ", stringify!(_IRConst))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst>())).tag as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRConst),
"::",
stringify!(tag)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRConst>())).Ico as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_IRConst),
"::",
stringify!(Ico)
)
);
}
pub type IRConst = _IRConst;
extern "C" {
pub fn IRConst_U1(arg1: Bool) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_U8(arg1: UChar) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_U16(arg1: UShort) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_U32(arg1: UInt) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_U64(arg1: ULong) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_F32(arg1: Float) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_F32i(arg1: UInt) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_F64(arg1: Double) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_F64i(arg1: ULong) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_V128(arg1: UShort) -> *mut IRConst;
}
extern "C" {
pub fn IRConst_V256(arg1: UInt) -> *mut IRConst;
}
extern "C" {
pub fn deepCopyIRConst(arg1: *const IRConst) -> *mut IRConst;
}
extern "C" {
pub fn ppIRConst(arg1: *const IRConst);
}
extern "C" {
pub fn eqIRConst(arg1: *const IRConst, arg2: *const IRConst) -> Bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct IRCallee {
pub regparms: Int,
pub name: *const HChar,
pub addr: *mut ::std::os::raw::c_void,
pub mcx_mask: UInt,
}
#[test]
fn bindgen_test_layout_IRCallee() {
assert_eq!(
::std::mem::size_of::<IRCallee>(),
32usize,
concat!("Size of: ", stringify!(IRCallee))
);
assert_eq!(
::std::mem::align_of::<IRCallee>(),
8usize,
concat!("Alignment of ", stringify!(IRCallee))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCallee>())).regparms as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(IRCallee),
"::",
stringify!(regparms)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCallee>())).name as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(IRCallee),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCallee>())).addr as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(IRCallee),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCallee>())).mcx_mask as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(IRCallee),
"::",
stringify!(mcx_mask)
)
);
}
extern "C" {
pub fn mkIRCallee(
regparms: Int,
name: *const HChar,
addr: *mut ::std::os::raw::c_void,
) -> *mut IRCallee;
}
extern "C" {
pub fn deepCopyIRCallee(arg1: *const IRCallee) -> *mut IRCallee;
}
extern "C" {
pub fn ppIRCallee(arg1: *const IRCallee);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct IRRegArray {
pub base: Int,
pub elemTy: IRType,
pub nElems: Int,
}
#[test]
fn bindgen_test_layout_IRRegArray() {
assert_eq!(
::std::mem::size_of::<IRRegArray>(),
12usize,
concat!("Size of: ", stringify!(IRRegArray))
);
assert_eq!(
::std::mem::align_of::<IRRegArray>(),
4usize,
concat!("Alignment of ", stringify!(IRRegArray))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRRegArray>())).base as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(IRRegArray),
"::",
stringify!(base)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRRegArray>())).elemTy as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(IRRegArray),
"::",
stringify!(elemTy)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRRegArray>())).nElems as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(IRRegArray),
"::",
stringify!(nElems)
)
);
}
extern "C" {
pub fn mkIRRegArray(arg1: Int, arg2: IRType, arg3: Int) -> *mut IRRegArray;
}
extern "C" {
pub fn deepCopyIRRegArray(arg1: *const IRRegArray) -> *mut IRRegArray;
}
extern "C" {
pub fn ppIRRegArray(arg1: *const IRRegArray);
}
extern "C" {
pub fn eqIRRegArray(arg1: *const IRRegArray, arg2: *const IRRegArray) -> Bool;
}
pub type IRTemp = UInt;
extern "C" {
pub fn ppIRTemp(arg1: IRTemp);
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IROp {
Iop_INVALID = 5120,
Iop_Add8 = 5121,
Iop_Add16 = 5122,
Iop_Add32 = 5123,
Iop_Add64 = 5124,
Iop_Sub8 = 5125,
Iop_Sub16 = 5126,
Iop_Sub32 = 5127,
Iop_Sub64 = 5128,
Iop_Mul8 = 5129,
Iop_Mul16 = 5130,
Iop_Mul32 = 5131,
Iop_Mul64 = 5132,
Iop_Or8 = 5133,
Iop_Or16 = 5134,
Iop_Or32 = 5135,
Iop_Or64 = 5136,
Iop_And8 = 5137,
Iop_And16 = 5138,
Iop_And32 = 5139,
Iop_And64 = 5140,
Iop_Xor8 = 5141,
Iop_Xor16 = 5142,
Iop_Xor32 = 5143,
Iop_Xor64 = 5144,
Iop_Shl8 = 5145,
Iop_Shl16 = 5146,
Iop_Shl32 = 5147,
Iop_Shl64 = 5148,
Iop_Shr8 = 5149,
Iop_Shr16 = 5150,
Iop_Shr32 = 5151,
Iop_Shr64 = 5152,
Iop_Sar8 = 5153,
Iop_Sar16 = 5154,
Iop_Sar32 = 5155,
Iop_Sar64 = 5156,
Iop_CmpEQ8 = 5157,
Iop_CmpEQ16 = 5158,
Iop_CmpEQ32 = 5159,
Iop_CmpEQ64 = 5160,
Iop_CmpNE8 = 5161,
Iop_CmpNE16 = 5162,
Iop_CmpNE32 = 5163,
Iop_CmpNE64 = 5164,
Iop_Not8 = 5165,
Iop_Not16 = 5166,
Iop_Not32 = 5167,
Iop_Not64 = 5168,
Iop_CasCmpEQ8 = 5169,
Iop_CasCmpEQ16 = 5170,
Iop_CasCmpEQ32 = 5171,
Iop_CasCmpEQ64 = 5172,
Iop_CasCmpNE8 = 5173,
Iop_CasCmpNE16 = 5174,
Iop_CasCmpNE32 = 5175,
Iop_CasCmpNE64 = 5176,
Iop_ExpCmpNE8 = 5177,
Iop_ExpCmpNE16 = 5178,
Iop_ExpCmpNE32 = 5179,
Iop_ExpCmpNE64 = 5180,
Iop_MullS8 = 5181,
Iop_MullS16 = 5182,
Iop_MullS32 = 5183,
Iop_MullS64 = 5184,
Iop_MullU8 = 5185,
Iop_MullU16 = 5186,
Iop_MullU32 = 5187,
Iop_MullU64 = 5188,
Iop_Clz64 = 5189,
Iop_Clz32 = 5190,
Iop_Ctz64 = 5191,
Iop_Ctz32 = 5192,
Iop_ClzNat64 = 5193,
Iop_ClzNat32 = 5194,
Iop_CtzNat64 = 5195,
Iop_CtzNat32 = 5196,
Iop_PopCount64 = 5197,
Iop_PopCount32 = 5198,
Iop_CmpLT32S = 5199,
Iop_CmpLT64S = 5200,
Iop_CmpLE32S = 5201,
Iop_CmpLE64S = 5202,
Iop_CmpLT32U = 5203,
Iop_CmpLT64U = 5204,
Iop_CmpLE32U = 5205,
Iop_CmpLE64U = 5206,
Iop_CmpNEZ8 = 5207,
Iop_CmpNEZ16 = 5208,
Iop_CmpNEZ32 = 5209,
Iop_CmpNEZ64 = 5210,
Iop_CmpwNEZ32 = 5211,
Iop_CmpwNEZ64 = 5212,
Iop_Left8 = 5213,
Iop_Left16 = 5214,
Iop_Left32 = 5215,
Iop_Left64 = 5216,
Iop_Max32U = 5217,
Iop_CmpORD32U = 5218,
Iop_CmpORD64U = 5219,
Iop_CmpORD32S = 5220,
Iop_CmpORD64S = 5221,
Iop_DivU32 = 5222,
Iop_DivS32 = 5223,
Iop_DivU64 = 5224,
Iop_DivS64 = 5225,
Iop_DivU64E = 5226,
Iop_DivS64E = 5227,
Iop_DivU32E = 5228,
Iop_DivS32E = 5229,
Iop_DivModU64to32 = 5230,
Iop_DivModS64to32 = 5231,
Iop_DivModU128to64 = 5232,
Iop_DivModS128to64 = 5233,
Iop_DivModS64to64 = 5234,
Iop_DivModU64to64 = 5235,
Iop_DivModS32to32 = 5236,
Iop_DivModU32to32 = 5237,
Iop_8Uto16 = 5238,
Iop_8Uto32 = 5239,
Iop_8Uto64 = 5240,
Iop_16Uto32 = 5241,
Iop_16Uto64 = 5242,
Iop_32Uto64 = 5243,
Iop_8Sto16 = 5244,
Iop_8Sto32 = 5245,
Iop_8Sto64 = 5246,
Iop_16Sto32 = 5247,
Iop_16Sto64 = 5248,
Iop_32Sto64 = 5249,
Iop_64to8 = 5250,
Iop_32to8 = 5251,
Iop_64to16 = 5252,
Iop_16to8 = 5253,
Iop_16HIto8 = 5254,
Iop_8HLto16 = 5255,
Iop_32to16 = 5256,
Iop_32HIto16 = 5257,
Iop_16HLto32 = 5258,
Iop_64to32 = 5259,
Iop_64HIto32 = 5260,
Iop_32HLto64 = 5261,
Iop_128to64 = 5262,
Iop_128HIto64 = 5263,
Iop_64HLto128 = 5264,
Iop_Not1 = 5265,
Iop_And1 = 5266,
Iop_Or1 = 5267,
Iop_32to1 = 5268,
Iop_64to1 = 5269,
Iop_1Uto8 = 5270,
Iop_1Uto32 = 5271,
Iop_1Uto64 = 5272,
Iop_1Sto8 = 5273,
Iop_1Sto16 = 5274,
Iop_1Sto32 = 5275,
Iop_1Sto64 = 5276,
Iop_AddF64 = 5277,
Iop_SubF64 = 5278,
Iop_MulF64 = 5279,
Iop_DivF64 = 5280,
Iop_AddF32 = 5281,
Iop_SubF32 = 5282,
Iop_MulF32 = 5283,
Iop_DivF32 = 5284,
Iop_AddF64r32 = 5285,
Iop_SubF64r32 = 5286,
Iop_MulF64r32 = 5287,
Iop_DivF64r32 = 5288,
Iop_NegF64 = 5289,
Iop_AbsF64 = 5290,
Iop_NegF32 = 5291,
Iop_AbsF32 = 5292,
Iop_NegF16 = 5293,
Iop_AbsF16 = 5294,
Iop_SqrtF64 = 5295,
Iop_SqrtF32 = 5296,
Iop_SqrtF16 = 5297,
Iop_CmpF64 = 5298,
Iop_CmpF32 = 5299,
Iop_CmpF128 = 5300,
Iop_F64toI16S = 5301,
Iop_F64toI32S = 5302,
Iop_F64toI64S = 5303,
Iop_F64toI64U = 5304,
Iop_F64toI32U = 5305,
Iop_I32StoF64 = 5306,
Iop_I64StoF64 = 5307,
Iop_I64UtoF64 = 5308,
Iop_I64UtoF32 = 5309,
Iop_I32UtoF32 = 5310,
Iop_I32UtoF64 = 5311,
Iop_F32toI32S = 5312,
Iop_F32toI64S = 5313,
Iop_F32toI32U = 5314,
Iop_F32toI64U = 5315,
Iop_I32StoF32 = 5316,
Iop_I64StoF32 = 5317,
Iop_F32toF64 = 5318,
Iop_F64toF32 = 5319,
Iop_ReinterpF64asI64 = 5320,
Iop_ReinterpI64asF64 = 5321,
Iop_ReinterpF32asI32 = 5322,
Iop_ReinterpI32asF32 = 5323,
Iop_F64HLtoF128 = 5324,
Iop_F128HItoF64 = 5325,
Iop_F128LOtoF64 = 5326,
Iop_AddF128 = 5327,
Iop_SubF128 = 5328,
Iop_MulF128 = 5329,
Iop_DivF128 = 5330,
Iop_MAddF128 = 5331,
Iop_MSubF128 = 5332,
Iop_NegMAddF128 = 5333,
Iop_NegMSubF128 = 5334,
Iop_NegF128 = 5335,
Iop_AbsF128 = 5336,
Iop_SqrtF128 = 5337,
Iop_I32StoF128 = 5338,
Iop_I64StoF128 = 5339,
Iop_I32UtoF128 = 5340,
Iop_I64UtoF128 = 5341,
Iop_F32toF128 = 5342,
Iop_F64toF128 = 5343,
Iop_F128toI32S = 5344,
Iop_F128toI64S = 5345,
Iop_F128toI32U = 5346,
Iop_F128toI64U = 5347,
Iop_F128toI128S = 5348,
Iop_F128toF64 = 5349,
Iop_F128toF32 = 5350,
Iop_RndF128 = 5351,
Iop_TruncF128toI32S = 5352,
Iop_TruncF128toI32U = 5353,
Iop_TruncF128toI64U = 5354,
Iop_TruncF128toI64S = 5355,
Iop_AtanF64 = 5356,
Iop_Yl2xF64 = 5357,
Iop_Yl2xp1F64 = 5358,
Iop_PRemF64 = 5359,
Iop_PRemC3210F64 = 5360,
Iop_PRem1F64 = 5361,
Iop_PRem1C3210F64 = 5362,
Iop_ScaleF64 = 5363,
Iop_SinF64 = 5364,
Iop_CosF64 = 5365,
Iop_TanF64 = 5366,
Iop_2xm1F64 = 5367,
Iop_RoundF128toInt = 5368,
Iop_RoundF64toInt = 5369,
Iop_RoundF32toInt = 5370,
Iop_MAddF32 = 5371,
Iop_MSubF32 = 5372,
Iop_MAddF64 = 5373,
Iop_MSubF64 = 5374,
Iop_MAddF64r32 = 5375,
Iop_MSubF64r32 = 5376,
Iop_RSqrtEst5GoodF64 = 5377,
Iop_RoundF64toF64_NEAREST = 5378,
Iop_RoundF64toF64_NegINF = 5379,
Iop_RoundF64toF64_PosINF = 5380,
Iop_RoundF64toF64_ZERO = 5381,
Iop_TruncF64asF32 = 5382,
Iop_RoundF64toF32 = 5383,
Iop_RecpExpF64 = 5384,
Iop_RecpExpF32 = 5385,
Iop_MaxNumF64 = 5386,
Iop_MinNumF64 = 5387,
Iop_MaxNumF32 = 5388,
Iop_MinNumF32 = 5389,
Iop_F16toF64 = 5390,
Iop_F64toF16 = 5391,
Iop_F16toF32 = 5392,
Iop_F32toF16 = 5393,
Iop_QAdd32S = 5394,
Iop_QSub32S = 5395,
Iop_Add16x2 = 5396,
Iop_Sub16x2 = 5397,
Iop_QAdd16Sx2 = 5398,
Iop_QAdd16Ux2 = 5399,
Iop_QSub16Sx2 = 5400,
Iop_QSub16Ux2 = 5401,
Iop_HAdd16Ux2 = 5402,
Iop_HAdd16Sx2 = 5403,
Iop_HSub16Ux2 = 5404,
Iop_HSub16Sx2 = 5405,
Iop_Add8x4 = 5406,
Iop_Sub8x4 = 5407,
Iop_QAdd8Sx4 = 5408,
Iop_QAdd8Ux4 = 5409,
Iop_QSub8Sx4 = 5410,
Iop_QSub8Ux4 = 5411,
Iop_HAdd8Ux4 = 5412,
Iop_HAdd8Sx4 = 5413,
Iop_HSub8Ux4 = 5414,
Iop_HSub8Sx4 = 5415,
Iop_Sad8Ux4 = 5416,
Iop_CmpNEZ16x2 = 5417,
Iop_CmpNEZ8x4 = 5418,
Iop_Reverse8sIn32_x1 = 5419,
Iop_I32UtoF32x2_DEP = 5420,
Iop_I32StoF32x2_DEP = 5421,
Iop_F32toI32Ux2_RZ = 5422,
Iop_F32toI32Sx2_RZ = 5423,
Iop_F32ToFixed32Ux2_RZ = 5424,
Iop_F32ToFixed32Sx2_RZ = 5425,
Iop_Fixed32UToF32x2_RN = 5426,
Iop_Fixed32SToF32x2_RN = 5427,
Iop_Max32Fx2 = 5428,
Iop_Min32Fx2 = 5429,
Iop_PwMax32Fx2 = 5430,
Iop_PwMin32Fx2 = 5431,
Iop_CmpEQ32Fx2 = 5432,
Iop_CmpGT32Fx2 = 5433,
Iop_CmpGE32Fx2 = 5434,
Iop_RecipEst32Fx2 = 5435,
Iop_RecipStep32Fx2 = 5436,
Iop_RSqrtEst32Fx2 = 5437,
Iop_RSqrtStep32Fx2 = 5438,
Iop_Neg32Fx2 = 5439,
Iop_Abs32Fx2 = 5440,
Iop_CmpNEZ8x8 = 5441,
Iop_CmpNEZ16x4 = 5442,
Iop_CmpNEZ32x2 = 5443,
Iop_Add8x8 = 5444,
Iop_Add16x4 = 5445,
Iop_Add32x2 = 5446,
Iop_QAdd8Ux8 = 5447,
Iop_QAdd16Ux4 = 5448,
Iop_QAdd32Ux2 = 5449,
Iop_QAdd64Ux1 = 5450,
Iop_QAdd8Sx8 = 5451,
Iop_QAdd16Sx4 = 5452,
Iop_QAdd32Sx2 = 5453,
Iop_QAdd64Sx1 = 5454,
Iop_PwAdd8x8 = 5455,
Iop_PwAdd16x4 = 5456,
Iop_PwAdd32x2 = 5457,
Iop_PwMax8Sx8 = 5458,
Iop_PwMax16Sx4 = 5459,
Iop_PwMax32Sx2 = 5460,
Iop_PwMax8Ux8 = 5461,
Iop_PwMax16Ux4 = 5462,
Iop_PwMax32Ux2 = 5463,
Iop_PwMin8Sx8 = 5464,
Iop_PwMin16Sx4 = 5465,
Iop_PwMin32Sx2 = 5466,
Iop_PwMin8Ux8 = 5467,
Iop_PwMin16Ux4 = 5468,
Iop_PwMin32Ux2 = 5469,
Iop_PwAddL8Ux8 = 5470,
Iop_PwAddL16Ux4 = 5471,
Iop_PwAddL32Ux2 = 5472,
Iop_PwAddL8Sx8 = 5473,
Iop_PwAddL16Sx4 = 5474,
Iop_PwAddL32Sx2 = 5475,
Iop_Sub8x8 = 5476,
Iop_Sub16x4 = 5477,
Iop_Sub32x2 = 5478,
Iop_QSub8Ux8 = 5479,
Iop_QSub16Ux4 = 5480,
Iop_QSub32Ux2 = 5481,
Iop_QSub64Ux1 = 5482,
Iop_QSub8Sx8 = 5483,
Iop_QSub16Sx4 = 5484,
Iop_QSub32Sx2 = 5485,
Iop_QSub64Sx1 = 5486,
Iop_Abs8x8 = 5487,
Iop_Abs16x4 = 5488,
Iop_Abs32x2 = 5489,
Iop_Mul8x8 = 5490,
Iop_Mul16x4 = 5491,
Iop_Mul32x2 = 5492,
Iop_Mul32Fx2 = 5493,
Iop_MulHi16Ux4 = 5494,
Iop_MulHi16Sx4 = 5495,
Iop_PolynomialMul8x8 = 5496,
Iop_QDMulHi16Sx4 = 5497,
Iop_QDMulHi32Sx2 = 5498,
Iop_QRDMulHi16Sx4 = 5499,
Iop_QRDMulHi32Sx2 = 5500,
Iop_Avg8Ux8 = 5501,
Iop_Avg16Ux4 = 5502,
Iop_Max8Sx8 = 5503,
Iop_Max16Sx4 = 5504,
Iop_Max32Sx2 = 5505,
Iop_Max8Ux8 = 5506,
Iop_Max16Ux4 = 5507,
Iop_Max32Ux2 = 5508,
Iop_Min8Sx8 = 5509,
Iop_Min16Sx4 = 5510,
Iop_Min32Sx2 = 5511,
Iop_Min8Ux8 = 5512,
Iop_Min16Ux4 = 5513,
Iop_Min32Ux2 = 5514,
Iop_CmpEQ8x8 = 5515,
Iop_CmpEQ16x4 = 5516,
Iop_CmpEQ32x2 = 5517,
Iop_CmpGT8Ux8 = 5518,
Iop_CmpGT16Ux4 = 5519,
Iop_CmpGT32Ux2 = 5520,
Iop_CmpGT8Sx8 = 5521,
Iop_CmpGT16Sx4 = 5522,
Iop_CmpGT32Sx2 = 5523,
Iop_Cnt8x8 = 5524,
Iop_Clz8x8 = 5525,
Iop_Clz16x4 = 5526,
Iop_Clz32x2 = 5527,
Iop_Cls8x8 = 5528,
Iop_Cls16x4 = 5529,
Iop_Cls32x2 = 5530,
Iop_Clz64x2 = 5531,
Iop_Ctz8x16 = 5532,
Iop_Ctz16x8 = 5533,
Iop_Ctz32x4 = 5534,
Iop_Ctz64x2 = 5535,
Iop_Shl8x8 = 5536,
Iop_Shl16x4 = 5537,
Iop_Shl32x2 = 5538,
Iop_Shr8x8 = 5539,
Iop_Shr16x4 = 5540,
Iop_Shr32x2 = 5541,
Iop_Sar8x8 = 5542,
Iop_Sar16x4 = 5543,
Iop_Sar32x2 = 5544,
Iop_Sal8x8 = 5545,
Iop_Sal16x4 = 5546,
Iop_Sal32x2 = 5547,
Iop_Sal64x1 = 5548,
Iop_ShlN8x8 = 5549,
Iop_ShlN16x4 = 5550,
Iop_ShlN32x2 = 5551,
Iop_ShrN8x8 = 5552,
Iop_ShrN16x4 = 5553,
Iop_ShrN32x2 = 5554,
Iop_SarN8x8 = 5555,
Iop_SarN16x4 = 5556,
Iop_SarN32x2 = 5557,
Iop_QShl8x8 = 5558,
Iop_QShl16x4 = 5559,
Iop_QShl32x2 = 5560,
Iop_QShl64x1 = 5561,
Iop_QSal8x8 = 5562,
Iop_QSal16x4 = 5563,
Iop_QSal32x2 = 5564,
Iop_QSal64x1 = 5565,
Iop_QShlNsatSU8x8 = 5566,
Iop_QShlNsatSU16x4 = 5567,
Iop_QShlNsatSU32x2 = 5568,
Iop_QShlNsatSU64x1 = 5569,
Iop_QShlNsatUU8x8 = 5570,
Iop_QShlNsatUU16x4 = 5571,
Iop_QShlNsatUU32x2 = 5572,
Iop_QShlNsatUU64x1 = 5573,
Iop_QShlNsatSS8x8 = 5574,
Iop_QShlNsatSS16x4 = 5575,
Iop_QShlNsatSS32x2 = 5576,
Iop_QShlNsatSS64x1 = 5577,
Iop_QNarrowBin16Sto8Ux8 = 5578,
Iop_QNarrowBin16Sto8Sx8 = 5579,
Iop_QNarrowBin32Sto16Sx4 = 5580,
Iop_NarrowBin16to8x8 = 5581,
Iop_NarrowBin32to16x4 = 5582,
Iop_InterleaveHI8x8 = 5583,
Iop_InterleaveHI16x4 = 5584,
Iop_InterleaveHI32x2 = 5585,
Iop_InterleaveLO8x8 = 5586,
Iop_InterleaveLO16x4 = 5587,
Iop_InterleaveLO32x2 = 5588,
Iop_InterleaveOddLanes8x8 = 5589,
Iop_InterleaveEvenLanes8x8 = 5590,
Iop_InterleaveOddLanes16x4 = 5591,
Iop_InterleaveEvenLanes16x4 = 5592,
Iop_CatOddLanes8x8 = 5593,
Iop_CatOddLanes16x4 = 5594,
Iop_CatEvenLanes8x8 = 5595,
Iop_CatEvenLanes16x4 = 5596,
Iop_GetElem8x8 = 5597,
Iop_GetElem16x4 = 5598,
Iop_GetElem32x2 = 5599,
Iop_SetElem8x8 = 5600,
Iop_SetElem16x4 = 5601,
Iop_SetElem32x2 = 5602,
Iop_Dup8x8 = 5603,
Iop_Dup16x4 = 5604,
Iop_Dup32x2 = 5605,
Iop_Slice64 = 5606,
Iop_Reverse8sIn16_x4 = 5607,
Iop_Reverse8sIn32_x2 = 5608,
Iop_Reverse16sIn32_x2 = 5609,
Iop_Reverse8sIn64_x1 = 5610,
Iop_Reverse16sIn64_x1 = 5611,
Iop_Reverse32sIn64_x1 = 5612,
Iop_Perm8x8 = 5613,
Iop_PermOrZero8x8 = 5614,
Iop_GetMSBs8x8 = 5615,
Iop_RecipEst32Ux2 = 5616,
Iop_RSqrtEst32Ux2 = 5617,
Iop_AddD64 = 5618,
Iop_SubD64 = 5619,
Iop_MulD64 = 5620,
Iop_DivD64 = 5621,
Iop_AddD128 = 5622,
Iop_SubD128 = 5623,
Iop_MulD128 = 5624,
Iop_DivD128 = 5625,
Iop_ShlD64 = 5626,
Iop_ShrD64 = 5627,
Iop_ShlD128 = 5628,
Iop_ShrD128 = 5629,
Iop_D32toD64 = 5630,
Iop_D64toD128 = 5631,
Iop_I32StoD128 = 5632,
Iop_I32UtoD128 = 5633,
Iop_I64StoD128 = 5634,
Iop_I64UtoD128 = 5635,
Iop_D64toD32 = 5636,
Iop_D128toD64 = 5637,
Iop_I32StoD64 = 5638,
Iop_I32UtoD64 = 5639,
Iop_I64StoD64 = 5640,
Iop_I64UtoD64 = 5641,
Iop_D64toI32S = 5642,
Iop_D64toI32U = 5643,
Iop_D64toI64S = 5644,
Iop_D64toI64U = 5645,
Iop_D128toI32S = 5646,
Iop_D128toI32U = 5647,
Iop_D128toI64S = 5648,
Iop_D128toI64U = 5649,
Iop_F32toD32 = 5650,
Iop_F32toD64 = 5651,
Iop_F32toD128 = 5652,
Iop_F64toD32 = 5653,
Iop_F64toD64 = 5654,
Iop_F64toD128 = 5655,
Iop_F128toD32 = 5656,
Iop_F128toD64 = 5657,
Iop_F128toD128 = 5658,
Iop_D32toF32 = 5659,
Iop_D32toF64 = 5660,
Iop_D32toF128 = 5661,
Iop_D64toF32 = 5662,
Iop_D64toF64 = 5663,
Iop_D64toF128 = 5664,
Iop_D128toF32 = 5665,
Iop_D128toF64 = 5666,
Iop_D128toF128 = 5667,
Iop_RoundD64toInt = 5668,
Iop_RoundD128toInt = 5669,
Iop_CmpD64 = 5670,
Iop_CmpD128 = 5671,
Iop_CmpExpD64 = 5672,
Iop_CmpExpD128 = 5673,
Iop_QuantizeD64 = 5674,
Iop_QuantizeD128 = 5675,
Iop_SignificanceRoundD64 = 5676,
Iop_SignificanceRoundD128 = 5677,
Iop_ExtractExpD64 = 5678,
Iop_ExtractExpD128 = 5679,
Iop_ExtractSigD64 = 5680,
Iop_ExtractSigD128 = 5681,
Iop_InsertExpD64 = 5682,
Iop_InsertExpD128 = 5683,
Iop_D64HLtoD128 = 5684,
Iop_D128HItoD64 = 5685,
Iop_D128LOtoD64 = 5686,
Iop_DPBtoBCD = 5687,
Iop_BCDtoDPB = 5688,
Iop_BCDAdd = 5689,
Iop_BCDSub = 5690,
Iop_I128StoBCD128 = 5691,
Iop_BCD128toI128S = 5692,
Iop_ReinterpI64asD64 = 5693,
Iop_ReinterpD64asI64 = 5694,
Iop_Add16Fx8 = 5695,
Iop_Add32Fx4 = 5696,
Iop_Sub32Fx4 = 5697,
Iop_Mul32Fx4 = 5698,
Iop_Div32Fx4 = 5699,
Iop_Max32Fx4 = 5700,
Iop_Min32Fx4 = 5701,
Iop_Add32Fx2 = 5702,
Iop_Sub32Fx2 = 5703,
Iop_CmpEQ32Fx4 = 5704,
Iop_CmpLT32Fx4 = 5705,
Iop_CmpLE32Fx4 = 5706,
Iop_CmpUN32Fx4 = 5707,
Iop_CmpGT32Fx4 = 5708,
Iop_CmpGE32Fx4 = 5709,
Iop_PwMax32Fx4 = 5710,
Iop_PwMin32Fx4 = 5711,
Iop_Abs16Fx8 = 5712,
Iop_Abs32Fx4 = 5713,
Iop_Neg16Fx8 = 5714,
Iop_Neg32Fx4 = 5715,
Iop_Sqrt16Fx8 = 5716,
Iop_Sqrt32Fx4 = 5717,
Iop_RecipEst32Fx4 = 5718,
Iop_RecipStep32Fx4 = 5719,
Iop_RSqrtEst32Fx4 = 5720,
Iop_Scale2_32Fx4 = 5721,
Iop_Log2_32Fx4 = 5722,
Iop_Exp2_32Fx4 = 5723,
Iop_RSqrtStep32Fx4 = 5724,
Iop_I32UtoF32x4_DEP = 5725,
Iop_I32StoF32x4_DEP = 5726,
Iop_I32StoF32x4 = 5727,
Iop_F32toI32Sx4 = 5728,
Iop_F32toI32Ux4_RZ = 5729,
Iop_F32toI32Sx4_RZ = 5730,
Iop_QF32toI32Ux4_RZ = 5731,
Iop_QF32toI32Sx4_RZ = 5732,
Iop_RoundF32x4_RM = 5733,
Iop_RoundF32x4_RP = 5734,
Iop_RoundF32x4_RN = 5735,
Iop_RoundF32x4_RZ = 5736,
Iop_F32ToFixed32Ux4_RZ = 5737,
Iop_F32ToFixed32Sx4_RZ = 5738,
Iop_Fixed32UToF32x4_RN = 5739,
Iop_Fixed32SToF32x4_RN = 5740,
Iop_F32toF16x4_DEP = 5741,
Iop_F32toF16x4 = 5742,
Iop_F16toF32x4 = 5743,
Iop_F64toF16x2_DEP = 5744,
Iop_F16toF64x2 = 5745,
Iop_F32x4_2toQ16x8 = 5746,
Iop_Add32F0x4 = 5747,
Iop_Sub32F0x4 = 5748,
Iop_Mul32F0x4 = 5749,
Iop_Div32F0x4 = 5750,
Iop_Max32F0x4 = 5751,
Iop_Min32F0x4 = 5752,
Iop_CmpEQ32F0x4 = 5753,
Iop_CmpLT32F0x4 = 5754,
Iop_CmpLE32F0x4 = 5755,
Iop_CmpUN32F0x4 = 5756,
Iop_RecipEst32F0x4 = 5757,
Iop_Sqrt32F0x4 = 5758,
Iop_RSqrtEst32F0x4 = 5759,
Iop_Add64Fx2 = 5760,
Iop_Sub64Fx2 = 5761,
Iop_Mul64Fx2 = 5762,
Iop_Div64Fx2 = 5763,
Iop_Max64Fx2 = 5764,
Iop_Min64Fx2 = 5765,
Iop_CmpEQ64Fx2 = 5766,
Iop_CmpLT64Fx2 = 5767,
Iop_CmpLE64Fx2 = 5768,
Iop_CmpUN64Fx2 = 5769,
Iop_Abs64Fx2 = 5770,
Iop_Neg64Fx2 = 5771,
Iop_Sqrt64Fx2 = 5772,
Iop_Scale2_64Fx2 = 5773,
Iop_Log2_64Fx2 = 5774,
Iop_RecipEst64Fx2 = 5775,
Iop_RecipStep64Fx2 = 5776,
Iop_RSqrtEst64Fx2 = 5777,
Iop_RSqrtStep64Fx2 = 5778,
Iop_F64x2_2toQ32x4 = 5779,
Iop_Add64F0x2 = 5780,
Iop_Sub64F0x2 = 5781,
Iop_Mul64F0x2 = 5782,
Iop_Div64F0x2 = 5783,
Iop_Max64F0x2 = 5784,
Iop_Min64F0x2 = 5785,
Iop_CmpEQ64F0x2 = 5786,
Iop_CmpLT64F0x2 = 5787,
Iop_CmpLE64F0x2 = 5788,
Iop_CmpUN64F0x2 = 5789,
Iop_Sqrt64F0x2 = 5790,
Iop_V128to64 = 5791,
Iop_V128HIto64 = 5792,
Iop_64HLtoV128 = 5793,
Iop_64UtoV128 = 5794,
Iop_SetV128lo64 = 5795,
Iop_ZeroHI64ofV128 = 5796,
Iop_ZeroHI96ofV128 = 5797,
Iop_ZeroHI112ofV128 = 5798,
Iop_ZeroHI120ofV128 = 5799,
Iop_32UtoV128 = 5800,
Iop_V128to32 = 5801,
Iop_SetV128lo32 = 5802,
Iop_NotV128 = 5803,
Iop_AndV128 = 5804,
Iop_OrV128 = 5805,
Iop_XorV128 = 5806,
Iop_ShlV128 = 5807,
Iop_ShrV128 = 5808,
Iop_SarV128 = 5809,
Iop_CmpNEZ8x16 = 5810,
Iop_CmpNEZ16x8 = 5811,
Iop_CmpNEZ32x4 = 5812,
Iop_CmpNEZ64x2 = 5813,
Iop_CmpNEZ128x1 = 5814,
Iop_Add8x16 = 5815,
Iop_Add16x8 = 5816,
Iop_Add32x4 = 5817,
Iop_Add64x2 = 5818,
Iop_Add128x1 = 5819,
Iop_QAdd8Ux16 = 5820,
Iop_QAdd16Ux8 = 5821,
Iop_QAdd32Ux4 = 5822,
Iop_QAdd64Ux2 = 5823,
Iop_QAdd8Sx16 = 5824,
Iop_QAdd16Sx8 = 5825,
Iop_QAdd32Sx4 = 5826,
Iop_QAdd64Sx2 = 5827,
Iop_QAddExtUSsatSS8x16 = 5828,
Iop_QAddExtUSsatSS16x8 = 5829,
Iop_QAddExtUSsatSS32x4 = 5830,
Iop_QAddExtUSsatSS64x2 = 5831,
Iop_QAddExtSUsatUU8x16 = 5832,
Iop_QAddExtSUsatUU16x8 = 5833,
Iop_QAddExtSUsatUU32x4 = 5834,
Iop_QAddExtSUsatUU64x2 = 5835,
Iop_Sub8x16 = 5836,
Iop_Sub16x8 = 5837,
Iop_Sub32x4 = 5838,
Iop_Sub64x2 = 5839,
Iop_Sub128x1 = 5840,
Iop_QSub8Ux16 = 5841,
Iop_QSub16Ux8 = 5842,
Iop_QSub32Ux4 = 5843,
Iop_QSub64Ux2 = 5844,
Iop_QSub8Sx16 = 5845,
Iop_QSub16Sx8 = 5846,
Iop_QSub32Sx4 = 5847,
Iop_QSub64Sx2 = 5848,
Iop_Mul8x16 = 5849,
Iop_Mul16x8 = 5850,
Iop_Mul32x4 = 5851,
Iop_MulHi8Ux16 = 5852,
Iop_MulHi16Ux8 = 5853,
Iop_MulHi32Ux4 = 5854,
Iop_MulHi8Sx16 = 5855,
Iop_MulHi16Sx8 = 5856,
Iop_MulHi32Sx4 = 5857,
Iop_MullEven8Ux16 = 5858,
Iop_MullEven16Ux8 = 5859,
Iop_MullEven32Ux4 = 5860,
Iop_MullEven8Sx16 = 5861,
Iop_MullEven16Sx8 = 5862,
Iop_MullEven32Sx4 = 5863,
Iop_Mull8Ux8 = 5864,
Iop_Mull8Sx8 = 5865,
Iop_Mull16Ux4 = 5866,
Iop_Mull16Sx4 = 5867,
Iop_Mull32Ux2 = 5868,
Iop_Mull32Sx2 = 5869,
Iop_QDMull16Sx4 = 5870,
Iop_QDMull32Sx2 = 5871,
Iop_QDMulHi16Sx8 = 5872,
Iop_QDMulHi32Sx4 = 5873,
Iop_QRDMulHi16Sx8 = 5874,
Iop_QRDMulHi32Sx4 = 5875,
Iop_PolynomialMul8x16 = 5876,
Iop_PolynomialMull8x8 = 5877,
Iop_PolynomialMulAdd8x16 = 5878,
Iop_PolynomialMulAdd16x8 = 5879,
Iop_PolynomialMulAdd32x4 = 5880,
Iop_PolynomialMulAdd64x2 = 5881,
Iop_PwAdd8x16 = 5882,
Iop_PwAdd16x8 = 5883,
Iop_PwAdd32x4 = 5884,
Iop_PwAdd32Fx2 = 5885,
Iop_PwAddL8Ux16 = 5886,
Iop_PwAddL16Ux8 = 5887,
Iop_PwAddL32Ux4 = 5888,
Iop_PwAddL64Ux2 = 5889,
Iop_PwAddL8Sx16 = 5890,
Iop_PwAddL16Sx8 = 5891,
Iop_PwAddL32Sx4 = 5892,
Iop_PwExtUSMulQAdd8x16 = 5893,
Iop_PwBitMtxXpose64x2 = 5894,
Iop_Abs8x16 = 5895,
Iop_Abs16x8 = 5896,
Iop_Abs32x4 = 5897,
Iop_Abs64x2 = 5898,
Iop_Avg8Ux16 = 5899,
Iop_Avg16Ux8 = 5900,
Iop_Avg32Ux4 = 5901,
Iop_Avg64Ux2 = 5902,
Iop_Avg8Sx16 = 5903,
Iop_Avg16Sx8 = 5904,
Iop_Avg32Sx4 = 5905,
Iop_Avg64Sx2 = 5906,
Iop_Max8Sx16 = 5907,
Iop_Max16Sx8 = 5908,
Iop_Max32Sx4 = 5909,
Iop_Max64Sx2 = 5910,
Iop_Max8Ux16 = 5911,
Iop_Max16Ux8 = 5912,
Iop_Max32Ux4 = 5913,
Iop_Max64Ux2 = 5914,
Iop_Min8Sx16 = 5915,
Iop_Min16Sx8 = 5916,
Iop_Min32Sx4 = 5917,
Iop_Min64Sx2 = 5918,
Iop_Min8Ux16 = 5919,
Iop_Min16Ux8 = 5920,
Iop_Min32Ux4 = 5921,
Iop_Min64Ux2 = 5922,
Iop_CmpEQ8x16 = 5923,
Iop_CmpEQ16x8 = 5924,
Iop_CmpEQ32x4 = 5925,
Iop_CmpEQ64x2 = 5926,
Iop_CmpGT8Sx16 = 5927,
Iop_CmpGT16Sx8 = 5928,
Iop_CmpGT32Sx4 = 5929,
Iop_CmpGT64Sx2 = 5930,
Iop_CmpGT8Ux16 = 5931,
Iop_CmpGT16Ux8 = 5932,
Iop_CmpGT32Ux4 = 5933,
Iop_CmpGT64Ux2 = 5934,
Iop_Cnt8x16 = 5935,
Iop_Clz8x16 = 5936,
Iop_Clz16x8 = 5937,
Iop_Clz32x4 = 5938,
Iop_Cls8x16 = 5939,
Iop_Cls16x8 = 5940,
Iop_Cls32x4 = 5941,
Iop_ShlN8x16 = 5942,
Iop_ShlN16x8 = 5943,
Iop_ShlN32x4 = 5944,
Iop_ShlN64x2 = 5945,
Iop_ShrN8x16 = 5946,
Iop_ShrN16x8 = 5947,
Iop_ShrN32x4 = 5948,
Iop_ShrN64x2 = 5949,
Iop_SarN8x16 = 5950,
Iop_SarN16x8 = 5951,
Iop_SarN32x4 = 5952,
Iop_SarN64x2 = 5953,
Iop_Shl8x16 = 5954,
Iop_Shl16x8 = 5955,
Iop_Shl32x4 = 5956,
Iop_Shl64x2 = 5957,
Iop_Shr8x16 = 5958,
Iop_Shr16x8 = 5959,
Iop_Shr32x4 = 5960,
Iop_Shr64x2 = 5961,
Iop_Sar8x16 = 5962,
Iop_Sar16x8 = 5963,
Iop_Sar32x4 = 5964,
Iop_Sar64x2 = 5965,
Iop_Sal8x16 = 5966,
Iop_Sal16x8 = 5967,
Iop_Sal32x4 = 5968,
Iop_Sal64x2 = 5969,
Iop_Rol8x16 = 5970,
Iop_Rol16x8 = 5971,
Iop_Rol32x4 = 5972,
Iop_Rol64x2 = 5973,
Iop_QShl8x16 = 5974,
Iop_QShl16x8 = 5975,
Iop_QShl32x4 = 5976,
Iop_QShl64x2 = 5977,
Iop_QSal8x16 = 5978,
Iop_QSal16x8 = 5979,
Iop_QSal32x4 = 5980,
Iop_QSal64x2 = 5981,
Iop_QShlNsatSU8x16 = 5982,
Iop_QShlNsatSU16x8 = 5983,
Iop_QShlNsatSU32x4 = 5984,
Iop_QShlNsatSU64x2 = 5985,
Iop_QShlNsatUU8x16 = 5986,
Iop_QShlNsatUU16x8 = 5987,
Iop_QShlNsatUU32x4 = 5988,
Iop_QShlNsatUU64x2 = 5989,
Iop_QShlNsatSS8x16 = 5990,
Iop_QShlNsatSS16x8 = 5991,
Iop_QShlNsatSS32x4 = 5992,
Iop_QShlNsatSS64x2 = 5993,
Iop_QandUQsh8x16 = 5994,
Iop_QandUQsh16x8 = 5995,
Iop_QandUQsh32x4 = 5996,
Iop_QandUQsh64x2 = 5997,
Iop_QandSQsh8x16 = 5998,
Iop_QandSQsh16x8 = 5999,
Iop_QandSQsh32x4 = 6000,
Iop_QandSQsh64x2 = 6001,
Iop_QandUQRsh8x16 = 6002,
Iop_QandUQRsh16x8 = 6003,
Iop_QandUQRsh32x4 = 6004,
Iop_QandUQRsh64x2 = 6005,
Iop_QandSQRsh8x16 = 6006,
Iop_QandSQRsh16x8 = 6007,
Iop_QandSQRsh32x4 = 6008,
Iop_QandSQRsh64x2 = 6009,
Iop_Sh8Sx16 = 6010,
Iop_Sh16Sx8 = 6011,
Iop_Sh32Sx4 = 6012,
Iop_Sh64Sx2 = 6013,
Iop_Sh8Ux16 = 6014,
Iop_Sh16Ux8 = 6015,
Iop_Sh32Ux4 = 6016,
Iop_Sh64Ux2 = 6017,
Iop_Rsh8Sx16 = 6018,
Iop_Rsh16Sx8 = 6019,
Iop_Rsh32Sx4 = 6020,
Iop_Rsh64Sx2 = 6021,
Iop_Rsh8Ux16 = 6022,
Iop_Rsh16Ux8 = 6023,
Iop_Rsh32Ux4 = 6024,
Iop_Rsh64Ux2 = 6025,
Iop_QandQShrNnarrow16Uto8Ux8 = 6026,
Iop_QandQShrNnarrow32Uto16Ux4 = 6027,
Iop_QandQShrNnarrow64Uto32Ux2 = 6028,
Iop_QandQSarNnarrow16Sto8Sx8 = 6029,
Iop_QandQSarNnarrow32Sto16Sx4 = 6030,
Iop_QandQSarNnarrow64Sto32Sx2 = 6031,
Iop_QandQSarNnarrow16Sto8Ux8 = 6032,
Iop_QandQSarNnarrow32Sto16Ux4 = 6033,
Iop_QandQSarNnarrow64Sto32Ux2 = 6034,
Iop_QandQRShrNnarrow16Uto8Ux8 = 6035,
Iop_QandQRShrNnarrow32Uto16Ux4 = 6036,
Iop_QandQRShrNnarrow64Uto32Ux2 = 6037,
Iop_QandQRSarNnarrow16Sto8Sx8 = 6038,
Iop_QandQRSarNnarrow32Sto16Sx4 = 6039,
Iop_QandQRSarNnarrow64Sto32Sx2 = 6040,
Iop_QandQRSarNnarrow16Sto8Ux8 = 6041,
Iop_QandQRSarNnarrow32Sto16Ux4 = 6042,
Iop_QandQRSarNnarrow64Sto32Ux2 = 6043,
Iop_QNarrowBin16Sto8Ux16 = 6044,
Iop_QNarrowBin32Sto16Ux8 = 6045,
Iop_QNarrowBin16Sto8Sx16 = 6046,
Iop_QNarrowBin32Sto16Sx8 = 6047,
Iop_QNarrowBin16Uto8Ux16 = 6048,
Iop_QNarrowBin32Uto16Ux8 = 6049,
Iop_NarrowBin16to8x16 = 6050,
Iop_NarrowBin32to16x8 = 6051,
Iop_QNarrowBin64Sto32Sx4 = 6052,
Iop_QNarrowBin64Uto32Ux4 = 6053,
Iop_NarrowBin64to32x4 = 6054,
Iop_NarrowUn16to8x8 = 6055,
Iop_NarrowUn32to16x4 = 6056,
Iop_NarrowUn64to32x2 = 6057,
Iop_QNarrowUn16Sto8Sx8 = 6058,
Iop_QNarrowUn32Sto16Sx4 = 6059,
Iop_QNarrowUn64Sto32Sx2 = 6060,
Iop_QNarrowUn16Sto8Ux8 = 6061,
Iop_QNarrowUn32Sto16Ux4 = 6062,
Iop_QNarrowUn64Sto32Ux2 = 6063,
Iop_QNarrowUn16Uto8Ux8 = 6064,
Iop_QNarrowUn32Uto16Ux4 = 6065,
Iop_QNarrowUn64Uto32Ux2 = 6066,
Iop_Widen8Uto16x8 = 6067,
Iop_Widen16Uto32x4 = 6068,
Iop_Widen32Uto64x2 = 6069,
Iop_Widen8Sto16x8 = 6070,
Iop_Widen16Sto32x4 = 6071,
Iop_Widen32Sto64x2 = 6072,
Iop_InterleaveHI8x16 = 6073,
Iop_InterleaveHI16x8 = 6074,
Iop_InterleaveHI32x4 = 6075,
Iop_InterleaveHI64x2 = 6076,
Iop_InterleaveLO8x16 = 6077,
Iop_InterleaveLO16x8 = 6078,
Iop_InterleaveLO32x4 = 6079,
Iop_InterleaveLO64x2 = 6080,
Iop_InterleaveOddLanes8x16 = 6081,
Iop_InterleaveEvenLanes8x16 = 6082,
Iop_InterleaveOddLanes16x8 = 6083,
Iop_InterleaveEvenLanes16x8 = 6084,
Iop_InterleaveOddLanes32x4 = 6085,
Iop_InterleaveEvenLanes32x4 = 6086,
Iop_PackOddLanes8x16 = 6087,
Iop_PackEvenLanes8x16 = 6088,
Iop_PackOddLanes16x8 = 6089,
Iop_PackEvenLanes16x8 = 6090,
Iop_PackOddLanes32x4 = 6091,
Iop_PackEvenLanes32x4 = 6092,
Iop_CatOddLanes8x16 = 6093,
Iop_CatOddLanes16x8 = 6094,
Iop_CatOddLanes32x4 = 6095,
Iop_CatEvenLanes8x16 = 6096,
Iop_CatEvenLanes16x8 = 6097,
Iop_CatEvenLanes32x4 = 6098,
Iop_GetElem8x16 = 6099,
Iop_GetElem16x8 = 6100,
Iop_GetElem32x4 = 6101,
Iop_GetElem64x2 = 6102,
Iop_SetElem8x16 = 6103,
Iop_SetElem16x8 = 6104,
Iop_SetElem32x4 = 6105,
Iop_SetElem64x2 = 6106,
Iop_Dup8x16 = 6107,
Iop_Dup16x8 = 6108,
Iop_Dup32x4 = 6109,
Iop_SliceV128 = 6110,
Iop_Reverse8sIn16_x8 = 6111,
Iop_Reverse8sIn32_x4 = 6112,
Iop_Reverse16sIn32_x4 = 6113,
Iop_Reverse8sIn64_x2 = 6114,
Iop_Reverse16sIn64_x2 = 6115,
Iop_Reverse32sIn64_x2 = 6116,
Iop_Reverse1sIn8_x16 = 6117,
Iop_Perm8x16 = 6118,
Iop_Perm32x4 = 6119,
Iop_PermOrZero8x16 = 6120,
Iop_Perm8x16x2 = 6121,
Iop_GetMSBs8x16 = 6122,
Iop_RecipEst32Ux4 = 6123,
Iop_RSqrtEst32Ux4 = 6124,
Iop_MulI128by10 = 6125,
Iop_MulI128by10Carry = 6126,
Iop_MulI128by10E = 6127,
Iop_MulI128by10ECarry = 6128,
Iop_V256to64_0 = 6129,
Iop_V256to64_1 = 6130,
Iop_V256to64_2 = 6131,
Iop_V256to64_3 = 6132,
Iop_64x4toV256 = 6133,
Iop_V256toV128_0 = 6134,
Iop_V256toV128_1 = 6135,
Iop_V128HLtoV256 = 6136,
Iop_AndV256 = 6137,
Iop_OrV256 = 6138,
Iop_XorV256 = 6139,
Iop_NotV256 = 6140,
Iop_CmpNEZ8x32 = 6141,
Iop_CmpNEZ16x16 = 6142,
Iop_CmpNEZ32x8 = 6143,
Iop_CmpNEZ64x4 = 6144,
Iop_Add8x32 = 6145,
Iop_Add16x16 = 6146,
Iop_Add32x8 = 6147,
Iop_Add64x4 = 6148,
Iop_Sub8x32 = 6149,
Iop_Sub16x16 = 6150,
Iop_Sub32x8 = 6151,
Iop_Sub64x4 = 6152,
Iop_CmpEQ8x32 = 6153,
Iop_CmpEQ16x16 = 6154,
Iop_CmpEQ32x8 = 6155,
Iop_CmpEQ64x4 = 6156,
Iop_CmpGT8Sx32 = 6157,
Iop_CmpGT16Sx16 = 6158,
Iop_CmpGT32Sx8 = 6159,
Iop_CmpGT64Sx4 = 6160,
Iop_ShlN16x16 = 6161,
Iop_ShlN32x8 = 6162,
Iop_ShlN64x4 = 6163,
Iop_ShrN16x16 = 6164,
Iop_ShrN32x8 = 6165,
Iop_ShrN64x4 = 6166,
Iop_SarN16x16 = 6167,
Iop_SarN32x8 = 6168,
Iop_Max8Sx32 = 6169,
Iop_Max16Sx16 = 6170,
Iop_Max32Sx8 = 6171,
Iop_Max8Ux32 = 6172,
Iop_Max16Ux16 = 6173,
Iop_Max32Ux8 = 6174,
Iop_Min8Sx32 = 6175,
Iop_Min16Sx16 = 6176,
Iop_Min32Sx8 = 6177,
Iop_Min8Ux32 = 6178,
Iop_Min16Ux16 = 6179,
Iop_Min32Ux8 = 6180,
Iop_Mul16x16 = 6181,
Iop_Mul32x8 = 6182,
Iop_MulHi16Ux16 = 6183,
Iop_MulHi16Sx16 = 6184,
Iop_QAdd8Ux32 = 6185,
Iop_QAdd16Ux16 = 6186,
Iop_QAdd8Sx32 = 6187,
Iop_QAdd16Sx16 = 6188,
Iop_QSub8Ux32 = 6189,
Iop_QSub16Ux16 = 6190,
Iop_QSub8Sx32 = 6191,
Iop_QSub16Sx16 = 6192,
Iop_Avg8Ux32 = 6193,
Iop_Avg16Ux16 = 6194,
Iop_Perm32x8 = 6195,
Iop_CipherV128 = 6196,
Iop_CipherLV128 = 6197,
Iop_CipherSV128 = 6198,
Iop_NCipherV128 = 6199,
Iop_NCipherLV128 = 6200,
Iop_SHA512 = 6201,
Iop_SHA256 = 6202,
Iop_Add64Fx4 = 6203,
Iop_Sub64Fx4 = 6204,
Iop_Mul64Fx4 = 6205,
Iop_Div64Fx4 = 6206,
Iop_Add32Fx8 = 6207,
Iop_Sub32Fx8 = 6208,
Iop_Mul32Fx8 = 6209,
Iop_Div32Fx8 = 6210,
Iop_I32StoF32x8 = 6211,
Iop_F32toI32Sx8 = 6212,
Iop_F32toF16x8 = 6213,
Iop_F16toF32x8 = 6214,
Iop_Sqrt32Fx8 = 6215,
Iop_Sqrt64Fx4 = 6216,
Iop_RSqrtEst32Fx8 = 6217,
Iop_RecipEst32Fx8 = 6218,
Iop_Max32Fx8 = 6219,
Iop_Min32Fx8 = 6220,
Iop_Max64Fx4 = 6221,
Iop_Min64Fx4 = 6222,
Iop_Rotx32 = 6223,
Iop_Rotx64 = 6224,
Iop_LAST = 6225,
}
extern "C" {
pub fn ppIROp(arg1: IROp);
}
extern "C" {
pub fn typeOfPrimop(
op: IROp,
t_dst: *mut IRType,
t_arg1: *mut IRType,
t_arg2: *mut IRType,
t_arg3: *mut IRType,
t_arg4: *mut IRType,
);
}
extern "C" {
pub fn primopMightTrap(op: IROp) -> Bool;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IRRoundingMode {
Irrm_NEAREST = 0,
Irrm_NegINF = 1,
Irrm_PosINF = 2,
Irrm_ZERO = 3,
Irrm_NEAREST_TIE_AWAY_0 = 4,
Irrm_PREPARE_SHORTER = 5,
Irrm_AWAY_FROM_ZERO = 6,
Irrm_NEAREST_TIE_TOWARD_0 = 7,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IRCmpFResult {
Ircr_UN = 69,
Ircr_LT = 1,
Ircr_GT = 0,
Ircr_EQ = 64,
}
pub use self::IRCmpDResult as IRCmpD64Result;
pub use self::IRCmpDResult as IRCmpD128Result;
pub use self::IRCmpFResult as IRCmpF32Result;
pub use self::IRCmpFResult as IRCmpF64Result;
pub use self::IRCmpFResult as IRCmpF128Result;
pub use self::IRCmpFResult as IRCmpDResult;
pub type IRQop = _IRQop;
pub type IRTriop = _IRTriop;
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IRExprTag {
Iex_Binder = 6400,
Iex_Get = 6401,
Iex_GetI = 6402,
Iex_RdTmp = 6403,
Iex_Qop = 6404,
Iex_Triop = 6405,
Iex_Binop = 6406,
Iex_Unop = 6407,
Iex_Load = 6408,
Iex_Const = 6409,
Iex_ITE = 6410,
Iex_CCall = 6411,
Iex_VECRET = 6412,
Iex_GSPTR = 6413,
}
pub type IRExpr = _IRExpr;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _IRExpr {
pub tag: IRExprTag,
pub Iex: _IRExpr__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _IRExpr__bindgen_ty_1 {
pub Binder: _IRExpr__bindgen_ty_1__bindgen_ty_1,
pub Get: _IRExpr__bindgen_ty_1__bindgen_ty_2,
pub GetI: _IRExpr__bindgen_ty_1__bindgen_ty_3,
pub RdTmp: _IRExpr__bindgen_ty_1__bindgen_ty_4,
pub Qop: _IRExpr__bindgen_ty_1__bindgen_ty_5,
pub Triop: _IRExpr__bindgen_ty_1__bindgen_ty_6,
pub Binop: _IRExpr__bindgen_ty_1__bindgen_ty_7,
pub Unop: _IRExpr__bindgen_ty_1__bindgen_ty_8,
pub Load: _IRExpr__bindgen_ty_1__bindgen_ty_9,
pub Const: _IRExpr__bindgen_ty_1__bindgen_ty_10,
pub CCall: _IRExpr__bindgen_ty_1__bindgen_ty_11,
pub ITE: _IRExpr__bindgen_ty_1__bindgen_ty_12,
_bindgen_union_align: [u64; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_1 {
pub binder: Int,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_1>(),
4usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_1>(),
4usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_1>())).binder as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_1),
"::",
stringify!(binder)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_2 {
pub offset: Int,
pub ty: IRType,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_2>(),
8usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_2))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_2>(),
4usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_2>())).offset as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(offset)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_2>())).ty as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(ty)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_3 {
pub descr: *mut IRRegArray,
pub ix: *mut IRExpr,
pub bias: Int,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_3() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_3>(),
24usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_3))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_3>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_3>())).descr as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_3),
"::",
stringify!(descr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_3>())).ix as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_3),
"::",
stringify!(ix)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_3>())).bias as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_3),
"::",
stringify!(bias)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_4 {
pub tmp: IRTemp,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_4() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_4>(),
4usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_4))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_4>(),
4usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_4)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_4>())).tmp as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_4),
"::",
stringify!(tmp)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_5 {
pub details: *mut IRQop,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_5() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_5>(),
8usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_5))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_5>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_5)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_5>())).details as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_5),
"::",
stringify!(details)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_6 {
pub details: *mut IRTriop,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_6() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_6>(),
8usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_6))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_6>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_6)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_6>())).details as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_6),
"::",
stringify!(details)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_7 {
pub op: IROp,
pub arg1: *mut IRExpr,
pub arg2: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_7() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_7>(),
24usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_7))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_7>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_7)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_7>())).op as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_7),
"::",
stringify!(op)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_7>())).arg1 as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_7),
"::",
stringify!(arg1)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_7>())).arg2 as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_7),
"::",
stringify!(arg2)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_8 {
pub op: IROp,
pub arg: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_8() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_8>(),
16usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_8))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_8>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_8)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_8>())).op as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_8),
"::",
stringify!(op)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_8>())).arg as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_8),
"::",
stringify!(arg)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_9 {
pub end: IREndness,
pub ty: IRType,
pub addr: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_9() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_9>(),
16usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_9))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_9>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_9)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_9>())).end as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_9),
"::",
stringify!(end)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_9>())).ty as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_9),
"::",
stringify!(ty)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_9>())).addr as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_9),
"::",
stringify!(addr)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_10 {
pub con: *mut IRConst,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_10() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_10>(),
8usize,
concat!(
"Size of: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_10)
)
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_10>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_10)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_10>())).con as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_10),
"::",
stringify!(con)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_11 {
pub cee: *mut IRCallee,
pub retty: IRType,
pub args: *mut *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_11() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_11>(),
24usize,
concat!(
"Size of: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_11)
)
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_11>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_11)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_11>())).cee as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_11),
"::",
stringify!(cee)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_11>())).retty as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_11),
"::",
stringify!(retty)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_11>())).args as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_11),
"::",
stringify!(args)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRExpr__bindgen_ty_1__bindgen_ty_12 {
pub cond: *mut IRExpr,
pub iftrue: *mut IRExpr,
pub iffalse: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1__bindgen_ty_12() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1__bindgen_ty_12>(),
24usize,
concat!(
"Size of: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_12)
)
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1__bindgen_ty_12>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_12)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_12>())).cond as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_12),
"::",
stringify!(cond)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_12>())).iftrue as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_12),
"::",
stringify!(iftrue)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRExpr__bindgen_ty_1__bindgen_ty_12>())).iffalse as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1__bindgen_ty_12),
"::",
stringify!(iffalse)
)
);
}
#[test]
fn bindgen_test_layout__IRExpr__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_IRExpr__bindgen_ty_1>(),
24usize,
concat!("Size of: ", stringify!(_IRExpr__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_IRExpr__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(_IRExpr__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).Binder as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(Binder)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).Get as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(Get)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).GetI as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(GetI)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).RdTmp as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(RdTmp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).Qop as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(Qop)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).Triop as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(Triop)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).Binop as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(Binop)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).Unop as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(Unop)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).Load as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(Load)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).Const as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(Const)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).CCall as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(CCall)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr__bindgen_ty_1>())).ITE as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr__bindgen_ty_1),
"::",
stringify!(ITE)
)
);
}
#[test]
fn bindgen_test_layout__IRExpr() {
assert_eq!(
::std::mem::size_of::<_IRExpr>(),
32usize,
concat!("Size of: ", stringify!(_IRExpr))
);
assert_eq!(
::std::mem::align_of::<_IRExpr>(),
8usize,
concat!("Alignment of ", stringify!(_IRExpr))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr>())).tag as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr),
"::",
stringify!(tag)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRExpr>())).Iex as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_IRExpr),
"::",
stringify!(Iex)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRTriop {
pub op: IROp,
pub arg1: *mut IRExpr,
pub arg2: *mut IRExpr,
pub arg3: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRTriop() {
assert_eq!(
::std::mem::size_of::<_IRTriop>(),
32usize,
concat!("Size of: ", stringify!(_IRTriop))
);
assert_eq!(
::std::mem::align_of::<_IRTriop>(),
8usize,
concat!("Alignment of ", stringify!(_IRTriop))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRTriop>())).op as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRTriop),
"::",
stringify!(op)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRTriop>())).arg1 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_IRTriop),
"::",
stringify!(arg1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRTriop>())).arg2 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_IRTriop),
"::",
stringify!(arg2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRTriop>())).arg3 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_IRTriop),
"::",
stringify!(arg3)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRQop {
pub op: IROp,
pub arg1: *mut IRExpr,
pub arg2: *mut IRExpr,
pub arg3: *mut IRExpr,
pub arg4: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRQop() {
assert_eq!(
::std::mem::size_of::<_IRQop>(),
40usize,
concat!("Size of: ", stringify!(_IRQop))
);
assert_eq!(
::std::mem::align_of::<_IRQop>(),
8usize,
concat!("Alignment of ", stringify!(_IRQop))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRQop>())).op as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRQop),
"::",
stringify!(op)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRQop>())).arg1 as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_IRQop),
"::",
stringify!(arg1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRQop>())).arg2 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_IRQop),
"::",
stringify!(arg2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRQop>())).arg3 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_IRQop),
"::",
stringify!(arg3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRQop>())).arg4 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_IRQop),
"::",
stringify!(arg4)
)
);
}
extern "C" {
pub fn IRExpr_Binder(binder: Int) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_Get(off: Int, ty: IRType) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_GetI(descr: *mut IRRegArray, ix: *mut IRExpr, bias: Int) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_RdTmp(tmp: IRTemp) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_Qop(
op: IROp,
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
arg4: *mut IRExpr,
) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_Triop(
op: IROp,
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_Binop(op: IROp, arg1: *mut IRExpr, arg2: *mut IRExpr) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_Unop(op: IROp, arg: *mut IRExpr) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_Load(end: IREndness, ty: IRType, addr: *mut IRExpr) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_Const(con: *mut IRConst) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_CCall(cee: *mut IRCallee, retty: IRType, args: *mut *mut IRExpr) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_ITE(cond: *mut IRExpr, iftrue: *mut IRExpr, iffalse: *mut IRExpr) -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_VECRET() -> *mut IRExpr;
}
extern "C" {
pub fn IRExpr_GSPTR() -> *mut IRExpr;
}
extern "C" {
pub fn deepCopyIRExpr(arg1: *const IRExpr) -> *mut IRExpr;
}
extern "C" {
pub fn ppIRExpr(arg1: *const IRExpr);
}
extern "C" {
pub fn mkIRExprVec_0() -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_1(arg1: *mut IRExpr) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_2(arg1: *mut IRExpr, arg2: *mut IRExpr) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_3(
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_4(
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
arg4: *mut IRExpr,
) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_5(
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
arg4: *mut IRExpr,
arg5: *mut IRExpr,
) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_6(
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
arg4: *mut IRExpr,
arg5: *mut IRExpr,
arg6: *mut IRExpr,
) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_7(
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
arg4: *mut IRExpr,
arg5: *mut IRExpr,
arg6: *mut IRExpr,
arg7: *mut IRExpr,
) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_8(
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
arg4: *mut IRExpr,
arg5: *mut IRExpr,
arg6: *mut IRExpr,
arg7: *mut IRExpr,
arg8: *mut IRExpr,
) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_9(
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
arg4: *mut IRExpr,
arg5: *mut IRExpr,
arg6: *mut IRExpr,
arg7: *mut IRExpr,
arg8: *mut IRExpr,
arg9: *mut IRExpr,
) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExprVec_13(
arg1: *mut IRExpr,
arg2: *mut IRExpr,
arg3: *mut IRExpr,
arg4: *mut IRExpr,
arg5: *mut IRExpr,
arg6: *mut IRExpr,
arg7: *mut IRExpr,
arg8: *mut IRExpr,
arg9: *mut IRExpr,
arg10: *mut IRExpr,
arg11: *mut IRExpr,
arg12: *mut IRExpr,
arg13: *mut IRExpr,
) -> *mut *mut IRExpr;
}
extern "C" {
pub fn shallowCopyIRExprVec(arg1: *mut *mut IRExpr) -> *mut *mut IRExpr;
}
extern "C" {
pub fn deepCopyIRExprVec(arg1: *const *mut IRExpr) -> *mut *mut IRExpr;
}
extern "C" {
pub fn mkIRExpr_HWord(arg1: HWord) -> *mut IRExpr;
}
extern "C" {
pub fn mkIRExprCCall(
retty: IRType,
regparms: Int,
name: *const HChar,
addr: *mut ::std::os::raw::c_void,
args: *mut *mut IRExpr,
) -> *mut IRExpr;
}
extern "C" {
pub fn eqIRAtom(arg1: *const IRExpr, arg2: *const IRExpr) -> Bool;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IRJumpKind {
Ijk_INVALID = 6656,
Ijk_Boring = 6657,
Ijk_Call = 6658,
Ijk_Ret = 6659,
Ijk_ClientReq = 6660,
Ijk_Yield = 6661,
Ijk_EmWarn = 6662,
Ijk_EmFail = 6663,
Ijk_NoDecode = 6664,
Ijk_MapFail = 6665,
Ijk_InvalICache = 6666,
Ijk_FlushDCache = 6667,
Ijk_NoRedir = 6668,
Ijk_SigILL = 6669,
Ijk_SigTRAP = 6670,
Ijk_SigSEGV = 6671,
Ijk_SigBUS = 6672,
Ijk_SigFPE = 6673,
Ijk_SigFPE_IntDiv = 6674,
Ijk_SigFPE_IntOvf = 6675,
Ijk_Sys_syscall = 6676,
Ijk_Sys_int32 = 6677,
Ijk_Sys_int128 = 6678,
Ijk_Sys_int129 = 6679,
Ijk_Sys_int130 = 6680,
Ijk_Sys_int145 = 6681,
Ijk_Sys_int210 = 6682,
Ijk_Sys_sysenter = 6683,
}
extern "C" {
pub fn ppIRJumpKind(arg1: IRJumpKind);
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IREffect {
Ifx_None = 6912,
Ifx_Read = 6913,
Ifx_Write = 6914,
Ifx_Modify = 6915,
}
extern "C" {
pub fn ppIREffect(arg1: IREffect);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRDirty {
pub cee: *mut IRCallee,
pub guard: *mut IRExpr,
pub args: *mut *mut IRExpr,
pub tmp: IRTemp,
pub mFx: IREffect,
pub mAddr: *mut IRExpr,
pub mSize: Int,
pub nFxState: Int,
pub fxState: [_IRDirty__bindgen_ty_1; 7usize],
}
#[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)]
pub struct _IRDirty__bindgen_ty_1 {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
pub offset: UShort,
pub size: UShort,
pub nRepeats: UChar,
pub repeatLen: UChar,
}
#[test]
fn bindgen_test_layout__IRDirty__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_IRDirty__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(_IRDirty__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_IRDirty__bindgen_ty_1>(),
4usize,
concat!("Alignment of ", stringify!(_IRDirty__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty__bindgen_ty_1>())).offset as *const _ as usize },
2usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty__bindgen_ty_1),
"::",
stringify!(offset)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty__bindgen_ty_1>())).size as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty__bindgen_ty_1),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty__bindgen_ty_1>())).nRepeats as *const _ as usize },
6usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty__bindgen_ty_1),
"::",
stringify!(nRepeats)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRDirty__bindgen_ty_1>())).repeatLen as *const _ as usize
},
7usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty__bindgen_ty_1),
"::",
stringify!(repeatLen)
)
);
}
impl _IRDirty__bindgen_ty_1 {
#[inline]
pub fn fx(&self) -> IREffect {
unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 16u8) as u32) }
}
#[inline]
pub fn set_fx(&mut self, val: IREffect) {
unsafe {
let val: u32 = ::std::mem::transmute(val);
self._bitfield_1.set(0usize, 16u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(fx: IREffect) -> __BindgenBitfieldUnit<[u8; 2usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 16u8, {
let fx: u32 = unsafe { ::std::mem::transmute(fx) };
fx as u64
});
__bindgen_bitfield_unit
}
}
#[test]
fn bindgen_test_layout__IRDirty() {
assert_eq!(
::std::mem::size_of::<_IRDirty>(),
104usize,
concat!("Size of: ", stringify!(_IRDirty))
);
assert_eq!(
::std::mem::align_of::<_IRDirty>(),
8usize,
concat!("Alignment of ", stringify!(_IRDirty))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty>())).cee as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty),
"::",
stringify!(cee)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty>())).guard as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty),
"::",
stringify!(guard)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty>())).args as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty),
"::",
stringify!(args)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty>())).tmp as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty),
"::",
stringify!(tmp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty>())).mFx as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty),
"::",
stringify!(mFx)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty>())).mAddr as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty),
"::",
stringify!(mAddr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty>())).mSize as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty),
"::",
stringify!(mSize)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty>())).nFxState as *const _ as usize },
44usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty),
"::",
stringify!(nFxState)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRDirty>())).fxState as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(_IRDirty),
"::",
stringify!(fxState)
)
);
}
pub type IRDirty = _IRDirty;
extern "C" {
pub fn ppIRDirty(arg1: *const IRDirty);
}
extern "C" {
pub fn emptyIRDirty() -> *mut IRDirty;
}
extern "C" {
pub fn deepCopyIRDirty(arg1: *const IRDirty) -> *mut IRDirty;
}
extern "C" {
pub fn unsafeIRDirty_0_N(
regparms: Int,
name: *const HChar,
addr: *mut ::std::os::raw::c_void,
args: *mut *mut IRExpr,
) -> *mut IRDirty;
}
extern "C" {
pub fn unsafeIRDirty_1_N(
dst: IRTemp,
regparms: Int,
name: *const HChar,
addr: *mut ::std::os::raw::c_void,
args: *mut *mut IRExpr,
) -> *mut IRDirty;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IRMBusEvent {
Imbe_Fence = 7168,
Imbe_CancelReservation = 7169,
}
extern "C" {
pub fn ppIRMBusEvent(arg1: IRMBusEvent);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct IRCAS {
pub oldHi: IRTemp,
pub oldLo: IRTemp,
pub end: IREndness,
pub addr: *mut IRExpr,
pub expdHi: *mut IRExpr,
pub expdLo: *mut IRExpr,
pub dataHi: *mut IRExpr,
pub dataLo: *mut IRExpr,
}
#[test]
fn bindgen_test_layout_IRCAS() {
assert_eq!(
::std::mem::size_of::<IRCAS>(),
56usize,
concat!("Size of: ", stringify!(IRCAS))
);
assert_eq!(
::std::mem::align_of::<IRCAS>(),
8usize,
concat!("Alignment of ", stringify!(IRCAS))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCAS>())).oldHi as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(IRCAS),
"::",
stringify!(oldHi)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCAS>())).oldLo as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(IRCAS),
"::",
stringify!(oldLo)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCAS>())).end as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(IRCAS),
"::",
stringify!(end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCAS>())).addr as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(IRCAS),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCAS>())).expdHi as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(IRCAS),
"::",
stringify!(expdHi)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCAS>())).expdLo as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(IRCAS),
"::",
stringify!(expdLo)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCAS>())).dataHi as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(IRCAS),
"::",
stringify!(dataHi)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRCAS>())).dataLo as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(IRCAS),
"::",
stringify!(dataLo)
)
);
}
extern "C" {
pub fn ppIRCAS(cas: *const IRCAS);
}
extern "C" {
pub fn mkIRCAS(
oldHi: IRTemp,
oldLo: IRTemp,
end: IREndness,
addr: *mut IRExpr,
expdHi: *mut IRExpr,
expdLo: *mut IRExpr,
dataHi: *mut IRExpr,
dataLo: *mut IRExpr,
) -> *mut IRCAS;
}
extern "C" {
pub fn deepCopyIRCAS(arg1: *const IRCAS) -> *mut IRCAS;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct IRPutI {
pub descr: *mut IRRegArray,
pub ix: *mut IRExpr,
pub bias: Int,
pub data: *mut IRExpr,
}
#[test]
fn bindgen_test_layout_IRPutI() {
assert_eq!(
::std::mem::size_of::<IRPutI>(),
32usize,
concat!("Size of: ", stringify!(IRPutI))
);
assert_eq!(
::std::mem::align_of::<IRPutI>(),
8usize,
concat!("Alignment of ", stringify!(IRPutI))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRPutI>())).descr as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(IRPutI),
"::",
stringify!(descr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRPutI>())).ix as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(IRPutI),
"::",
stringify!(ix)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRPutI>())).bias as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(IRPutI),
"::",
stringify!(bias)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRPutI>())).data as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(IRPutI),
"::",
stringify!(data)
)
);
}
extern "C" {
pub fn ppIRPutI(puti: *const IRPutI);
}
extern "C" {
pub fn mkIRPutI(
descr: *mut IRRegArray,
ix: *mut IRExpr,
bias: Int,
data: *mut IRExpr,
) -> *mut IRPutI;
}
extern "C" {
pub fn deepCopyIRPutI(arg1: *const IRPutI) -> *mut IRPutI;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct IRStoreG {
pub end: IREndness,
pub addr: *mut IRExpr,
pub data: *mut IRExpr,
pub guard: *mut IRExpr,
}
#[test]
fn bindgen_test_layout_IRStoreG() {
assert_eq!(
::std::mem::size_of::<IRStoreG>(),
32usize,
concat!("Size of: ", stringify!(IRStoreG))
);
assert_eq!(
::std::mem::align_of::<IRStoreG>(),
8usize,
concat!("Alignment of ", stringify!(IRStoreG))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRStoreG>())).end as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(IRStoreG),
"::",
stringify!(end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRStoreG>())).addr as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(IRStoreG),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRStoreG>())).data as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(IRStoreG),
"::",
stringify!(data)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRStoreG>())).guard as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(IRStoreG),
"::",
stringify!(guard)
)
);
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IRLoadGOp {
ILGop_INVALID = 7424,
ILGop_IdentV128 = 7425,
ILGop_Ident64 = 7426,
ILGop_Ident32 = 7427,
ILGop_16Uto32 = 7428,
ILGop_16Sto32 = 7429,
ILGop_8Uto32 = 7430,
ILGop_8Sto32 = 7431,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct IRLoadG {
pub end: IREndness,
pub cvt: IRLoadGOp,
pub dst: IRTemp,
pub addr: *mut IRExpr,
pub alt: *mut IRExpr,
pub guard: *mut IRExpr,
}
#[test]
fn bindgen_test_layout_IRLoadG() {
assert_eq!(
::std::mem::size_of::<IRLoadG>(),
40usize,
concat!("Size of: ", stringify!(IRLoadG))
);
assert_eq!(
::std::mem::align_of::<IRLoadG>(),
8usize,
concat!("Alignment of ", stringify!(IRLoadG))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRLoadG>())).end as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(IRLoadG),
"::",
stringify!(end)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRLoadG>())).cvt as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(IRLoadG),
"::",
stringify!(cvt)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRLoadG>())).dst as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(IRLoadG),
"::",
stringify!(dst)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRLoadG>())).addr as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(IRLoadG),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRLoadG>())).alt as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(IRLoadG),
"::",
stringify!(alt)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRLoadG>())).guard as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(IRLoadG),
"::",
stringify!(guard)
)
);
}
extern "C" {
pub fn ppIRStoreG(sg: *const IRStoreG);
}
extern "C" {
pub fn ppIRLoadGOp(cvt: IRLoadGOp);
}
extern "C" {
pub fn ppIRLoadG(lg: *const IRLoadG);
}
extern "C" {
pub fn mkIRStoreG(
end: IREndness,
addr: *mut IRExpr,
data: *mut IRExpr,
guard: *mut IRExpr,
) -> *mut IRStoreG;
}
extern "C" {
pub fn mkIRLoadG(
end: IREndness,
cvt: IRLoadGOp,
dst: IRTemp,
addr: *mut IRExpr,
alt: *mut IRExpr,
guard: *mut IRExpr,
) -> *mut IRLoadG;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum IRStmtTag {
Ist_NoOp = 7680,
Ist_IMark = 7681,
Ist_AbiHint = 7682,
Ist_Put = 7683,
Ist_PutI = 7684,
Ist_WrTmp = 7685,
Ist_Store = 7686,
Ist_LoadG = 7687,
Ist_StoreG = 7688,
Ist_CAS = 7689,
Ist_LLSC = 7690,
Ist_Dirty = 7691,
Ist_MBE = 7692,
Ist_Exit = 7693,
}
#[repr(C)]
pub struct _IRStmt {
pub tag: IRStmtTag,
pub Ist: _IRStmt__bindgen_ty_1,
}
#[repr(C)]
pub struct _IRStmt__bindgen_ty_1 {
pub NoOp: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_1>,
pub IMark: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_2>,
pub AbiHint: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_3>,
pub Put: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_4>,
pub PutI: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_5>,
pub WrTmp: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_6>,
pub Store: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_7>,
pub StoreG: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_8>,
pub LoadG: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_9>,
pub CAS: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_10>,
pub LLSC: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_11>,
pub Dirty: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_12>,
pub MBE: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_13>,
pub Exit: __BindgenUnionField<_IRStmt__bindgen_ty_1__bindgen_ty_14>,
pub bindgen_union_field: [u64; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_2 {
pub addr: Addr,
pub len: UInt,
pub delta: UChar,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_2() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_2>(),
16usize,
concat!("Size of: ", stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_2))
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_2>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_2)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_2>())).addr as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_2>())).len as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(len)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_2>())).delta as *const _
as usize
},
12usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_2),
"::",
stringify!(delta)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_3 {
pub base: *mut IRExpr,
pub len: Int,
pub nia: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_3() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_3>(),
24usize,
concat!("Size of: ", stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_3))
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_3>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_3)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_3>())).base as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_3),
"::",
stringify!(base)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_3>())).len as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_3),
"::",
stringify!(len)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_3>())).nia as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_3),
"::",
stringify!(nia)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_4 {
pub offset: Int,
pub data: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_4() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_4>(),
16usize,
concat!("Size of: ", stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_4))
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_4>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_4)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_4>())).offset as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_4),
"::",
stringify!(offset)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_4>())).data as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_4),
"::",
stringify!(data)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_5 {
pub details: *mut IRPutI,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_5() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_5>(),
8usize,
concat!("Size of: ", stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_5))
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_5>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_5)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_5>())).details as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_5),
"::",
stringify!(details)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_6 {
pub tmp: IRTemp,
pub data: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_6() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_6>(),
16usize,
concat!("Size of: ", stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_6))
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_6>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_6)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_6>())).tmp as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_6),
"::",
stringify!(tmp)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_6>())).data as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_6),
"::",
stringify!(data)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_7 {
pub end: IREndness,
pub addr: *mut IRExpr,
pub data: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_7() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_7>(),
24usize,
concat!("Size of: ", stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_7))
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_7>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_7)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_7>())).end as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_7),
"::",
stringify!(end)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_7>())).addr as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_7),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_7>())).data as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_7),
"::",
stringify!(data)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_8 {
pub details: *mut IRStoreG,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_8() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_8>(),
8usize,
concat!("Size of: ", stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_8))
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_8>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_8)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_8>())).details as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_8),
"::",
stringify!(details)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_9 {
pub details: *mut IRLoadG,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_9() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_9>(),
8usize,
concat!("Size of: ", stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_9))
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_9>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_9)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_9>())).details as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_9),
"::",
stringify!(details)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_10 {
pub details: *mut IRCAS,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_10() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_10>(),
8usize,
concat!(
"Size of: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_10)
)
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_10>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_10)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_10>())).details as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_10),
"::",
stringify!(details)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_11 {
pub end: IREndness,
pub result: IRTemp,
pub addr: *mut IRExpr,
pub storedata: *mut IRExpr,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_11() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_11>(),
24usize,
concat!(
"Size of: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_11)
)
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_11>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_11)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_11>())).end as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_11),
"::",
stringify!(end)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_11>())).result as *const _
as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_11),
"::",
stringify!(result)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_11>())).addr as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_11),
"::",
stringify!(addr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_11>())).storedata as *const _
as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_11),
"::",
stringify!(storedata)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_12 {
pub details: *mut IRDirty,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_12() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_12>(),
8usize,
concat!(
"Size of: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_12)
)
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_12>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_12)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_12>())).details as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_12),
"::",
stringify!(details)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_13 {
pub event: IRMBusEvent,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_13() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_13>(),
4usize,
concat!(
"Size of: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_13)
)
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_13>(),
4usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_13)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_13>())).event as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_13),
"::",
stringify!(event)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _IRStmt__bindgen_ty_1__bindgen_ty_14 {
pub guard: *mut IRExpr,
pub dst: *mut IRConst,
pub jk: IRJumpKind,
pub offsIP: Int,
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1__bindgen_ty_14() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1__bindgen_ty_14>(),
24usize,
concat!(
"Size of: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_14)
)
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1__bindgen_ty_14>(),
8usize,
concat!(
"Alignment of ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_14)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_14>())).guard as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_14),
"::",
stringify!(guard)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_14>())).dst as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_14),
"::",
stringify!(dst)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_14>())).jk as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_14),
"::",
stringify!(jk)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<_IRStmt__bindgen_ty_1__bindgen_ty_14>())).offsIP as *const _
as usize
},
20usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1__bindgen_ty_14),
"::",
stringify!(offsIP)
)
);
}
#[test]
fn bindgen_test_layout__IRStmt__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<_IRStmt__bindgen_ty_1>(),
24usize,
concat!("Size of: ", stringify!(_IRStmt__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<_IRStmt__bindgen_ty_1>(),
8usize,
concat!("Alignment of ", stringify!(_IRStmt__bindgen_ty_1))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).NoOp as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(NoOp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).IMark as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(IMark)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).AbiHint as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(AbiHint)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).Put as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(Put)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).PutI as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(PutI)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).WrTmp as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(WrTmp)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).Store as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(Store)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).StoreG as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(StoreG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).LoadG as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(LoadG)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).CAS as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(CAS)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).LLSC as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(LLSC)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).Dirty as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(Dirty)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).MBE as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(MBE)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt__bindgen_ty_1>())).Exit as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt__bindgen_ty_1),
"::",
stringify!(Exit)
)
);
}
#[test]
fn bindgen_test_layout__IRStmt() {
assert_eq!(
::std::mem::size_of::<_IRStmt>(),
32usize,
concat!("Size of: ", stringify!(_IRStmt))
);
assert_eq!(
::std::mem::align_of::<_IRStmt>(),
8usize,
concat!("Alignment of ", stringify!(_IRStmt))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt>())).tag as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt),
"::",
stringify!(tag)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<_IRStmt>())).Ist as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(_IRStmt),
"::",
stringify!(Ist)
)
);
}
pub type IRStmt = _IRStmt;
extern "C" {
pub fn IRStmt_NoOp() -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_IMark(addr: Addr, len: UInt, delta: UChar) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_AbiHint(base: *mut IRExpr, len: Int, nia: *mut IRExpr) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_Put(off: Int, data: *mut IRExpr) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_PutI(details: *mut IRPutI) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_WrTmp(tmp: IRTemp, data: *mut IRExpr) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_Store(end: IREndness, addr: *mut IRExpr, data: *mut IRExpr) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_StoreG(
end: IREndness,
addr: *mut IRExpr,
data: *mut IRExpr,
guard: *mut IRExpr,
) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_LoadG(
end: IREndness,
cvt: IRLoadGOp,
dst: IRTemp,
addr: *mut IRExpr,
alt: *mut IRExpr,
guard: *mut IRExpr,
) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_CAS(details: *mut IRCAS) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_LLSC(
end: IREndness,
result: IRTemp,
addr: *mut IRExpr,
storedata: *mut IRExpr,
) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_Dirty(details: *mut IRDirty) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_MBE(event: IRMBusEvent) -> *mut IRStmt;
}
extern "C" {
pub fn IRStmt_Exit(
guard: *mut IRExpr,
jk: IRJumpKind,
dst: *mut IRConst,
offsIP: Int,
) -> *mut IRStmt;
}
extern "C" {
pub fn deepCopyIRStmt(arg1: *const IRStmt) -> *mut IRStmt;
}
extern "C" {
pub fn ppIRStmt(arg1: *const IRStmt);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct IRTypeEnv {
pub types: *mut IRType,
pub types_size: Int,
pub types_used: Int,
}
#[test]
fn bindgen_test_layout_IRTypeEnv() {
assert_eq!(
::std::mem::size_of::<IRTypeEnv>(),
16usize,
concat!("Size of: ", stringify!(IRTypeEnv))
);
assert_eq!(
::std::mem::align_of::<IRTypeEnv>(),
8usize,
concat!("Alignment of ", stringify!(IRTypeEnv))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRTypeEnv>())).types as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(IRTypeEnv),
"::",
stringify!(types)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRTypeEnv>())).types_size as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(IRTypeEnv),
"::",
stringify!(types_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRTypeEnv>())).types_used as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(IRTypeEnv),
"::",
stringify!(types_used)
)
);
}
extern "C" {
pub fn newIRTemp(arg1: *mut IRTypeEnv, arg2: IRType) -> IRTemp;
}
extern "C" {
pub fn deepCopyIRTypeEnv(arg1: *const IRTypeEnv) -> *mut IRTypeEnv;
}
extern "C" {
pub fn ppIRTypeEnv(arg1: *const IRTypeEnv);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct IRSB {
pub tyenv: *mut IRTypeEnv,
pub stmts: *mut *mut IRStmt,
pub stmts_size: Int,
pub stmts_used: Int,
pub next: *mut IRExpr,
pub jumpkind: IRJumpKind,
pub offsIP: Int,
}
#[test]
fn bindgen_test_layout_IRSB() {
assert_eq!(
::std::mem::size_of::<IRSB>(),
40usize,
concat!("Size of: ", stringify!(IRSB))
);
assert_eq!(
::std::mem::align_of::<IRSB>(),
8usize,
concat!("Alignment of ", stringify!(IRSB))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRSB>())).tyenv as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(IRSB),
"::",
stringify!(tyenv)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRSB>())).stmts as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(IRSB),
"::",
stringify!(stmts)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRSB>())).stmts_size as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(IRSB),
"::",
stringify!(stmts_size)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRSB>())).stmts_used as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(IRSB),
"::",
stringify!(stmts_used)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRSB>())).next as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(IRSB),
"::",
stringify!(next)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRSB>())).jumpkind as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(IRSB),
"::",
stringify!(jumpkind)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRSB>())).offsIP as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(IRSB),
"::",
stringify!(offsIP)
)
);
}
extern "C" {
pub fn emptyIRSB() -> *mut IRSB;
}
extern "C" {
pub fn deepCopyIRSB(arg1: *const IRSB) -> *mut IRSB;
}
extern "C" {
pub fn deepCopyIRSBExceptStmts(arg1: *const IRSB) -> *mut IRSB;
}
extern "C" {
pub fn ppIRSB(arg1: *const IRSB);
}
extern "C" {
pub fn addStmtToIRSB(arg1: *mut IRSB, arg2: *mut IRStmt);
}
extern "C" {
pub fn emptyIRTypeEnv() -> *mut IRTypeEnv;
}
extern "C" {
pub fn typeOfIRConst(arg1: *const IRConst) -> IRType;
}
extern "C" {
pub fn typeOfIRTemp(arg1: *const IRTypeEnv, arg2: IRTemp) -> IRType;
}
extern "C" {
pub fn typeOfIRExpr(arg1: *const IRTypeEnv, arg2: *const IRExpr) -> IRType;
}
extern "C" {
pub fn typeOfIRLoadGOp(cvt: IRLoadGOp, t_res: *mut IRType, t_arg: *mut IRType);
}
extern "C" {
pub fn sanityCheckIRSB(
bb: *const IRSB,
caller: *const HChar,
require_flatness: Bool,
guest_word_size: IRType,
);
}
extern "C" {
pub fn isFlatIRStmt(arg1: *const IRStmt) -> Bool;
}
extern "C" {
pub fn isFlatIRSB(arg1: *const IRSB) -> Bool;
}
extern "C" {
pub fn isPlausibleIRType(ty: IRType) -> Bool;
}
extern "C" {
pub fn vex_inject_ir(arg1: *mut IRSB, arg2: IREndness);
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum VexArch {
VexArch_INVALID = 1024,
VexArchX86 = 1025,
VexArchAMD64 = 1026,
VexArchARM = 1027,
VexArchARM64 = 1028,
VexArchPPC32 = 1029,
VexArchPPC64 = 1030,
VexArchS390X = 1031,
VexArchMIPS32 = 1032,
VexArchMIPS64 = 1033,
VexArchNANOMIPS = 1034,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum VexEndness {
VexEndness_INVALID = 1536,
VexEndnessLE = 1537,
VexEndnessBE = 1538,
}
extern "C" {
pub fn LibVEX_ppVexArch(arg1: VexArch) -> *const HChar;
}
extern "C" {
pub fn LibVEX_ppVexEndness(endness: VexEndness) -> *const HChar;
}
extern "C" {
pub fn LibVEX_ppVexHwCaps(arg1: VexArch, arg2: UInt) -> *const HChar;
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum VexCacheKind {
DATA_CACHE = 1280,
INSN_CACHE = 1281,
UNIFIED_CACHE = 1282,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexCache {
pub kind: VexCacheKind,
pub level: UInt,
pub sizeB: UInt,
pub line_sizeB: UInt,
pub assoc: UInt,
pub is_trace_cache: Bool,
}
#[test]
fn bindgen_test_layout_VexCache() {
assert_eq!(
::std::mem::size_of::<VexCache>(),
24usize,
concat!("Size of: ", stringify!(VexCache))
);
assert_eq!(
::std::mem::align_of::<VexCache>(),
4usize,
concat!("Alignment of ", stringify!(VexCache))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexCache>())).kind as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexCache),
"::",
stringify!(kind)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexCache>())).level as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(VexCache),
"::",
stringify!(level)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexCache>())).sizeB as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexCache),
"::",
stringify!(sizeB)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexCache>())).line_sizeB as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexCache),
"::",
stringify!(line_sizeB)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexCache>())).assoc as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexCache),
"::",
stringify!(assoc)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexCache>())).is_trace_cache as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(VexCache),
"::",
stringify!(is_trace_cache)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexCacheInfo {
pub num_levels: UInt,
pub num_caches: UInt,
pub caches: *mut VexCache,
pub icaches_maintain_coherence: Bool,
}
#[test]
fn bindgen_test_layout_VexCacheInfo() {
assert_eq!(
::std::mem::size_of::<VexCacheInfo>(),
24usize,
concat!("Size of: ", stringify!(VexCacheInfo))
);
assert_eq!(
::std::mem::align_of::<VexCacheInfo>(),
8usize,
concat!("Alignment of ", stringify!(VexCacheInfo))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexCacheInfo>())).num_levels as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexCacheInfo),
"::",
stringify!(num_levels)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexCacheInfo>())).num_caches as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(VexCacheInfo),
"::",
stringify!(num_caches)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexCacheInfo>())).caches as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexCacheInfo),
"::",
stringify!(caches)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexCacheInfo>())).icaches_maintain_coherence as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(VexCacheInfo),
"::",
stringify!(icaches_maintain_coherence)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexArchInfo {
pub hwcaps: UInt,
pub endness: VexEndness,
pub hwcache_info: VexCacheInfo,
pub ppc_icache_line_szB: Int,
pub ppc_dcbz_szB: UInt,
pub ppc_dcbzl_szB: UInt,
pub arm64_dMinLine_lg2_szB: UInt,
pub arm64_iMinLine_lg2_szB: UInt,
pub arm64_requires_fallback_LLSC: Bool,
}
#[test]
fn bindgen_test_layout_VexArchInfo() {
assert_eq!(
::std::mem::size_of::<VexArchInfo>(),
56usize,
concat!("Size of: ", stringify!(VexArchInfo))
);
assert_eq!(
::std::mem::align_of::<VexArchInfo>(),
8usize,
concat!("Alignment of ", stringify!(VexArchInfo))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexArchInfo>())).hwcaps as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexArchInfo),
"::",
stringify!(hwcaps)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexArchInfo>())).endness as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(VexArchInfo),
"::",
stringify!(endness)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexArchInfo>())).hwcache_info as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexArchInfo),
"::",
stringify!(hwcache_info)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexArchInfo>())).ppc_icache_line_szB as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexArchInfo),
"::",
stringify!(ppc_icache_line_szB)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexArchInfo>())).ppc_dcbz_szB as *const _ as usize },
36usize,
concat!(
"Offset of field: ",
stringify!(VexArchInfo),
"::",
stringify!(ppc_dcbz_szB)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexArchInfo>())).ppc_dcbzl_szB as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(VexArchInfo),
"::",
stringify!(ppc_dcbzl_szB)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexArchInfo>())).arm64_dMinLine_lg2_szB as *const _ as usize
},
44usize,
concat!(
"Offset of field: ",
stringify!(VexArchInfo),
"::",
stringify!(arm64_dMinLine_lg2_szB)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexArchInfo>())).arm64_iMinLine_lg2_szB as *const _ as usize
},
48usize,
concat!(
"Offset of field: ",
stringify!(VexArchInfo),
"::",
stringify!(arm64_iMinLine_lg2_szB)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexArchInfo>())).arm64_requires_fallback_LLSC as *const _
as usize
},
52usize,
concat!(
"Offset of field: ",
stringify!(VexArchInfo),
"::",
stringify!(arm64_requires_fallback_LLSC)
)
);
}
extern "C" {
pub fn LibVEX_default_VexArchInfo(vai: *mut VexArchInfo);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexAbiInfo {
pub guest_stack_redzone_size: Int,
pub guest_amd64_assume_fs_is_const: Bool,
pub guest_amd64_assume_gs_is_const: Bool,
pub guest_ppc_zap_RZ_at_blr: Bool,
pub guest_ppc_zap_RZ_at_bl: ::std::option::Option<unsafe extern "C" fn(arg1: Addr) -> Bool>,
pub guest__use_fallback_LLSC: Bool,
pub host_ppc_calls_use_fndescrs: Bool,
pub guest_mips_fp_mode: UInt,
}
#[test]
fn bindgen_test_layout_VexAbiInfo() {
assert_eq!(
::std::mem::size_of::<VexAbiInfo>(),
24usize,
concat!("Size of: ", stringify!(VexAbiInfo))
);
assert_eq!(
::std::mem::align_of::<VexAbiInfo>(),
8usize,
concat!("Alignment of ", stringify!(VexAbiInfo))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexAbiInfo>())).guest_stack_redzone_size as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexAbiInfo),
"::",
stringify!(guest_stack_redzone_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexAbiInfo>())).guest_amd64_assume_fs_is_const as *const _
as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(VexAbiInfo),
"::",
stringify!(guest_amd64_assume_fs_is_const)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexAbiInfo>())).guest_amd64_assume_gs_is_const as *const _
as usize
},
5usize,
concat!(
"Offset of field: ",
stringify!(VexAbiInfo),
"::",
stringify!(guest_amd64_assume_gs_is_const)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexAbiInfo>())).guest_ppc_zap_RZ_at_blr as *const _ as usize
},
6usize,
concat!(
"Offset of field: ",
stringify!(VexAbiInfo),
"::",
stringify!(guest_ppc_zap_RZ_at_blr)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexAbiInfo>())).guest_ppc_zap_RZ_at_bl as *const _ as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(VexAbiInfo),
"::",
stringify!(guest_ppc_zap_RZ_at_bl)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexAbiInfo>())).guest__use_fallback_LLSC as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(VexAbiInfo),
"::",
stringify!(guest__use_fallback_LLSC)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexAbiInfo>())).host_ppc_calls_use_fndescrs as *const _ as usize
},
17usize,
concat!(
"Offset of field: ",
stringify!(VexAbiInfo),
"::",
stringify!(host_ppc_calls_use_fndescrs)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexAbiInfo>())).guest_mips_fp_mode as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(VexAbiInfo),
"::",
stringify!(guest_mips_fp_mode)
)
);
}
extern "C" {
pub fn LibVEX_default_VexAbiInfo(vbi: *mut VexAbiInfo);
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum VexRegisterUpdates {
VexRegUpd_INVALID = 1792,
VexRegUpdSpAtMemAccess = 1793,
VexRegUpdUnwindregsAtMemAccess = 1794,
VexRegUpdAllregsAtMemAccess = 1795,
VexRegUpdAllregsAtEachInsn = 1796,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexControl {
pub iropt_verbosity: Int,
pub iropt_level: Int,
pub iropt_register_updates_default: VexRegisterUpdates,
pub iropt_unroll_thresh: Int,
pub guest_max_insns: Int,
pub guest_chase: Bool,
pub regalloc_version: UInt,
}
#[test]
fn bindgen_test_layout_VexControl() {
assert_eq!(
::std::mem::size_of::<VexControl>(),
28usize,
concat!("Size of: ", stringify!(VexControl))
);
assert_eq!(
::std::mem::align_of::<VexControl>(),
4usize,
concat!("Alignment of ", stringify!(VexControl))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexControl>())).iropt_verbosity as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexControl),
"::",
stringify!(iropt_verbosity)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexControl>())).iropt_level as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(VexControl),
"::",
stringify!(iropt_level)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexControl>())).iropt_register_updates_default as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(VexControl),
"::",
stringify!(iropt_register_updates_default)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexControl>())).iropt_unroll_thresh as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexControl),
"::",
stringify!(iropt_unroll_thresh)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexControl>())).guest_max_insns as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexControl),
"::",
stringify!(guest_max_insns)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexControl>())).guest_chase as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(VexControl),
"::",
stringify!(guest_chase)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexControl>())).regalloc_version as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexControl),
"::",
stringify!(regalloc_version)
)
);
}
extern "C" {
pub fn LibVEX_default_VexControl(vcon: *mut VexControl);
}
extern "C" {
pub fn LibVEX_Alloc(nbytes: SizeT) -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn LibVEX_ShowAllocStats();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestLayout {
pub total_sizeB: Int,
pub offset_SP: Int,
pub sizeof_SP: Int,
pub offset_FP: Int,
pub sizeof_FP: Int,
pub offset_IP: Int,
pub sizeof_IP: Int,
pub n_alwaysDefd: Int,
pub alwaysDefd: [VexGuestLayout__bindgen_ty_1; 24usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestLayout__bindgen_ty_1 {
pub offset: Int,
pub size: Int,
}
#[test]
fn bindgen_test_layout_VexGuestLayout__bindgen_ty_1() {
assert_eq!(
::std::mem::size_of::<VexGuestLayout__bindgen_ty_1>(),
8usize,
concat!("Size of: ", stringify!(VexGuestLayout__bindgen_ty_1))
);
assert_eq!(
::std::mem::align_of::<VexGuestLayout__bindgen_ty_1>(),
4usize,
concat!("Alignment of ", stringify!(VexGuestLayout__bindgen_ty_1))
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestLayout__bindgen_ty_1>())).offset as *const _ as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout__bindgen_ty_1),
"::",
stringify!(offset)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexGuestLayout__bindgen_ty_1>())).size as *const _ as usize
},
4usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout__bindgen_ty_1),
"::",
stringify!(size)
)
);
}
#[test]
fn bindgen_test_layout_VexGuestLayout() {
assert_eq!(
::std::mem::size_of::<VexGuestLayout>(),
224usize,
concat!("Size of: ", stringify!(VexGuestLayout))
);
assert_eq!(
::std::mem::align_of::<VexGuestLayout>(),
4usize,
concat!("Alignment of ", stringify!(VexGuestLayout))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestLayout>())).total_sizeB as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout),
"::",
stringify!(total_sizeB)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestLayout>())).offset_SP as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout),
"::",
stringify!(offset_SP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestLayout>())).sizeof_SP as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout),
"::",
stringify!(sizeof_SP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestLayout>())).offset_FP as *const _ as usize },
12usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout),
"::",
stringify!(offset_FP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestLayout>())).sizeof_FP as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout),
"::",
stringify!(sizeof_FP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestLayout>())).offset_IP as *const _ as usize },
20usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout),
"::",
stringify!(offset_IP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestLayout>())).sizeof_IP as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout),
"::",
stringify!(sizeof_IP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestLayout>())).n_alwaysDefd as *const _ as usize },
28usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout),
"::",
stringify!(n_alwaysDefd)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestLayout>())).alwaysDefd as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(VexGuestLayout),
"::",
stringify!(alwaysDefd)
)
);
}
extern "C" {
pub fn LibVEX_Init(
failure_exit: ::std::option::Option<unsafe extern "C" fn()>,
log_bytes: ::std::option::Option<unsafe extern "C" fn(arg1: *const HChar, nbytes: SizeT)>,
debuglevel: Int,
vcon: *const VexControl,
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexTranslateResult {
pub status: VexTranslateResult__bindgen_ty_1,
pub n_sc_extents: UInt,
pub offs_profInc: Int,
pub n_guest_instrs: UInt,
pub n_uncond_in_trace: UShort,
pub n_cond_in_trace: UShort,
}
pub const VexTranslateResult_VexTransOK: VexTranslateResult__bindgen_ty_1 =
VexTranslateResult__bindgen_ty_1::VexTransOK;
pub const VexTranslateResult_VexTransAccessFail: VexTranslateResult__bindgen_ty_1 =
VexTranslateResult__bindgen_ty_1::VexTransAccessFail;
pub const VexTranslateResult_VexTransOutputFull: VexTranslateResult__bindgen_ty_1 =
VexTranslateResult__bindgen_ty_1::VexTransOutputFull;
#[repr(u32)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum VexTranslateResult__bindgen_ty_1 {
VexTransOK = 2048,
VexTransAccessFail = 2049,
VexTransOutputFull = 2050,
}
#[test]
fn bindgen_test_layout_VexTranslateResult() {
assert_eq!(
::std::mem::size_of::<VexTranslateResult>(),
20usize,
concat!("Size of: ", stringify!(VexTranslateResult))
);
assert_eq!(
::std::mem::align_of::<VexTranslateResult>(),
4usize,
concat!("Alignment of ", stringify!(VexTranslateResult))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateResult>())).status as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateResult),
"::",
stringify!(status)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateResult>())).n_sc_extents as *const _ as usize },
4usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateResult),
"::",
stringify!(n_sc_extents)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateResult>())).offs_profInc as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateResult),
"::",
stringify!(offs_profInc)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateResult>())).n_guest_instrs as *const _ as usize
},
12usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateResult),
"::",
stringify!(n_guest_instrs)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateResult>())).n_uncond_in_trace as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateResult),
"::",
stringify!(n_uncond_in_trace)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateResult>())).n_cond_in_trace as *const _ as usize
},
18usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateResult),
"::",
stringify!(n_cond_in_trace)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexGuestExtents {
pub base: [Addr; 3usize],
pub len: [UShort; 3usize],
pub n_used: UShort,
}
#[test]
fn bindgen_test_layout_VexGuestExtents() {
assert_eq!(
::std::mem::size_of::<VexGuestExtents>(),
32usize,
concat!("Size of: ", stringify!(VexGuestExtents))
);
assert_eq!(
::std::mem::align_of::<VexGuestExtents>(),
8usize,
concat!("Alignment of ", stringify!(VexGuestExtents))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestExtents>())).base as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexGuestExtents),
"::",
stringify!(base)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestExtents>())).len as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(VexGuestExtents),
"::",
stringify!(len)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexGuestExtents>())).n_used as *const _ as usize },
30usize,
concat!(
"Offset of field: ",
stringify!(VexGuestExtents),
"::",
stringify!(n_used)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexTranslateArgs {
pub arch_guest: VexArch,
pub archinfo_guest: VexArchInfo,
pub arch_host: VexArch,
pub archinfo_host: VexArchInfo,
pub abiinfo_both: VexAbiInfo,
pub callback_opaque: *mut ::std::os::raw::c_void,
pub guest_bytes: *const UChar,
pub guest_bytes_addr: Addr,
pub chase_into_ok: ::std::option::Option<
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: Addr) -> Bool,
>,
pub guest_extents: *mut VexGuestExtents,
pub host_bytes: *mut UChar,
pub host_bytes_size: Int,
pub host_bytes_used: *mut Int,
pub instrument1: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: *mut IRSB,
arg3: *const VexGuestLayout,
arg4: *const VexGuestExtents,
arg5: *const VexArchInfo,
gWordTy: IRType,
hWordTy: IRType,
) -> *mut IRSB,
>,
pub instrument2: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
arg2: *mut IRSB,
arg3: *const VexGuestLayout,
arg4: *const VexGuestExtents,
arg5: *const VexArchInfo,
gWordTy: IRType,
hWordTy: IRType,
) -> *mut IRSB,
>,
pub finaltidy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut IRSB) -> *mut IRSB>,
pub needs_self_check: ::std::option::Option<
unsafe extern "C" fn(
arg1: *mut ::std::os::raw::c_void,
pxControl: *mut VexRegisterUpdates,
arg2: *const VexGuestExtents,
) -> UInt,
>,
pub preamble_function: ::std::option::Option<
unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: *mut IRSB) -> Bool,
>,
pub traceflags: Int,
pub sigill_diag: Bool,
pub addProfInc: Bool,
pub disp_cp_chain_me_to_slowEP: *const ::std::os::raw::c_void,
pub disp_cp_chain_me_to_fastEP: *const ::std::os::raw::c_void,
pub disp_cp_xindir: *const ::std::os::raw::c_void,
pub disp_cp_xassisted: *const ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_VexTranslateArgs() {
assert_eq!(
::std::mem::size_of::<VexTranslateArgs>(),
296usize,
concat!("Size of: ", stringify!(VexTranslateArgs))
);
assert_eq!(
::std::mem::align_of::<VexTranslateArgs>(),
8usize,
concat!("Alignment of ", stringify!(VexTranslateArgs))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).arch_guest as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(arch_guest)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).archinfo_guest as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(archinfo_guest)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).arch_host as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(arch_host)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).archinfo_host as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(archinfo_host)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).abiinfo_both as *const _ as usize },
128usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(abiinfo_both)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateArgs>())).callback_opaque as *const _ as usize
},
152usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(callback_opaque)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).guest_bytes as *const _ as usize },
160usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(guest_bytes)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateArgs>())).guest_bytes_addr as *const _ as usize
},
168usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(guest_bytes_addr)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).chase_into_ok as *const _ as usize },
176usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(chase_into_ok)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).guest_extents as *const _ as usize },
184usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(guest_extents)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).host_bytes as *const _ as usize },
192usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(host_bytes)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateArgs>())).host_bytes_size as *const _ as usize
},
200usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(host_bytes_size)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateArgs>())).host_bytes_used as *const _ as usize
},
208usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(host_bytes_used)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).instrument1 as *const _ as usize },
216usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(instrument1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).instrument2 as *const _ as usize },
224usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(instrument2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).finaltidy as *const _ as usize },
232usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(finaltidy)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateArgs>())).needs_self_check as *const _ as usize
},
240usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(needs_self_check)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateArgs>())).preamble_function as *const _ as usize
},
248usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(preamble_function)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).traceflags as *const _ as usize },
256usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(traceflags)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).sigill_diag as *const _ as usize },
260usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(sigill_diag)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).addProfInc as *const _ as usize },
261usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(addProfInc)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateArgs>())).disp_cp_chain_me_to_slowEP as *const _
as usize
},
264usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(disp_cp_chain_me_to_slowEP)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateArgs>())).disp_cp_chain_me_to_fastEP as *const _
as usize
},
272usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(disp_cp_chain_me_to_fastEP)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexTranslateArgs>())).disp_cp_xindir as *const _ as usize },
280usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(disp_cp_xindir)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<VexTranslateArgs>())).disp_cp_xassisted as *const _ as usize
},
288usize,
concat!(
"Offset of field: ",
stringify!(VexTranslateArgs),
"::",
stringify!(disp_cp_xassisted)
)
);
}
extern "C" {
pub fn LibVEX_Translate(arg1: *mut VexTranslateArgs) -> VexTranslateResult;
}
extern "C" {
pub fn LibVEX_FrontEnd(
arg1: *mut VexTranslateArgs,
res: *mut VexTranslateResult,
pxControl: *mut VexRegisterUpdates,
) -> *mut IRSB;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VexInvalRange {
pub start: HWord,
pub len: HWord,
}
#[test]
fn bindgen_test_layout_VexInvalRange() {
assert_eq!(
::std::mem::size_of::<VexInvalRange>(),
16usize,
concat!("Size of: ", stringify!(VexInvalRange))
);
assert_eq!(
::std::mem::align_of::<VexInvalRange>(),
8usize,
concat!("Alignment of ", stringify!(VexInvalRange))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexInvalRange>())).start as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(VexInvalRange),
"::",
stringify!(start)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<VexInvalRange>())).len as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(VexInvalRange),
"::",
stringify!(len)
)
);
}
extern "C" {
pub fn LibVEX_Chain(
arch_host: VexArch,
endhess_host: VexEndness,
place_to_chain: *mut ::std::os::raw::c_void,
disp_cp_chain_me_EXPECTED: *const ::std::os::raw::c_void,
place_to_jump_to: *const ::std::os::raw::c_void,
) -> VexInvalRange;
}
extern "C" {
pub fn LibVEX_UnChain(
arch_host: VexArch,
endness_host: VexEndness,
place_to_unchain: *mut ::std::os::raw::c_void,
place_to_jump_to_EXPECTED: *const ::std::os::raw::c_void,
disp_cp_chain_me: *const ::std::os::raw::c_void,
) -> VexInvalRange;
}
extern "C" {
pub fn LibVEX_evCheckSzB(arch_host: VexArch) -> Int;
}
extern "C" {
pub fn LibVEX_PatchProfInc(
arch_host: VexArch,
endness_host: VexEndness,
place_to_patch: *mut ::std::os::raw::c_void,
location_of_counter: *const ULong,
) -> VexInvalRange;
}
extern "C" {
pub fn LibVEX_ShowStats();
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct IRICB {
pub op: IROp,
pub result: HWord,
pub opnd1: HWord,
pub opnd2: HWord,
pub opnd3: HWord,
pub opnd4: HWord,
pub t_result: IRType,
pub t_opnd1: IRType,
pub t_opnd2: IRType,
pub t_opnd3: IRType,
pub t_opnd4: IRType,
pub rounding_mode: UInt,
pub num_operands: UInt,
pub immediate_type: UInt,
pub immediate_index: UInt,
}
#[test]
fn bindgen_test_layout_IRICB() {
assert_eq!(
::std::mem::size_of::<IRICB>(),
88usize,
concat!("Size of: ", stringify!(IRICB))
);
assert_eq!(
::std::mem::align_of::<IRICB>(),
8usize,
concat!("Alignment of ", stringify!(IRICB))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).op as *const _ as usize },
0usize,
concat!("Offset of field: ", stringify!(IRICB), "::", stringify!(op))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).result as *const _ as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(result)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).opnd1 as *const _ as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(opnd1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).opnd2 as *const _ as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(opnd2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).opnd3 as *const _ as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(opnd3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).opnd4 as *const _ as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(opnd4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).t_result as *const _ as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(t_result)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).t_opnd1 as *const _ as usize },
52usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(t_opnd1)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).t_opnd2 as *const _ as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(t_opnd2)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).t_opnd3 as *const _ as usize },
60usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(t_opnd3)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).t_opnd4 as *const _ as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(t_opnd4)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).rounding_mode as *const _ as usize },
68usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(rounding_mode)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).num_operands as *const _ as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(num_operands)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).immediate_type as *const _ as usize },
76usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(immediate_type)
)
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<IRICB>())).immediate_index as *const _ as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(IRICB),
"::",
stringify!(immediate_index)
)
);
}
extern "C" {
pub fn LibVEX_InitIRI(arg1: *const IRICB);
}