r/kernel • • 9d ago

MacOS / Windows Kernel and Driver reverse engineering for better Linux support

Hi all!

Since Reverse Engineering community with AI is kinda growing and succeeds in a lot of fields, I am wondering, if we can let AI try to reverse engineer e.g. Macos / Windows Kernel and drivers, to get it easier to port functionality to Linux?

Is anyone aware of such ongoing projects (with AI)?

Would help to bring Linux to MacOS HW, or get better ARM support for Snapdragon chips under Linux.

0 Upvotes

9 comments sorted by

1

u/grizzlor_ 7d ago

The project to get Linux running on Mac Silicon hardware, Asahi Linux, has a strict no AI policy for legal reasons.

All this AI reverse engineering is a legal minefield. Someone is definitely going to get blown up.

1

u/jusore 6d ago

Probablemente se creará más de un proyecto así, si aún no existe, gracias a los procesos de verificación automática byte a byte (Reverse Engineering Anything), que evitan los típicos problemas de alucinaciones, etc, de la IA (por lo que se volvió inevitable inicialmente la política del cero IA).

Además, aunque el lobby trabajará para tratar de luchar contra ello modificando la ley, seguramente tardará y exista margen para que sea completamente legal por bastante tiempo este nuevo salto de la ingeniería inversa (mientras no se estudie directamente código fuente filtrado, ni se copien cuestiones afectadas por propiedad intelectual).

Ya se ha sentado precedente en permitir el uso de ingentes cantidades de material protegido para el entrenamiento de IAs, por lo que si empresas privadas pueden capturar ese valor colectivo, con mayor motivo comunidades de desarrollo de código abierto pueden valerse de la IA para abrir la escena software y superar el paradigma privativo.

-1

u/teamore_ 3d ago

No, they will sue you to oblivion if you release a public project that is created from directly inspecting proprietary binaries, it is why projects like asahi linux are extremely anal about this, doubly so with LLMs. You can do this yourself by all means or find forums where these things are happening, but nothing so public or straightforward like explicit instructions and documentation as you would like or easily find with a single web search

0

u/No-Assist-8734 9d ago

Lol ..

0

u/alpha417 9d ago

its almost like this is an AI prompt...

0

u/SolarKernel 9d ago

Its not ;-)

0

u/Ok-Radish-8394 9d ago

I doubt so. They’re fundamentally different kernels.

1

u/SolarKernel 5d ago

But the same HW with same registers to access, where we sometimes have no documentation.

1

u/Ok-Radish-8394 5d ago

You can reverse engineer HW drivers but the kernels are different.