Support of address sanitizer in GCC ARM Embedded 4.9?
Asked by
Tamas Kleiber
Hi,
I have tried to enable the address sanitizer feature of GCC in Rlease GCC ARM Embedded 4.9 by adding the -fsanitize=address option to my build command.
I used a very simple "int main(){ return 0;}" C source file and the following command: "arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -Og main.c -lc -lnosys -fsanitize=
If I try to link in the static library version of libasan.a by adding the -static-libasan linker option I get the following error message: "arm-none-eabi-gcc: error: libsanitizer.spec: No such file or directory".
Does this mean that the address sanitizer feature is not supported?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Joey Ye
- Solved:
- Last query:
- Last reply:
To post a message you must log in.