-fsanitize=undefined in a freestanding environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I would like to use asan in a freestanding environment. According to link errors, it should be enough to provide functions like:
__ubsan_handle_type_mismatch
__ubsan_handle_out_of_bounds
__ubsan_handle_sub_overflow
__ubsan_handle_add_overflow

etc.

Is there such an implementation somewhere? Or is it even possible to configure GCC to build the asan for a generic "elf" target? (just adding --enable-libsanitizer to configure does "nothing")

Thanks,
Zdenek



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux