Closed michaelskyf closed 1 year ago
In the 8ae88ad we can now control which method is dynamic or not. Now we just need to pass the flag from the UI to the module.
However it only works for the first dynamic method after an update of the FakerData. I think it might be solved by storing FakerData "versionID" and comparing it with the saved one? Anyway, the project is now on hold for about 3 weeks due to personal reasons.
However it only works for the first dynamic method after an update of the FakerData. I think it might be solved by storing FakerData "versionID" and comparing it with the saved one? Anyway, the project is now on hold for about 3 weeks due to personal reasons.
A fix should be a String -> Boolean,Json map in FakerData
Change of plans: All methods are updated dynamically from now on
At the moment every hooked method checks if FakerData was changed and reloads ALL hooked methods if it was. This is really slow (especially for enforcing SELinux) and should be replaced with a smarter approach which reloads the current executing hooked method.
TLDR; Hooked method must only reload itself if it is dynamically-reloadable and FakerData for that method has changed