Aurimas FiĊĦeras aurimas@gmail.com writes:
But what about this and similar situations?
There's no single answer, each situation is different, you have to study the code flow to understand what can and cannot happen.
What should I do?
- change get_process_exe_module() to return LIST_ENTRY( ptr, struct process_dll, entry );
- change debugger.c:160 to if (exe_module && exe_module->file &&
- inspect list_head()?
- ignore it?
Ignore it, the process will always have a module at that point.