Linux Kernel

Mapping the Linux kernel call graph - including indirect calls

Mapping the Linux kernel call graph - including indirect calls

Who calls vfs_read(), and what does it call? For direct calls a grep or cscope gives a rough answer. But a large part of the kernel’s control flow goes through function pointers: file_operations, net_device_ops, work items, timers, tracepoints, LSM hooks. Text-based tools stop at file->f_op->read(...). Safety arguments, patch-impact analysis and CRA vulnerability assessments still need the full answer.

Read More