microsoft / infersharp

Infer# is an interprocedural and scalable static code analyzer for C#. Via the capabilities of Facebook's Infer, this tool detects null dereferences, resource leaks, and thread-safety violations. It also performs taint flow tracking to detect critical security vulnerabilities like SQL injections.
MIT License
727 stars 29 forks source link

Add System.String to IDisposableTenv #139

Closed matjin closed 2 years ago

matjin commented 2 years ago

This PR adds System.String to the pre-loaded type environment. This is necessary in order for modeled methods like String.IsNullOrWhitespace or String.IsNullOrEmpty to be interpreted.