In the kernel, some functions are generated by macros. Currently, the tool is unable to detect such cases and when code in the function generated by a macro is changed, it detects the wrong function (above the function generated by macro). The detection should be changed to handle such cases. (Note: I am not sure if DiffKemp itself can compare such functions/macros directly).
Example can be seen here:
The content of BPF_CALL_3(bpf_get_stackid,... was changed, but the tool analysed __bpf_get_stackid function instead because of this problem.
In the kernel, some functions are generated by macros. Currently, the tool is unable to detect such cases and when code in the function generated by a macro is changed, it detects the wrong function (above the function generated by macro). The detection should be changed to handle such cases. (Note: I am not sure if DiffKemp itself can compare such functions/macros directly).
Example can be seen here:
The content of
BPF_CALL_3(bpf_get_stackid,...was changed, but the tool analysed__bpf_get_stackidfunction instead because of this problem.