Kuroda-san > InjectionPointDetach() > is implemented in the core, but the condition is controlled in the extension > side > thus it's opaque from the core.
As an alternative, could we let the test module supply a callback, similar to a hook, that checks whether an injection point may be detached? The callback would run under the same lock as the removal, keeping checks such as PID matching in the test module. However, this would still make the core API more complicated. Since I cannot think of another concrete use case, I am not sure the benefit justifies adding this mechanism. Would it nevertheless be worth considering as an alternative? Koshi Shibagaki FUJITSU LIMITED https://www.fujitsu.com/
