0xricksanchez / like-dbg

Fully dockerized Linux kernel debugging environment
MIT License
731 stars 59 forks source link

Add more capabilities to the debugger #51

Open 0xricksanchez opened 1 year ago

0xricksanchez commented 1 year ago

Is your feature request related to a problem? Please describe.

GDB + GEF is already a massive improvement over plain GDB. The drawback of this approach is that GEF lacks specific kernel features. The upside is that there exists a fork of GEF that has already implemented some cool features. However they were never contributed back to the main project. At the time of writing the fork and the main project diverged quite a bit and just merging them together seems like it's never gonna work.

Describe the solution you'd like

To extend the debugger we could just reference the fork and contribute some features back to gef while rewriting others and creating new functionalities as well. This would benefit the whole ecosystem.

0xricksanchez commented 1 year ago

Easy additions would be to implement commands that allow for inspecting the kmalloc-caches or the kmem_cache_cpu structs easily...

0xricksanchez commented 1 year ago

Rel: #96