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
732 stars 29 forks source link

Matjin/fix address bug #145

Closed matjin closed 2 years ago

matjin commented 2 years ago

Addresses an issue in which we were applying an unnecessary load to parameters passed by reference. Tested: validated that issue appears on the following example before fix and disappears after fix.

image