Author Topic: Is gcc's 4.9 address sanitizer good for anything for ML?  (Read 2937 times)

Marsu42

  • Contributor
  • Hero Member
  • *****
  • Posts: 1557
  • 66d + flashes
Is gcc's 4.9 address sanitizer good for anything for ML?
« 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

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Is gcc's 4.9 address sanitizer good for anything for ML?
« Reply #1 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)
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!