Some questions about PX4_FUZZ

Don’t PX4_FUZZ and PX4_ASAN coexist? When I also set PX4_FUZZ=1 and PX4_ASAN=1, I am not prompted that ASAN is enabled. I learned that the fuzz tester of PX4_FUZZ is Libfuzzer, so when it is compiled, can it be used in conjunction with AddressSanitizer (ASAN)? I changed -fsanitize=fuzzer in the elseif (CMAKE_BUILD_TYPE STREQUAL FuzzTesting) section in sanitizers.cmake to -fsanitize=fuzzer,address. But it seems to be unsuccessful, what should I do?

Uploading: 222222.png489ecd29284b714e270d0f781ecc59ed.png…

Hi there,
I am also facing with similar error.

could you try with sudo for PX4_ASAN=1
I mean ,

sudo PX4_ASAN=1 make px4_sitl_default jmavsim

From this command,
I confirmed the ASAN is enabled from the log,but other error occured : DEADLYSIGNAL

Just let me know, if it is possible.

If you just want to simply use PX4_ASAN, then your command should be fine. However, my purpose is to use LibFuzzer with ASAN based on PX4_FUZZ