Exploit databaseDownload repository ZIP
GH-0819755186c32afe2087064ec4e35e19
notselwyn/cve-2024-1086
Sources for CVE-2024-1086
14 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files128
notselwyn/cve-2024-1086Revision 90615e07b3a6
- ↑..Parent directory
- .a.out.h.cmd
- .amd_hsmp.h.cmd
- .auxvec.h.cmd
- .bitsperlong.h.cmd
- .boot.h.cmd
- .bootparam.h.cmd
- .bpf_perf_event.h.cmd
- .byteorder.h.cmd
- .debugreg.h.cmd
- .e820.h.cmd
- .errno.h.cmd
- .fcntl.h.cmd
- .hw_breakpoint.h.cmd
- .hwcap2.h.cmd
- .ioctl.h.cmd
- .ioctls.h.cmd
- .ipcbuf.h.cmd
- .ist.h.cmd
- .kvm.h.cmd
- .kvm_para.h.cmd
- .kvm_perf.h.cmd
- .ldt.h.cmd
- .mce.h.cmd
- .mman.h.cmd
- .msgbuf.h.cmd
- .msr.h.cmd
- .mtrr.h.cmd
- .param.h.cmd
- .perf_regs.h.cmd
- .poll.h.cmd
- .posix_types.h.cmd
- .posix_types_32.h.cmd
- .posix_types_64.h.cmd
- .posix_types_x32.h.cmd
- .prctl.h.cmd
- .processor-flags.h.cmd
- .ptrace-abi.h.cmd
- .ptrace.h.cmd
- .resource.h.cmd
- .sembuf.h.cmd
- .setup.h.cmd
- .sgx.h.cmd
- .shmbuf.h.cmd
- .sigcontext.h.cmd
- .sigcontext32.h.cmd
- .siginfo.h.cmd
- .signal.h.cmd
- .socket.h.cmd
- .sockios.h.cmd
- .stat.h.cmd
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/linux-lts-6.1.72/asm/swab.h
Text · 724 bytes/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _ASM_X86_SWAB_H
#define _ASM_X86_SWAB_H
#include <linux/types.h>
static __inline__ __u32 __arch_swab32(__u32 val)
{
__asm__("bswapl %0" : "=r" (val) : "0" (val));
return val;
}
#define __arch_swab32 __arch_swab32
static __inline__ __u64 __arch_swab64(__u64 val)
{
#ifdef __i386__
union {
struct {
__u32 a;
__u32 b;
} s;
__u64 u;
} v;
v.u = val;
__asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1"
: "=r" (v.s.a), "=r" (v.s.b)
: "0" (v.s.a), "1" (v.s.b));
return v.u;
#else /* __i386__ */
__asm__("bswapq %0" : "=r" (val) : "0" (val));
return val;
#endif
}
#define __arch_swab64 __arch_swab64
#endif /* _ASM_X86_SWAB_H */