Skip to Content
New release 12 available 🎉

Dynamic Proxy Filters

Babel Obfuscator provides the flexibility to specify a list of filters to restrict the generation of dynamic proxies to specific methods. This feature gives you fine-grained control over the dynamic proxy generation, allowing you to selectively apply proxies to specific method calls based on their names or other patterns defined by the regular expressions. It provides flexibility in determining which parts of your code should have their call flow obscured and protected.

The primary benefit of Dynamic Proxy Filters is improved performance. By selectively applying proxies only to the necessary methods, you can significantly reduce the overhead associated with dynamic proxy generation. Unnecessary method calls are excluded from proxying, resulting in faster execution and improved overall performance of your obfuscated application.

By leveraging Dynamic Proxy Filters effectively, you can strike a balance between obfuscation and performance. By carefully choosing the methods that require proxying, you can achieve a high level of security while minimizing any potential performance impact.

Dynamic Proxy Filters provide a valuable optimization tool within Babel Obfuscator, enabling you to fine-tune the proxy generation process to achieve the desired level of obfuscation while maintaining optimal performance.

Filters are regular expressions matched against the full name of the called method. You can set them on the command line by repeating the --proxy switch, through the DynamicProxyCallFilters MSBuild property, or with an XML rule — see Configuration.

babel myapp.exe --proxy ICollection.* --proxy IEnumerator.*
Last updated on