├── .gitignore ├── .gitmodules ├── LICENSE ├── LeakSanitizer.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcshareddata │ └── xcschemes │ ├── LeakSanitizer.xcscheme │ └── LeakSanitizer_make.xcscheme ├── Makefile ├── README.md ├── documentation ├── Behaviour.md ├── Signal-handlers.md ├── Suppressions.md └── images │ ├── dark │ ├── SIGUSR1.png │ ├── SIGUSR2.png │ ├── leak-example-fedora.png │ ├── leak-example.png │ └── segfault.png │ └── light │ ├── SIGUSR1.png │ ├── SIGUSR2.png │ ├── leak-example-fedora.png │ ├── leak-example.png │ └── segfault.png ├── include ├── deprecation.h ├── lsan_internals.h └── lsan_stats.h ├── publishNotices └── README.txt ├── src ├── LeakSani.cpp ├── LeakSani.hpp ├── LeakType.hpp ├── MallocInfo.cpp ├── MallocInfo.hpp ├── ThreadInfo.cpp ├── ThreadInfo.hpp ├── allocators │ ├── ObjectPool.cpp │ ├── ObjectPool.hpp │ ├── PoolAllocator.cpp │ ├── PoolAllocator.hpp │ └── RealAllocator.hpp ├── behaviour │ ├── Behaviour.hpp │ └── helper.hpp ├── bytePrinter.cpp ├── bytePrinter.hpp ├── callstacks │ ├── callstackHelper.cpp │ └── callstackHelper.hpp ├── crashWarner │ ├── crash.hpp │ ├── crashOrWarn.hpp │ ├── crashWarner.cpp │ ├── exceptionHandler.cpp │ ├── exceptionHandler.hpp │ └── warn.hpp ├── formatter.hpp ├── helpers │ └── LeakKindStats.hpp ├── lsanMisc.cpp ├── lsanMisc.hpp ├── lsan_internals.cpp ├── objcSupport.hpp ├── signals │ ├── signalHandlers.cpp │ ├── signalHandlers.hpp │ ├── signals.cpp │ └── signals.hpp ├── statistics │ ├── AutoStats.cpp │ ├── Stats.cpp │ ├── Stats.hpp │ └── lsan_stats.cpp ├── suppression │ ├── FunctionNotFoundException.hpp │ ├── Suppression.cpp │ ├── Suppression.hpp │ ├── defaultSuppression.cpp │ ├── defaultSuppression.hpp │ ├── firstPartyLibrary.cpp │ └── firstPartyLibrary.hpp ├── timing.cpp ├── timing.hpp ├── trackers │ ├── ATracker.hpp │ ├── PseudoTracker.hpp │ ├── TLSTracker.cpp │ └── TLSTracker.hpp ├── utils.hpp └── wrappers │ ├── interpose.hpp │ ├── misc.cpp │ ├── realAlloc.hpp │ └── wrap_malloc.cpp └── suppressions ├── linux ├── core.json └── systemLibraries.json ├── macos ├── AppKit.json ├── core.json ├── systemLibraries.json └── tlv.json └── schema.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/LICENSE -------------------------------------------------------------------------------- /LeakSanitizer.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/LeakSanitizer.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /LeakSanitizer.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/LeakSanitizer.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /LeakSanitizer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/LeakSanitizer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /LeakSanitizer.xcodeproj/xcshareddata/xcschemes/LeakSanitizer.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/LeakSanitizer.xcodeproj/xcshareddata/xcschemes/LeakSanitizer.xcscheme -------------------------------------------------------------------------------- /LeakSanitizer.xcodeproj/xcshareddata/xcschemes/LeakSanitizer_make.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/LeakSanitizer.xcodeproj/xcshareddata/xcschemes/LeakSanitizer_make.xcscheme -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/README.md -------------------------------------------------------------------------------- /documentation/Behaviour.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/Behaviour.md -------------------------------------------------------------------------------- /documentation/Signal-handlers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/Signal-handlers.md -------------------------------------------------------------------------------- /documentation/Suppressions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/Suppressions.md -------------------------------------------------------------------------------- /documentation/images/dark/SIGUSR1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/dark/SIGUSR1.png -------------------------------------------------------------------------------- /documentation/images/dark/SIGUSR2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/dark/SIGUSR2.png -------------------------------------------------------------------------------- /documentation/images/dark/leak-example-fedora.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/dark/leak-example-fedora.png -------------------------------------------------------------------------------- /documentation/images/dark/leak-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/dark/leak-example.png -------------------------------------------------------------------------------- /documentation/images/dark/segfault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/dark/segfault.png -------------------------------------------------------------------------------- /documentation/images/light/SIGUSR1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/light/SIGUSR1.png -------------------------------------------------------------------------------- /documentation/images/light/SIGUSR2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/light/SIGUSR2.png -------------------------------------------------------------------------------- /documentation/images/light/leak-example-fedora.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/light/leak-example-fedora.png -------------------------------------------------------------------------------- /documentation/images/light/leak-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/light/leak-example.png -------------------------------------------------------------------------------- /documentation/images/light/segfault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/documentation/images/light/segfault.png -------------------------------------------------------------------------------- /include/deprecation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/include/deprecation.h -------------------------------------------------------------------------------- /include/lsan_internals.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/include/lsan_internals.h -------------------------------------------------------------------------------- /include/lsan_stats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/include/lsan_stats.h -------------------------------------------------------------------------------- /publishNotices/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/publishNotices/README.txt -------------------------------------------------------------------------------- /src/LeakSani.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/LeakSani.cpp -------------------------------------------------------------------------------- /src/LeakSani.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/LeakSani.hpp -------------------------------------------------------------------------------- /src/LeakType.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/LeakType.hpp -------------------------------------------------------------------------------- /src/MallocInfo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/MallocInfo.cpp -------------------------------------------------------------------------------- /src/MallocInfo.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/MallocInfo.hpp -------------------------------------------------------------------------------- /src/ThreadInfo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/ThreadInfo.cpp -------------------------------------------------------------------------------- /src/ThreadInfo.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/ThreadInfo.hpp -------------------------------------------------------------------------------- /src/allocators/ObjectPool.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/allocators/ObjectPool.cpp -------------------------------------------------------------------------------- /src/allocators/ObjectPool.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/allocators/ObjectPool.hpp -------------------------------------------------------------------------------- /src/allocators/PoolAllocator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/allocators/PoolAllocator.cpp -------------------------------------------------------------------------------- /src/allocators/PoolAllocator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/allocators/PoolAllocator.hpp -------------------------------------------------------------------------------- /src/allocators/RealAllocator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/allocators/RealAllocator.hpp -------------------------------------------------------------------------------- /src/behaviour/Behaviour.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/behaviour/Behaviour.hpp -------------------------------------------------------------------------------- /src/behaviour/helper.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/behaviour/helper.hpp -------------------------------------------------------------------------------- /src/bytePrinter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/bytePrinter.cpp -------------------------------------------------------------------------------- /src/bytePrinter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/bytePrinter.hpp -------------------------------------------------------------------------------- /src/callstacks/callstackHelper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/callstacks/callstackHelper.cpp -------------------------------------------------------------------------------- /src/callstacks/callstackHelper.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/callstacks/callstackHelper.hpp -------------------------------------------------------------------------------- /src/crashWarner/crash.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/crashWarner/crash.hpp -------------------------------------------------------------------------------- /src/crashWarner/crashOrWarn.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/crashWarner/crashOrWarn.hpp -------------------------------------------------------------------------------- /src/crashWarner/crashWarner.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/crashWarner/crashWarner.cpp -------------------------------------------------------------------------------- /src/crashWarner/exceptionHandler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/crashWarner/exceptionHandler.cpp -------------------------------------------------------------------------------- /src/crashWarner/exceptionHandler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/crashWarner/exceptionHandler.hpp -------------------------------------------------------------------------------- /src/crashWarner/warn.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/crashWarner/warn.hpp -------------------------------------------------------------------------------- /src/formatter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/formatter.hpp -------------------------------------------------------------------------------- /src/helpers/LeakKindStats.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/helpers/LeakKindStats.hpp -------------------------------------------------------------------------------- /src/lsanMisc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/lsanMisc.cpp -------------------------------------------------------------------------------- /src/lsanMisc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/lsanMisc.hpp -------------------------------------------------------------------------------- /src/lsan_internals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/lsan_internals.cpp -------------------------------------------------------------------------------- /src/objcSupport.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/objcSupport.hpp -------------------------------------------------------------------------------- /src/signals/signalHandlers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/signals/signalHandlers.cpp -------------------------------------------------------------------------------- /src/signals/signalHandlers.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/signals/signalHandlers.hpp -------------------------------------------------------------------------------- /src/signals/signals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/signals/signals.cpp -------------------------------------------------------------------------------- /src/signals/signals.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/signals/signals.hpp -------------------------------------------------------------------------------- /src/statistics/AutoStats.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/statistics/AutoStats.cpp -------------------------------------------------------------------------------- /src/statistics/Stats.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/statistics/Stats.cpp -------------------------------------------------------------------------------- /src/statistics/Stats.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/statistics/Stats.hpp -------------------------------------------------------------------------------- /src/statistics/lsan_stats.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/statistics/lsan_stats.cpp -------------------------------------------------------------------------------- /src/suppression/FunctionNotFoundException.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/suppression/FunctionNotFoundException.hpp -------------------------------------------------------------------------------- /src/suppression/Suppression.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/suppression/Suppression.cpp -------------------------------------------------------------------------------- /src/suppression/Suppression.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/suppression/Suppression.hpp -------------------------------------------------------------------------------- /src/suppression/defaultSuppression.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/suppression/defaultSuppression.cpp -------------------------------------------------------------------------------- /src/suppression/defaultSuppression.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/suppression/defaultSuppression.hpp -------------------------------------------------------------------------------- /src/suppression/firstPartyLibrary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/suppression/firstPartyLibrary.cpp -------------------------------------------------------------------------------- /src/suppression/firstPartyLibrary.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/suppression/firstPartyLibrary.hpp -------------------------------------------------------------------------------- /src/timing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/timing.cpp -------------------------------------------------------------------------------- /src/timing.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/timing.hpp -------------------------------------------------------------------------------- /src/trackers/ATracker.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/trackers/ATracker.hpp -------------------------------------------------------------------------------- /src/trackers/PseudoTracker.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/trackers/PseudoTracker.hpp -------------------------------------------------------------------------------- /src/trackers/TLSTracker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/trackers/TLSTracker.cpp -------------------------------------------------------------------------------- /src/trackers/TLSTracker.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/trackers/TLSTracker.hpp -------------------------------------------------------------------------------- /src/utils.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/utils.hpp -------------------------------------------------------------------------------- /src/wrappers/interpose.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/wrappers/interpose.hpp -------------------------------------------------------------------------------- /src/wrappers/misc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/wrappers/misc.cpp -------------------------------------------------------------------------------- /src/wrappers/realAlloc.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/wrappers/realAlloc.hpp -------------------------------------------------------------------------------- /src/wrappers/wrap_malloc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/src/wrappers/wrap_malloc.cpp -------------------------------------------------------------------------------- /suppressions/linux/core.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/suppressions/linux/core.json -------------------------------------------------------------------------------- /suppressions/linux/systemLibraries.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/suppressions/linux/systemLibraries.json -------------------------------------------------------------------------------- /suppressions/macos/AppKit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/suppressions/macos/AppKit.json -------------------------------------------------------------------------------- /suppressions/macos/core.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/suppressions/macos/core.json -------------------------------------------------------------------------------- /suppressions/macos/systemLibraries.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/suppressions/macos/systemLibraries.json -------------------------------------------------------------------------------- /suppressions/macos/tlv.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/suppressions/macos/tlv.json -------------------------------------------------------------------------------- /suppressions/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhahnFr/LeakSanitizer/HEAD/suppressions/schema.json --------------------------------------------------------------------------------