Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: Marsu42 on April 23, 2014, 02:45:18 PM

Title: Is gcc's 4.9 address sanitizer good for anything for ML?
Post by: Marsu42 on April 23, 2014, 02:45:18 PM
I'm curious, but don't understand how ML interfaces with Canon and how much original memory management is in ML... gcc 4.9 now includes the address sanitizer for arm, is this useful for ML?

https://code.google.com/p/address-sanitizer/wiki/AddressSanitizer
http://gcc.gnu.org/gcc-4.9/changes.html
Title: Re: Is gcc's 4.9 address sanitizer good for anything for ML?
Post by: g3gg0 on April 23, 2014, 02:53:53 PM
hehe today i also looked deeper into a-/ubsan stuff.
i am not sure if it will catch really some bugs or just misinterprets some intended behavior.

although i wanted to test it on modules and maybe its good enough to make it obligatory there.

(but asan makes use of virtual memory what we dont have)