How kwinject works

kwinject creates an interception context and runs the specified build command in this environment, tracing compiler calls.