paulgazz / kmax

A collection of analysis tools for Kconfig and Kbuild constraints.
42 stars 21 forks source link

Sourceline pc #90

Closed paulgazz closed 2 years ago

necipfazil commented 2 years ago

TODOs:

necipfazil commented 2 years ago

TODOs:

Low priority improvement ideas:

necipfazil commented 2 years ago

Decision needed for --include-mutex algo If none of the --include-mutex is satisfied, klocalizer outputs no config (ERROR: No satisfying configuration found.).

For example:

klocalizer -a x86_64 --include-mutex arch/x86/net/bpf_jit_comp32.o --include kernel/fork.o

Despite kernel/fork.o is built, since none of mutex is built, terminates with error.

Alternatives:

  1. Keep doing this (if none of mutex covered, fail)
  2. Fall down to old algorithm, excluding all mutex, search for an arch that satisfies all non-mutex constraints