What I would need is some tool like Valgrind to check array bounds and such. Now I'm searching since days but couldn't find anything except GCCs own sanitizer.
So I added -fsanitize=address to the CFLAGS but that won't link:
Looks like a bug in devkitPro to me (as asan.h files are in place). Does anyone have the missing files or know any other way to do what I need?
So I added -fsanitize=address to the CFLAGS but that won't link:
Code:
/opt/devkitpro/devkitPPC/lib/gcc/powerpc-eabi/8.4.0/../../../../powerpc-eabi/bin/ld: cannot find -lasan
collect2: error: ld returned 1 exit status