panda-re / panda

Platform for Architecture-Neutral Dynamic Analysis
https://panda.re
Other
2.48k stars 479 forks source link

OSI_Linux fails to generate kernelinfo for newer versions of kernel #1394

Open AminoACID123 opened 11 months ago

AminoACID123 commented 11 months ago

OSI_Linux cannot generate kernelinfo for newer versions of kernel (6.x.x). Errors include ‘current_task’ undeclared, ‘struct mm_struct’ has no member named ‘mmap’, ‘struct vm_area_struct’ has no member named ‘vm_next’

AminoACID123 commented 8 months ago

It seems to me #1429 does not completely solve the issue. Could you update kernelinfo.c as well? Also, current_task is no longer a standalone variable but a member of pcpu_hot.