ELF binary. It thus considers functions and variables which are
defined and exported in the ELF sense.
+ * ``--kmi-whitelist | -kaw`` <*path-to-whitelist*>
+
+ When analyzing a Linux kernel binary, this option points to the
+ white list of names of ELF symbols of functions and variables
+ which ABI must be considered. That white list is called a "Kernel
+ Module Interface white list". This is because for the Kernel, we
+ don't talk about ``ABI``; we rather talk about the interface
+ between the Kernel and its module. Hence the term ``KMI`` rather
+ than ``ABI``.
+
+ Any other function or variable which ELF symbol are not present in
+ that white list will not be considered by this tool.
+
+ If this option is not provided -- thus if no white list is
+ provided -- then the entire KMI, that is, the set of all publicly
+ defined and exported functions and global variables by the Linux
+ Kernel binaries, is considered.
+
* ``--drop-private-types``
This option is to be used with the ``--headers-dir1`` and
"internal representation\n"
<< " --no-linux-kernel-mode don't consider the input binaries as "
"linux kernel binaries\n"
- << " --linux-kernel-abi-whitelist|--lkaw path to a "
+ << " --kmi-whitelist|-w path to a "
"linux kernel abi whitelist\n"
<< " --stat only display the diff stats\n"
<< " --symtabs only display the symbol tables of the corpora\n"
opts.headers_dir2 = argv[j];
++i;
}
- else if (!strcmp(argv[i], "--linux-kernel-abi-whitelist")
- || !strcmp(argv[i], "--lkaw"))
+ else if (!strcmp(argv[i], "--kmi-whitelist")
+ || !strcmp(argv[i], "-w"))
{
int j = i + 1;
if (j >= argc)