This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 1530e04f20 ostest: Enabled KASAN, UBSAN & assertions. 1530e04f20 is described below commit 1530e04f2029601e9c0653736853a4758d5c0146 Author: Fotis Panagiotopoulos <f.j.pa...@gmail.com> AuthorDate: Wed Apr 5 21:07:22 2023 +0300 ostest: Enabled KASAN, UBSAN & assertions. --- boards/sim/sim/sim/configs/ostest/defconfig | 5 +++++ tools/ci/testlist/sim-02.dat | 3 +++ 2 files changed, 8 insertions(+) diff --git a/boards/sim/sim/sim/configs/ostest/defconfig b/boards/sim/sim/sim/configs/ostest/defconfig index 37312520c3..8b2959cb55 100644 --- a/boards/sim/sim/sim/configs/ostest/defconfig +++ b/boards/sim/sim/sim/configs/ostest/defconfig @@ -14,10 +14,15 @@ CONFIG_BOARDCTL=y CONFIG_BOARDCTL_POWEROFF=y CONFIG_BOARD_LOOPSPERMSEC=100 CONFIG_CANCELLATION_POINTS=y +CONFIG_DEBUG_ASSERTIONS=y +CONFIG_DEBUG_FEATURES=y CONFIG_DEBUG_SYMBOLS=y CONFIG_FS_NAMED_SEMAPHORES=y CONFIG_IDLETHREAD_STACKSIZE=4096 CONFIG_INIT_ENTRYPOINT="ostest_main" +CONFIG_MM_KASAN=y +CONFIG_MM_UBSAN=y +CONFIG_MM_UBSAN_TRAP_ON_ERROR=y CONFIG_PTHREAD_CLEANUP=y CONFIG_PTHREAD_CLEANUP_STACKSIZE=3 CONFIG_PTHREAD_MUTEX_TYPES=y diff --git a/tools/ci/testlist/sim-02.dat b/tools/ci/testlist/sim-02.dat index 28b3e693fd..c47ec022f9 100644 --- a/tools/ci/testlist/sim-02.dat +++ b/tools/ci/testlist/sim-02.dat @@ -6,6 +6,9 @@ -Darwin,sim:rpserver -Darwin,sim:sotest32 +# clang doesn't -fsanitize=kernel-address +-Darwin,sim:ostest + # macOS doesn't support --wrap flag # ld: unknown option: --wrap -Darwin,sim:segger