Using -fsanitize=address & -fsanitize=leak for compiling Enclave code

Using -fsanitize=address & -fsanitize=leak for compiling Enclave code

Hi,

I always compile my regular C code with -fsanitize=address & -fsanitize=leak compiler options, because they are very useful for quickly fixing segmentation faults & invalid free() operations. However, I could not get these compilation options working for Enclave code. I wonder if the SGX team has no plan to include them into SGX..

 

 

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.