tsan: allow to obtain code range for a particular module
this is required to ignore interceptors when called from the module