Open
Description
Version and Platform (required):
- Binary Ninja Version: 4.2.6304-dev Personal (65f49c87)
- OS: manjaro
- OS Version: Linux version 6.10.13-3-MANJARO (builduser@fv-az1246-770) (gcc (GCC) 14.2.1 20240910, GNU ld (GNU Binutils) 2.43.0) use Caches folder on OS X for download cache to prevent backups #1 SMP PREEMPT_DYNAMIC Tue Oct 8 03:24:49 UTC 2024
- CPU Architecture: x64
Bug Description:
reverse code on vmlinux, we get the following code
ffffff800834dc58 int oom_kill_process(struct oom_control* oc, char const* message)
ffffff800834dc58 {
ffffff800834dc58 int64_t* x18;
ffffff800834dc5c int64_t x30;
ffffff800834dc5c *(uint64_t*)x18 = x30;
ffffff800834dc78 int64_t __saved_x29;
ffffff800834dc78 int64_t* x29 = &__saved_x29;
ffffff800834dc84 int0_t sp_el0;
ffffff800834dc84 uint64_t t_1 = _ReadStatusReg(sp_el0);
ffffff800834dc8c struct oom_control* zonelist = oc;
ffffff800834dc90 int64_t var_68 = 0;
ffffff800834dc94 struct task_struct* chosen = oc->chosen;
ffffff800834dc98 uint64_t mm_1 = (uint64_t)oc->chosen_points;
ffffff800834dca4 struct spinlock* t = &chosen->alloc_lock;
ffffff800834dcb0 *(uint32_t*)(t_1 + 0x48) += 1;
ffffff800834dcb4 __prefetch(t->); //////////////////// is this right or designed purposed?