Hi Igor,
On Mon, 5 Feb 2024 at 13:13, Igor Zhbanov izh1979@gmail.com wrote:
Hello,
In the configuration makefile mk/config.mk there are following lines:
# Enable support for detected undefined behavior in C # Uses a lot of memory, can't be enabled by default CFG_CORE_SANITIZE_UNDEFINED ?= n
I've read the sources of the conditionally compiled ubsan.c and, IIUC, how UBSAN is working (mostly by adding simple checks), I don't understand, why UBSAN is marked as using a lot of memory.
Is this comment still valid?
I don't know, but the latest info about USBSAN is that it fails to build on the master branch so I can't even try it and check the memory usage :-/
See https://github.com/OP-TEE/optee_os/issues/6463.