Closed arifbalik closed 2 months ago
Hi Arif, unfortunately, Address Sanitizer and Memory Sanitizer do not support bare-metal configurations yet and they require a big redesign to make them work for microcontrollers, thus support is not expected any time soon.
I see, i managed to make it work with mocking on x86 but never tried on bare-metal. Thats too bad :/
I'm passing
-fsanitize=address
flag to my compiler and linker to debug my project. However I'm unable to link the project because the linker can not find the symbols for asanThis is my link command;
But again I get linking errors like;
ld.lld: error: undefined symbol: __asan_report_load2
Any help would be welcome