branchrust_reboot/main/pool_analyzer_non_caching_methodscancel
1 Hour Ago
Update Rust.CodeAnalyzer Brings an upgrade to the pool static analyzer, letting us mark certain methods as "non-caching" via .editorconfig - for example ClientRPC / ServerRPC are guaranteed to not cache or free pooled arguments. Doing so tells MissingFree to keep analyzing after calls to that method (instead of treating the pooled variable as escaped). This found 6 pool leaks which are also fixed in this commit (inside BasePlayer-Spectating, BasePlayer-MapInfo, DisplayingBoxStorage, GrowableEntity-Server, WireTool, IndustrialConveyor).