On 04/06/2016 06:34 PM, Chris Caudle wrote:
So is it possibly feasible to automate checking for
non-realtime safe
function use in plugin binaries?
Semi-automate. Yes, see jack-interposer [1] (also mentioned earlier in
this thread), just run the plugin in jalv or some simple jack host.
Also a good test is jack-demolition [2] feed a plugin or jack-app with
all kind of odd data (NaN, infinities, denormals) and see if it survives
(use with care to not kill your speakers).
I'm pretty confident it would not be
difficult to do with source, especially if you took the manual path of
finding the processing function by inspecting the code.
It can go deep though. There's Marc McCurry's Stoat - Realtime
Function Static Analysis [2] which aid analysis.
best,
robin
[1]
https://github.com/raboof/jack_interposer
[2]
http://plugin.org.uk/releases/jack-demolition/
[3]
https://github.com/fundamental/stoat