I am trying to debug MMAP with kprobe but I dont know how to set break points inside MMAP. In my lib/modules there I searched but could not find that resembles mmap containing module. how can I debug mmap with kprobe so I need object file of the routine.
I just need to set breakpoints at different locations. So I could use radare2 for this to view the assembly and check the memory locations which I will specify in KProbe module that will be injected in MMAP function in the routine containing MMAP function, for debugging it.
2.1m questions
2.1m answers
60 comments
57.0k users