2 ms·
I tried to use some sanitizers but they seemed unavailable for my system. I am on MSYS2 with GCC 9.
by ilaksh 7y ago
I tried to use some sanitizers but they seemed unavailable for my system. I am on MSYS2 with GCC 9.
- KindOne 7y agoWhat about gdb?
- ilaksh 7y agoIs it possible to use gdb as a sanitizer or something? gdb usually works great for me but the backtraces and random crashes make me think it's actually some kind of memory corruption.
- throwaway8941 7y agoWindows has something resembling ASAN, you could try running your application with some/all checks enabled. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/application-verifier https://docs.microsoft.com/en-us/windows-hardware/drivers/de...
- ilaksh 7y agoYeah I tried that. Can't remember for sure if I was able to get it to work for my program or not but I think not.