Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » External resources » Valgrind on Windows (How to setup Valgrind on Windows 10)
Valgrind on Windows [message #54440] Sun, 19 July 2020 20:50 Go to next message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello, today I found a quick tutorial on how to setup Valgrind for W10 using the Windows sub system for linux :

https://www.albertgao.xyz/2016/09/28/how-to-use-valgrind-on- windows/

I tested and it work Smile
Re: Valgrind on Windows [message #54441 is a reply to message #54440] Sun, 19 July 2020 21:58 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
We have a better (faster) alternative now.
It is called Clang/Gcc sanitizers.
They are not 100% identical to valgrind and do not replace it completely, but they are ~10 times faster ...


Regards,
Novo
Re: Valgrind on Windows [message #54442 is a reply to message #54441] Sun, 19 July 2020 23:49 Go to previous messageGo to next message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Hello Novo, good to know.
It is this one : https://clang.llvm.org/docs/AddressSanitizer.html#how-to-bui ld ?

[Updated on: Sun, 19 July 2020 23:49]

Report message to a moderator

Re: Valgrind on Windows [message #54443 is a reply to message #54442] Mon, 20 July 2020 15:17 Go to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
There is a whole bunch of them:
AddressSanitizer
ThreadSanitizer
MemorySanitizer
UndefinedBehaviorSanitizer
LeakSanitizer

There are also DataFlowSanitizer and SanitizerCoverage, but they are intended for tool developers.


Regards,
Novo
Previous Topic: Build a simple ActiveX control
Next Topic: Dear ImGui, bloat-free graphical user interface library for C++
Goto Forum:
  


Current Time: Thu Mar 28 17:43:40 CET 2024

Total time taken to generate the page: 0.01588 seconds